on 05-18-2007 3:41 PM
Hello All,
I am new to sapscripts and I would be greatly helpful if someone can give me the answers for the following questions:
How the same Print program can be used for two different layouts?
How will the program determine which Layout to use?
How does the program determine which elements should be populated?
Thanks,
Suji
Message was edited by:
Subashini Bhaskar rao
Hi Subashini,
Regarding which program laoyut will use is done through nace transaction
1)Select Application Type(Billing, Purchase Order..any of those) .
2)Click on Output types button.
3)Go to change mode by pressing Ctrl+F4.
4)Select one output type which already exists
5)Do CopyAs(F6)
6)Give your output type against OutputType field.
7)Under General data Tab, Give Program and Form routine and Save the data.
Generally assigning the layout is done by the functional consultants,We abap consultants should not worry about it.
About your thjird question-:
In the driver(or print prgram) we use write _form call function
In this function call you need to mention the window name you need to process.
Then you need to mention the elements which you have declared in that window.
Only those windows & elements you are mentioning in the function will get printed in the finally out put irrespective of the actual no of windows and elements one has declrd in the original sap script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.