cancel
Showing results for 
Search instead for 
Did you mean: 

how to print company address in payment advice

0 Kudos

i have to print company address according to company code in sap script of payment advice

in whiich i use tables as t001 and adrc

so how to add code (in which include ??) in rffous_c program and retrive it in sap script...

Regards,

Vikram salvi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Use T001-BUKRS -- company code and BUtxt for Description...

from REGUH-ZBUKR for paying and ABSBU for Sending .. all u have check in the form these fields and write PERFORM ENDPERFORM using these fields and get the value from the T001 table and print..

/: PERFORM <form> IN PROGRAM <prog>

/: USING &INVAR1&

/: USING &INVAR2&

......

/: CHANGING &OUTVAR1&

/: CHANGING &OUTVAR2&

......

/: ENDPERFORM

I hope you know how to write subroutines in Sap Scripts..else use this link

http://wiki.sdn.sap.com/wiki/display/Snippets/Callingasub-routineinSAP+scripts?focusedCommentId=15269891#comment-15269891

surya

Answers (0)