on 09-10-2007 7:52 AM
Hello Experts,
We have a custom SAP script for PO copied from MEDRUCK and modified.
This single PO script is used for many sales org and division for many years.
Now, I have to add Approved Manufacturers Part List and AML data in the custom script which is part of standard script coz for the project I am working on, there is a functionality using AML and AMPL. Can anybody suggest me how to copy from standard PO to custom PO script? I am new to SAP script. Any examples are helpful.
Thanks
Ricky
GOTO SE71, from menu... utilities--> copy from client
Give,
form name : MEDRUCK
Source client :000
Target form Z_MEDRUCK
Execute
Give your package name and save.
Note:If any question related to this you can ask me.. if related to something else open new thread with clear subject line .. so it helps others to give you valuable info.
CLose the thread if your question is answered. Reward points to all useful answers.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not what I was looking for. I know how to copy the form to custom form.
I want to know how to copy the elements 'ITEM_LIST_MPNHEADER' and 'ITEM_LIST_MPNLISTLINE' with the variables from MEDRUCK to ZMEDRUCK and then write the logic in the driver program to populate the values for the V_HTNM-MFRPN, V_HTNM-ERMNR, V_HTNM-MNFR. These are manufacturer related details available in the standard form MEDRUCK.
Again, I am new to SAP script. A detailed explanation with some examples expecting.
Thanks
Ricky
You can always get the values that are not in your scope, i.e if driver program is not in your control by calling sub-routines inside your scripts.
Go through this example
Ex.
/: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
/:USING &<field name>&
/:CHANGING &<field name1&
/:ENDPERFORM
Then create subroutine pool program and you have to write the code.
FORM ><subroutine name> tables int_cond structure itcsy
outt_cond structure itcsy.
data : value(20), value1(20). "do your own declarations
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
Just rough idea given above.
Regards,
Sairam
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.