on 02-14-2008 4:16 PM
Hello All
I want to design a soluttion in XI where , a quotation is created in SAP using the BAPI_QUOTAITON_CREATEFROM_DATA2 , it gives back VBELN as a response . Now i want to get the pricing conditions used for that quotation.Is there a way to achieve this ?
Is there any BAPI which can retrieve this info based on VBELN ? Any other solutions using XI ?
Thanks in advance.
HI,
To get the pricing conditions either you need to look for relevant BAPI or have to develop own RFC which will return the pricing condtions based on VBELN.
But anyhow you need two seperate Sender channels one for sending the data to BAPI to create quataion and get back the VBELN, after getting the vbeln you have to make another call to call the BAPI or Coustomized RFC that will return Pricing Information.
Probably you could look for BAPI_SALES_ORDER_SIMULATE & then analize the output table ORDER_CONDITION_EX for pricing information.
Thanks
Swarup
Edited by: Swarup Sawant on Feb 18, 2008 6:51 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you already try BAPI_QUOTATION_GETDETAILBOS? This one seems to do exactly what you want: it takes the quotation number in import field SALESDOCUMENT and it returns the pricing conditions in the following internal tables (depending of the data you need):
QUOTATIONCONDITIONS Conditions
QUOTATIONCONDHEAD Conditions Header Data
QUOTATIONCONDITEM LIKE Conditions Item Data
QUOTATIONCONDQTYSCALE Condition Scale Quantity
QUOTATIONCONDVALSCALE Condition Scale Value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.