on 05-20-2009 4:09 AM
Hi,
Currently in US certificate of origin, it doesnt display item number in item details.
Sapscript: SD_EXPORT_FUCO
FunctionPool: SAPLV55E
Include Name: LV55EF24
I had copied SD_EXPORT_FUCO into ZSD_EXPORT_FUCO and added V55ENAFT-POSNR to display item number but there is no value in that field.
In the standard sap Function Pool(SAPLV55E) and Include(LV55EF24),
this
* PERFORM GET_ITEM_NUMBER_NAFT. "Item number
* PERFORM FILL_ITEM_NUMBER_NAFT. "Item number
were commented. I guess this is the reason why V55ENAFT-POSNR is empty.
Is there any other field that i can used to display item number in that sapscript?
Appreciate advice.
Cheers!
Hi,
Just a suggestion, you can write a perform in the SAP script since you made a Z copy of it. Write the code for fetching the POSNR in the subroutine program. You could take help of the select query from where to fetch the data from that perform that is commented in the SAP programs.
In the script:
/: PERFORM GET_POSNR IN PROGRAM Z_GET_POSNR
/: USING // parameters to pass
/: CHANGING // parameters to return back
In the program Z_GET_POSNR
FORM GET_POSNR TABLES IT_INTAB STRUCTURE ITCSY IT_OUTTAB STRUCTURE ITCSY
Write code to fetch POSNR
Pass the value back to the script
ENDFORM
IT_INTAB and IT_OUTTAB have fields NAME and VALUE.
Thanks and Regards,
Vanessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.