on 09-26-2009 1:35 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.