SAP Adobe Interactive Form Tutorial. Part IX. Displaying Dynamic Text in Adobe Forms

Share on Facebook13Share on LinkedIn1Tweet about this on TwitterShare on Google+1
Please Share!!

Contributed by: Ram Daruru, Cibersites India Pvt Ltd., Bengaluru, India

We have already learned how to display Text Modules (t-code Smartforms) and Include Texts (t-code SO10) in SAP Adobe Forms. While playing around with the text types, we see three types in drop down. Today we would devote our page to the third text type i.e. Dynamic Text. Depending upon your Business need and scenarios, you can decide which text type to use.

Transaction Code: SFP.

Enter the Interface name and Create (Interface is mandatory for Adobe form).

Enter the required short description and Save.

Enter the Package name and Save.

Let us add our own custom Parameter Name. Select the Import option under Form Interface (left side) and press the Create button (right side) to add an Importing Parameter.

TSFTEXT is the Table Type can be used to display the dynamic text in Adobe form.

TLINE is the structure included in Table type TSFTEXT.

Let us add our own custom Parameter Name. Select the Import option under Form Interface (left side) and press the Create button (right side) to add an Importing Parameter.

Save, Check and Activate the Interface.

Also Read: New to SAPUI5? Create your first SAPUI5 in WebIDE.

Go to back SFP Transaction main screen. Create the form.

Press on create button. Provide the short description and Interface name which you have created earlier.

Enter the Package name and Save.

Drag IT_TSFTEXT Table from Interface to Context

Go to Context. Right click on the YRAM_ADOBE_FORM9 under the context and create a text

Select the Text Type drop down.

You can see 3 options:

  1. Text Module
  2. Include text
  3. Dynamic text

We have already discussed text module and Include text in our previous posts, now we will dis out Dynamic text.

Right click on the YRAM_ADOBE_FORM9 under the context and create a text. Select the TEXT and double click. Change the text type to Dynamic text and Enter. Enter the details like below

Save and go to Layout. Insert a Text and increase the size as per your requirement.

Map your TEXT to floating field {TextField}.

Save and activate the form.

Also Read: Configure and Implement two Fiori Apps End to End

Let us execute this Form and see the output. Press on Test Button (F8).

Enter the text in to IT_TSFTEXT.

Press on Insert  data  button.

Execute. Press on Print Preview.

 

If you GENUINELY like our articles then it would be a HUGE help if you subscribed and liked us on facebook. It might seem insignificant, but it helps more than you might think.

Thank you very much for your time!!

Popular Tutorials in SAPYard

1. ABAP for SAP HANA Tutorials
2. ABAP Web Dynpro Tutorials
3. GOS Tutorial
4. OOPs ABAP Tutorial
5. HANA Tutorial
6. SAP Netweaver and OData Tutorial
7. SAP Adobe Form Tutorial
8. SAP Fiori Tutorial
9. SAPUI5 Tutorial
10. SAP Screen Personas Tutorials

About the author: Ram Daruru
Ram is a senior SAP Technical Consultant. He has more than 6 years of experience in SAP ABAP. He is also trained in SAP PI. Ram provides training in the area of SAP ABAP in various institutes in Bangalore and also takes Online sessions.

In his leisure, Ram likes to play billiards, play and follow cricket. He is also a vivid reader.

Find more about Ram Daruru at LinkedIn.

 

Share on Facebook13Share on LinkedIn1Tweet about this on TwitterShare on Google+1
Please Share!!