10-08-2007 10:30 AM
HI,
Is it possible to make a credit check while creating a sales order using BAPI_SALESORDER_CREATEFROMDAT2 .If it is possible please explain me how?. If it is not possible with above bapi please give me the alternative solution.
<b>Helpful replies will be rewarded</b>
10-08-2007 10:42 AM
BAPI_SALESORDER_CREATEFROMDAT2 :You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN
structure) and partner data (via the ORDER_PARTNERS table) as input
parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item
numbers manually, by filling in the relevant fields, or the system does
it, according to the settings for Customizing, by leaving the relevant
fields blank.
If you have configurable items, you must enter the configuration data in
the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and
ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one
hand, data for card identification, on the other, data for a transaction
which has taken place in an external system.
Once you have created the sales order successfully, you will receive the
document number (SALESDOCUMENT field). Any errors that may occur will be
announced via the RETURN parameter.
Reward points if helpful