on 04-11-2006 7:44 AM
Hi All,
I am novice to BAPI.
I wud like to create SO from BAPI_SALESORDER_CREATEFROMDAT2.
AS from documentation i come to know minimum we have to supply 'order header data (via ORDER_HEADER_IN structure)'and partner data (via the ORDER_PARTNERS table) as input parameters.
But i didnot find order_partners (this is mandatory for me to supply)in this FM.
and moreover i have to supply Creditcard info..i find some where we can supply it thru BAPICCARD structure..But where/how to supply these to BAPI_SALESORDER_CREATEFROMDAT2.
Thanks in advance.
Rgds,
Raja.
hi raja,
you already know that you have to use ORDNER_PARTNERS but don't "find" it?
this is in the table section as you can input different partners for the different roles. therefore it has to be a table.
the credit-card information also can be entered in the table section using ORDER_CCARD which is declarated as you already found like BAPICCARD.
so if i got your question right - just go to the funtion module and to tab-strip tables. there you are.
br,
matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
i am able to see <b>ORDER_PARTENRS</b>,and Creditcard details
<b>ORDER_CCARD</b>
*" TABLES
*" RETURN STRUCTURE BAPIRET2 OPTIONAL
*" ORDER_ITEMS_IN STRUCTURE BAPISDITM OPTIONAL
*" ORDER_ITEMS_INX STRUCTURE BAPISDITMX OPTIONAL
<b>*" ORDER_PARTNERS STRUCTURE BAPIPARNR</b>
*" ORDER_SCHEDULES_IN STRUCTURE BAPISCHDL OPTIONAL
*" ORDER_SCHEDULES_INX STRUCTURE BAPISCHDLX OPTIONAL
*" ORDER_CONDITIONS_IN STRUCTURE BAPICOND OPTIONAL
*" ORDER_CONDITIONS_INX STRUCTURE BAPICONDX OPTIONAL
*" ORDER_CFGS_REF STRUCTURE BAPICUCFG OPTIONAL
*" ORDER_CFGS_INST STRUCTURE BAPICUINS OPTIONAL
*" ORDER_CFGS_PART_OF STRUCTURE BAPICUPRT OPTIONAL
*" ORDER_CFGS_VALUE STRUCTURE BAPICUVAL OPTIONAL
*" ORDER_CFGS_BLOB STRUCTURE BAPICUBLB OPTIONAL
*" ORDER_CFGS_VK STRUCTURE BAPICUVK OPTIONAL
*" ORDER_CFGS_REFINST STRUCTURE BAPICUREF OPTIONAL
<b>*" ORDER_CCARD STRUCTURE BAPICCARD OPTIONAL</b>
*" ORDER_TEXT STRUCTURE BAPISDTEXT OPTIONAL
*" ORDER_KEYS STRUCTURE BAPISDKEY OPTIONAL
*" EXTENSIONIN STRUCTURE BAPIPAREX OPTIONAL
*" PARTNERADDRESSES STRUCTURE BAPIADDR1 OPTIONAL
check it.
Regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raja,
In the BAPI, there is a parameter ORDER_CCARD which is referring to the structure BAPICCARD, where you can fill the details of the Credit Card.
CC_TYPE Payment cards: Card type
CC_NUMBER Payment cards: Card number
CC_VALID_T Payment Cards: Valid To
CC_NAME Payment cards: Name of cardholder
BILLAMOUNT Value to be billed on the date specified in billing plan
AUTH_FLAG Payment cards: Authorization to be transferred
AUTHAMOUNT Payment cards: Authorized amount
CURRENCY Currency Key
CURR_ISO ISO code currency
AUTH_DATE Payment cards: Authorization date
AUTH_TIME Payment cards: Authorization time
AUTH_CC_NO Payment cards: Authorization number
AUTH_REFNO Payment cards: Authoriz. reference code of clearing house
CC_REACT Payment cards: Response to authorization checks
CC_RE_AMOUNT Currency amount in BAPI interfaces
GL_ACCOUNT G/L Account Number
CC_STAT_EX Payment cards: Status when external system is called?
CC_REACT_T Payment cards: Result text
Enter the values accordingly and make the call.
regards,
Ravi
Note : Please mark the helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.