cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SCRIPT- How to print item text for a Purchase order

Former Member
0 Kudos

Hi,

I would like to know the procedure or the code to print the item text in the item line of the purchase order. (Let me know the logic for printing)

Arjun

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Are you talking about the printing of std item texts of PO that are maintained in the PO itself? or you have to create a std text in SO10 and to print that.

Anyhow every text will have the 4 paramters like OBJECT, OBJECTNAME,ID and LANGUAGE

by using this we call in script using INCLUDE command

You can create your own texts in SO10 and also can call in script using INCLUDE statement like

/: INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX

Regards

ANJI

Former Member
0 Kudos

You just create the main window and print(I mean mention the fields in the editor) the fields that are required for output. These fields you will get from Print program using text elements.

Reward points if useful

Regards,

Nageswar

Former Member
0 Kudos

Hi ,

Fill that item text as seperate field in item table by looping that item table and try to print it.

Reward points if helpful

Thanks,

suma.