on 07-20-2007 2:07 PM
Dear All,
My requirement is to design a smart form for shipping notification (VT02).
One of the field mappings for the form fields is 'Staging Lane'(sap field ADDR1_DATA-NAME2).
Does the standard program retrieve this data, so that I can pass this to the smart form directly?
The logic mentioned in the requirement against this field is the following:
"Need to read the NAME2 from the storage location on the Stock transfer order which is the reference document for Delivery.
Take the first item and use the SLOC from it. You can use LIPS-VGBEL for STO# and LIPS-VGPO for item #.
Input will be delivery item. once you find the STO read EKPO-LGORT for sloc."
Do I need to write this code to retrieve the storage location address or the print program RVADTR00 takes care of that?
Thanks.
Hi
I think the std program may not be using the logic mentioned by you to fetch the storage location
"Need to read the NAME2 from the storage location on the Stock transfer order which is the reference document for Delivery.
Take the first item and use the SLOC from it. You can use LIPS-VGBEL for STO# and LIPS-VGPO for item #.
Input will be delivery item. once you find the STO read EKPO-LGORT for sloc."
So better create the PROGRAM LINES in the related window and write the code to fetch the storage location as per the above logic
and fetch the address details(ADRNR) of storage location from T001L table and fetch the required field from the ADRC table and display
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Don't worry if the standard program does not retrive the data. Create <b>program lines</b> in your smartform and retrive the required data.
Reward if useful.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just put a break-point in the program and run the transaction to see the output, then the Break-point will strop the control, there look at the Address table whether this field is coming in the related Structure, i think it should com ein one of the structure in the SAP Driver program, if this is not coming then you can write the PERFORM in the Script and get the NAME2 field easily from the address table
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.