cancel
Showing results for 
Search instead for 
Did you mean: 

Create Sales Order with external pricing and tax conditions

colin_cheong
Contributor
0 Kudos

Hi SAP Guru,

I used the BAPI function to create a sales order.

I need to take in the pricing from external as well as the tax amount.

How should I propagate the BAPICOND segments?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member187610
Active Participant
0 Kudos

Hi Siew,

You can pass Header, Item, Partner functions and conditions such as Freight, Discount etc. For Header data order_header_in, for Item data order_items_in, for Conditions order_conditions_in.

If you want to pass any condition then you could follow wa_order_cond-itm_number  = '000010', wa_order_cond-cond_type= 'XXXX'.

Else try using Function Module  RV_GET_CONDITION_TABLES.

Regards,

Sharan

srinivaskurma
Explorer
0 Kudos

Hi

While order is created through this Function module SD_SALESDOCUMENT_CREATE , It will allow you to insert manual condition records in SALES_CONDITIONS_IN


Regards

Srini



colin_cheong
Contributor
0 Kudos

Hi,

I am trying to get the BAPI to consider external price by inserting dummy figures into

BAPICOND-CONBASEVAL and BAPICOND-CONDVALUE. I was expecting it to be created with dummy figures. At least I can find out if the fields is the correct entry.

However, It seems that the system does not recognise the entry fields but proceed to perform its computation and ended up with a correct set.

It is not using my entry.

Anyone can advise me which combination of the fields in BAPICOND can I used for this purposes?

Thanks

Former Member
0 Kudos

Hi,

The Price and Tax conditions are Manual?

Regards,

Vikas