on 09-10-2009 5:30 PM
Hi,
I am customizing a standard form (f110_prenum_chck) into a custom form where I need to get the vendor information below the check with date of the document,type,reference,original amount,balance due,discount and the final payment amount. There is another window with the same data for a customer retain copy.I can find the fields in regup,reguh,regud tables except the final payment amount field. I think it needs to be calculated. As I cannot do the coding in SAP script, how can I do this? and if a vendor has 2 documents then one line item is been printed in the main window and the second one is falling under the customer copy window, but I need both the line items in both the windows as one is a vendor copy and the other one is a customer copy.
Please help me with this situation
Regards,
Kiran
Hi Kiran,
you can actually do coding in sap script.
Syntax:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &VAR1&
/: USING &VAR2&
......
/: CHANGING &OUTVAR1&
......
/: ENDPERFORM
The perform called via the command line stated is to be defined must be defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
YOUR CODE...
OUT_TAB STRUCTURE ITCSY.
...
ENDFORM.
the variables var1 and var2 are stored in the internal table IN_TAB
The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement.
for the 2nd part:
define two different pages..one for customer another for vendor....
print all the line items in customer page format.....
aftre u have finished printing for customer....use explicit page break to vendor page(format for vendor copy)..and reprint all the line items agaain.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for the 2nd part what is ur exact requirement??
You want a vendor copy and a customer copy. Probably you have two different headings one for vendor and the other for customer. what i meant that after you have printed both of the line items for customer (..suppose) you use a explicit page break and print the vendor copy page.
for this requirement where you want a vendor copy and a customer copy...
OR see this post
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.