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

BAPI-"BAPI_SALESORDER_CREATEFROMDAT2" Partner issue Ship to party

$
0
0

I have a problem when create so with BAPI BAPI_SALESORDER_CREATEFROMDAT2.

 

I have customer 3606 with partner funtion (Picture 2)

SP    Sold-to party    3606    GP Semarang

BP    Bill-to party    3000    SEMEN PADANG, PT

PY    Payer    3000    SEMEN PADANG, PT

SH    Ship-to party    602100105    TB SURYA BANGUNAN

SH    Ship-to party    602100104    DIS RESIDENCE (DEVELOPPER)

SH    Ship-to party    1380001000    TK. NIRMALA

 

Case 1 : (Picture 1)

When i create so with VA01 (without that BAPI), i create so with sold to party 3606 & ship to party 602100104 (Success)

Case 2 :

But when i create an Sales Order (with BAPI), i create so with sold to party 3606 & ship to party 602100104 (Failed).

 

I Call BAPI with this parameter :

ORDER_PARTNERS-ITM_NUMBER = '000010';

ORDER_PARTNERS-PARTN_ROLE = 'WE';

ORDER_PARTNERS-PARTN_NUMB = '0602100104';

 

ORDER_PARTNERS-ITM_NUMBER = '000000';

ORDER_PARTNERS-PARTN_ROLE = 'AG';

ORDER_PARTNERS-PARTN_NUMB = '0000003606';

 

My problem is : (Picture 3)

When i create Sales Order like Case 1, the sales order created but ship to party become  602100105

 

Any step that i miss?


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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