cancel
Showing results for 
Search instead for 
Did you mean: 

Display item number in US certificate of origin

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

former_member609120
Contributor
0 Kudos

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

Answers (0)