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

BAPI SD_SALESDOCUMENT_CREATE problem in Condition type creation

$
0
0

Hi Guru's,

 

Good Afternoon,

 

I have created a sales document BAPI using   SD_SALESDOCUMENT_CREATE.

 

Sales document was creating perfectly fine and working good.

 

now the problem when creating sales order condition type when doing so i am getting it twice in the condition value tab

 

for ex , i am trying to add Cndn type ZADC

 

after creation of the BAPI it appearing twice in the CONDITION  RECORD tab.

 

    W_CONDITIONS_IN-ITM_NUMBER   = LV_COUNT.

    W_CONDITIONS_IN-COND_ST_NO   = '020'.

    W_CONDITIONS_IN-COND_TYPE    = WA_SHEET3-KSCHL .

    W_CONDITIONS_IN-COND_VALUE  = WA_SHEET3-KBETR.

    W_CONDITIONS_IN-CURRENCY      = 'INR'.

    W_CONDITIONS_IN-COND_COUNT  = '01'.

     W_CONDITIONS_IN-COND_UPDAT = ' '.

 

Please suggest how to use the insert condtion types while creation of sales order.

 

Warm Regards,

 

Vinod Kumar G


Viewing all articles
Browse latest Browse all 7790

Trending Articles



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