Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

how to pass parameters to SD_SALES_ITEM_COND_MAINTAIN

$
0
0

Dear ALL,

 

check the code:

 

DATA: it_konvkomx LIKE TABLE OF konvkomx WITH HEADER LINE.
DATA: it_konvkom LIKE TABLE OF konvkom WITH HEADER LINE.

 

IT_KONVKOM-KNUMV = '0000003174'.

IT_KONVKOM-KPOSN = '000010'.
IT_KONVKOM-ZAEHK = '1'.
IT_KONVKOM-STUNR = '050'.
IT_KONVKOM-KSCHL = 'ZDC3'.
IT_KONVKOM-KBETR = '10'.
IT_KONVKOM-WAERS = 'HKD'.
IT_KONVKOM-KMEIN = 'PAA'.
IT_KONVKOM-KPEIN = '1'.
IT_KONVKOM-J_3AETENR = '0002'.
IT_KONVKOM-koupd = 'X'.
IT_KONVKOM-KINAK = 'X'.
APPEND IT_KONVKOM.

IT_KONVKOMX-KPOSN = '000010'.
IT_KONVKOMX-STUNR = '010'.
IT_KONVKOMX-KSCHL = 'ZDC3'.
IT_KONVKOMX-ZAEHK = '01'.
IT_KONVKOMX-UPDKZ = 'I'.
IT_KONVKOMX-KBETR = 'X'.
IT_KONVKOMX-WAERS = 'X'.
IT_KONVKOMX-KMEIN = 'X'.
IT_KONVKOMX-KPEIN = 'X'.
IT_KONVKOMX-J_3AETENR = '0002'.
APPEND IT_KONVKOMX.

 

 

CALL FUNCTION 'SD_SALES_ITEM_COND_MAINTAIN'
   EXPORTING
     FIV_BWE            = ''
   TABLES
     fit_konvkom        = it_konvkom
     fit_konvkomx       = it_konvkomx
     fet_return         = it_so_return
            .

   CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

 

the table it_so_return return the error:Country key  has no ISO code.

Why?

 

Thanks

Freddy


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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