Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

invoice SAP SCRIPT is not printing Customer master text.

I was given a SD-invoice# XXXXXXXXX, which has problem with in it's SAP SCRIPT --> is the text is taken from "customer master data head office text" is not printed on the SCRIPT out put.

1). What I don't understand by going to /nvf03 --> by giving invoice number , then how can I view the script output ?

The text is supposed to print in footer ...however the coding inthe FOOTER window is

/: INCLUDE 'Z_FOOTER_SO_4700_INV' OBJECT TEXT ID ADRS LANGUAGE 'IT'

So, do I need to add coing for text of customer master data ?

Any idea about text and field name ?

THANKS IN ADVANCE.

replied

All you need to do is add an INCLUDE line with the appropriate details to the SAPScript.

/: INCLUDE &NAME& OBJECT &OBJECT& ID &ID& LANGUAGE &LANGUAGE&

When you went to Goto -> Header you would have got NAME, LANGUAGE, ID and OBJECT. NAME would change depending on customer. You need to determine who 'customer' is:

VBDKR-KUNAG = Sold-to party

VBDKR-KUNRE = Bill-to party

VBDKR-KUNRG = Payer

So

/: INCLUDE &VBDKR-KUNAG& OBJECT 'KNA1' ID '0002' LANGUAGE 'EN'

would cause the English Shipping instructions for sold-to party to print.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question