Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 9169

Packaging data not populated in customs declaration

$
0
0

Hi all,

 

I'm creating Pro-forma invoice in ECC and as a result Custom Declaration is getting created in GTS. In GTS the Packaging data in item level is coming as empty. So I implemented the BADI /SAPSLL/IF_EX_IFEX_SD0C_R3 and tried to pass the packaging data. But as a result the custom document stopped getting created in GTS.

 

I'm using the below code to populate the fields of the table cs_itm_cdoc-pge-

 

 

 

LOOP AT lit_vepo ASSIGNING <lfs_vepo>.
        lwa_itmpge-item_number = <lfs_vepo>-posnr.
        lwa_itmpge-int_id = <lfs_vepo>-vepos.
        lwa_itmpge-quantity = <lfs_vepo>-vemng.
        lwa_itmpge-dim_uom = <lfs_vepo>-vemeh.
        APPEND lwa_itmpge TO cs_itm_cdoc-pge.

        CLEAR lwa_itmpge.

      ENDLOOP.

 

 

I'm taking the value of <lfs_vepo> from the standard table vepo. Can anybody please tell me what I'm doing wrong?

 

Thanks,

Sarif


Viewing all articles
Browse latest Browse all 9169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>