cancel
Showing results for 
Search instead for 
Did you mean: 

RFQ header text in Sapscripts

Former Member
0 Kudos

I have copied MEDRUCK sapscripts to ZMEDRUCK and I have a requirement to print some rfq header text. I have got the Text ID (A01), Text name (600000022), Text Object (EKKO).

What is the syntax to print this header text using a INCLUDE statement ? I have to print the heading and the contents of this text object. Can I get some examples ?

Also, the heading should not print if the text is blank.

Thanks.

Edited by: NewComer on Dec 27, 2007 6:06 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Use this command.

INCLUDE &T024E-TXFUS& OBJECT TEXT ID ST LANGUAGE &EKKO-SPRAS& PARAGRAPH

-Pavan

Former Member
0 Kudos

The requirement is NOT to print the heading if the contents of the text is empty. I guess this will not work with the INCLUDE statement.

I have used the READ_TEXT function in the print program and getting the text into a internal table. Can someone send me examples of how to send this data to the form (I'm new to sapscripts) ?

Former Member
0 Kudos

Check these threads. U have sample code.

Regards,

Maha

Former Member
0 Kudos

Both the above examples show how to get the long text in the print program. I am using READ_TEXT function to get the data in an internal table. I have been able to get until that part.

How do I send this to Sapscript -there can be multiple lines of data.