on 01-15-2010 1:22 AM
Hi friends,
I have a requirement to modify the Standard PO script (MEDRUCK) and also the associated driver program. I have designed the layout but how to create the custom driver program for this . THe new form has to trigger print command is issued from ME21n/ME22n/ME23n.
If somebody has a sample code for the custom driver program, can u please forward it to me....
Thanks in advance
Hi
You have modified sapscript (medruck) and now you want to change your print program or you want to use the same one.
Either of the cases, just assign your form name and print program name to one output type in nace transaction with printout as transmission medium.
Goto nace tcode:
select Application (EF) - purchase order
click on output types button.
ask your functional consultant to create one output type against 'EF'.
then assign your form name and print program to the output type with transmission medium as '1' (print output)
now, you can print your form output thru me21/me22/me23 transaction.
hope you got the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all thanks for the reply,
but the issue I'm facing is with the print program, the print program has to be developed from the scratch because even the form has been developed from the scratch by me....Now how to get the value of the PO from which print command has been issued in the print program??
Yes, as you said it is better to copy the std. But can u tell me how to proceed if I'm going to develop it from the scatch...bcoz that is what is my requirement.
While developing the print prog. the problem I'm facing is fetching the data because , how would I know from which purchase Order the print command is issued because I need to get data for that PO only??
I heard that it comes through NAST table....I'm still not sure
Hi,
What you heard is rite. The runtime data will be hold in NAST record. The objectkey is the field that holds the PO number.
If you go through the standard print program you will understand what FMs are needed to fetch the required data.Then you implement the same in the custom program.
Regards,
Aditya
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.