SAP Adobe Interactive Form Tutorial. Part VIII. Displaying Include Texts in Adobe forms

SAP ABAP Training
Share on Facebook11Share on LinkedIn0Tweet about this on TwitterShare on Google+0
Please Share!!

In our previous post on Adobe Form, we discussed how to print Text Modules in Adobe. Smartforms is the transaction to create and save Text Modules. Today we would look into another cousin of Text Module i.e Include Text. I prefer to call this Include Text as Standard Texts. They can be created and saved in transaction SO10.

Let us create the Form Interface using Transaction Code SFP. Enter the Interface name and Create (Interface is mandatory for Adobe form).

SO10

Enter the required short description and Save.

SO10 transaction

Enter the Package name and Save.

SAP ABAP Training
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.

Free Adobe Training

Save, Check and Activate the Interface.

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 IV_LANG Field from Interface to Context

Go to context. Right click on the YRAM_ADOBE_FORM6 under the context and create a TEXT.

Select the drop down. You can see 3 options:
1. Text Module
2. Include text
3. Dynamic text

We have already discussed Text Module in our previous article. Today we will talk about Include Text.
Include Texts are nothing but Standard Texts. Go to Transaction SO10 for Include Text.

Create texts in required languages: English

Press on Create. Enter the required text in English and Save it.

Let us save some text in another language: German.

language translation

Press on Create. Enter the required text in German and Save it.

You can create in all available languages and use them.
Right click on the YRAM_ADOBE_FORM8 under the context and create a Text (or modify the Text created above)
Select the TEXT and double click. Change the text type to Include Text and hit Enter.

Enter the details like below
Name: TEXT_FROM_SO10
Text Name: ‘YRAM_TEXT1’
Text Language: IV_LANGU
No error if text not available = Check the box.

Save .
Go to Layout. Go to Data View Select TEXT_FROM_SO10, drag and drop to Layout.

Save and activate the form.

Let us design the Driver program for the above form.

If your client has roll outs in two different countries with two different languages. Based on the log on language of the SAP system, the form should print the output in that language. Include/Standard Text helps in such translations.

The IV_LANGU field of the form should ideally be populated dynamically in real projects. But for our test, we would input them as our selection screen parameter.

Test 1 :
Run the Program : YRAM_ADOBE_FORM_PROGRAM8
Enter the Language as ‘EN’.

Press on Print preview

Test 2 :
Run the Program : YRAM_ADOBE_FORM_PROGRAM8
Enter the Language as ‘DE’.

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

 

Share on Facebook11Share on LinkedIn0Tweet about this on TwitterShare on Google+0
Please Share!!

About the Author

Ram Daruru
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 HANA. 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 him on LinkedIn.

Be the first to comment on "SAP Adobe Interactive Form Tutorial. Part VIII. Displaying Include Texts in Adobe forms"

Leave a comment

Your email address will not be published.


*