BAPI_PO_CREATE1- pricing conditions
Hi,
In general if a info record exists, price will be determined based on that.
But I need the price to be determined from condition records. Please help me to do that.
BAPI_PO_CREATE1 consists of parameter POCOND. Can any body tell me in detail what this parameter does?
Pls get me code if possible.
regards,
Ravi
points will be awarded
Hi
<b>Conditions</b>
Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. Price determination is reinitiated via the parameter CALCTYPE in the table PoItem.
<b>Parameter: POCOND</b>
ITM_NUMBER = 000001
COND_ST_NO = 001
COND_TYPE = PB00
COND_VALUE = 79.900000000
CURRENCY = EUR
CURRENCY_ISO = EUR
COND_UNIT = KG
COND_P_UNT = 1
CHANGE_ID = U
<b>Parameter: POCONDX</b>
ITM_NUMBER = 000001
COND_ST_NO = 000
ITM_NUMBERX = X
COND_TYPE = X
COND_VALUE = X
CURRENCY = X
CHANGE_ID = X
Thanks
Vijay
<b>PLZ Reward points if helpful</b>
Similar Messages
-
BAPI to calcualte pricing(Condition)
Hi,
I would like to know is there any BAPI available to calculate pricing for quotation(Maintain Quotation)
I have done enough of search by exploring BAPI like PO create, PO change,
No bapi is available to maintain quotation
Please suggest and this is really urgent
Regards
FazalHi,
There is no BAPI for Creation of RFQ.However you can create a "Z" function module.Refer this link
BAPI to create RFQ (ME41 - purchase request for quotation) -
BAPI or FM for Condition Pricing
Hi All
I need to develop a report that shows all the condition pricing (SD).
It is necessary to show the same fields of the pricing screen (VA03) - it would be a kind of simulation.
I would like some function that gives me a report similar to the screen of pricing condition - transaction VA03 - SD module.
I am trying to use the BAPI BAPI_SALESORDER_SIMULATE, but I am getting only the aliquots of the taxes.
I am using 4.7.
Could you please advise?
Thanks in advance.
João GaiaHi,
Bapi for creating Pricing conditions is BAPI_PRICES_CONDITIONS.
In this u need to pass value to the below parameters:
bapicondhd-table_no
operation
applicatio
cond_type
or
It seems the RV_CONDITION* function modules only supports to change or create a new price condition by copying an existing one.
else use
BDC.
I think, It helpful to you. -
Pricing condition maintenance on CRM
I need to maintain pricing conditions on crm 4.0 and I wanna create record automatically via BAPI .Unfortunatelly, I couldn't find out any BAPI for maintaining pricing conditions. Does anybody have information about this??
Hi,
What transaction are you trying to create using BAPI?? You can use CRM_ORDER_MAINTAIN function module to create transaction. To this function module there is Parameter IT_PRIDOC. to this you need to pass pricing information.
Paralally you can use BAPI BAPI_BUSPROCESSND_CREATEMULTI to create transaction in CRM. this will have a table CONDITION_CREATE, to this table you can pass pricing information.
Hope this will help you
Thanks
Siva -
hi i got requirement that i need to upload pricing conditions for transaction VK15 and the BAPI to be used is BAPI_PRICES_CONDITIONS can any one suggest what are the inputs for this BAPI for creating pricing conditions and which tables it will updated...
Check This thread
Sample code for BAPI_PRICES_CONDITIONS
Hope this helps.. -
How to change pricing Conditions in Sales order in change sales order bapi
Hi Experts,
How to change pricing Conditions in Sales order in change sales order bapi.
I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
Thanks in Advance .
NLNHI NLN
I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
<b>Import Paramters:</b>
SALESDOCUMENT - Sales Document Number
ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
<b>Tables:</b>
CONDITIONS_IN - ITM_NUMBER,
COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
COND_TYPE,
COND_VALUE,
CURRENCY.
CONDITIONS_INX - ITM_NUMBER,
COND_COUNT,
COND_TYPE,
UPDATEFLAG as <b>'U'</b>,
CURRENCY.
Hope i have clarified your query.
Kind Regards
Eswar -
BAPI for creation of Credit Note with custom pricing condition
I need to create a Credit Note with reference Invoice via program. So, I am planning to use BAPI. Could you please suggest appropriate BAPI? I need to send a pricing condition that is set manually in the credit note as well. So, I will needto pass pricing condition and value. Thanks.
Hello,
Why you have to create the credit note using BAPI w.r.t. invoice ? Can you brief the senario .
The simple way is create a credit memo request in VA01 w.r.t. invoice number. It will have the block . Remove the block and Create credit memo in VF01 .
Thanks
RK -
Pricing conditions for sale order create BAPI
Hi guys and gals,
i am workin on a object where i would have to create a variant of VA01 screen with pricing details , item details , shipping details etc, visible in a single screen .
What i have understood so far is that i would have to use BAPI simulate to get the pricing conditions and ATP details to display to the user before he saves the order , the issue now is when is adding new pricing conditions or changing the existing conditions on my screen i would have to update the other conditions types based on his input and i also understand that some conditions r editable and some arn't and like in regular VA01 the user should be able to delete the pricing conditions also , which means i should taken into account all this when iam finally saving this order , please guide me further in this regards
Thanks in advanceHai
Try with the following
U need to give the step_nr, item_nr, cond_count and cond_type so the correct conditon will be updated. If no condition exists for the given parameters, a new condition will be created.
U can find these parameters for a particular condition type in table KONV.
*& Form saveTransactionJOCR
text
--> p1 text
<-- p2 text
FORM saveTransactionJOCR .
data: salesdocument like BAPIVBELN-VBELN,
order_header_inx like bapisdh1x,
order_header_in like bapisdh1,
return type standard table of bapiret2 with header line,
conditions_in type standard table of bapicond with header line,
conditions_inx type standard table of bapicondx with header line,
logic_switch like BAPISDLS,
step_nr like conditions_in-cond_st_no,
item_nr like conditions_in-itm_number,
cond_count like conditions_in-cond_count,
cond_type like conditions_in-cond_type.
salesdocument = wa_order_information-VBELN.
LOGIC_SWITCH-COND_HANDL = 'X'.
order_header_inx-updateflag = 'U'.
conditions
clear conditions_in[].
clear conditions_inx[].
clear: step_nr,
item_nr,
cond_count,
cond_type.
step_nr = '710'.
item_nr = '000000'.
cond_count = '01'.
cond_type = 'ZCP2'.
CONDITIONS_IN-ITM_NUMBER = item_nr.
conditions_in-cond_st_no = step_nr.
CONDITIONS_IN-COND_COUNT = cond_count.
CONDITIONS_IN-COND_TYPE = cond_type.
CONDITIONS_IN-COND_VALUE = 666.
CONDITIONS_IN-CURRENCY = 'EUR'.
append conditions_in.
CONDITIONS_INX-ITM_NUMBER = item_nr.
conditions_inx-cond_st_no = step_nr.
CONDITIONS_INX-COND_COUNT = cond_count.
CONDITIONS_INX-COND_TYPE = cond_type.
CONDITIONS_INX-UPDATEFLAG = 'U'.
CONDITIONS_INX-COND_VALUE = 'X'.
CONDITIONS_INX-CURRENCY = 'X'.
append conditions_inx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = salesdocument
ORDER_HEADER_IN = order_header_in
ORDER_HEADER_INX = order_header_inx
LOGIC_SWITCH = logic_switch
TABLES
RETURN = return
CONDITIONS_IN = conditions_in
CONDITIONS_INX = conditions_inx
if return-type ne 'E'.
commit work and wait.
endif.
ENDFORM. " saveTransactionJOCR
Thanks & regards
Sreenivasulu P -
BAPi/call function that calculates the pricing condition in CRM order
Hello Experts,
Can anybody suggest me which BAPI to be used in order to recalculate the pricing condition that is already maintained in the CRM order.
I'm trying to upload .txt file which contains basic price value ( condition type ZPR0 ) to update in the order. This new value should over write the existing one in the CRM order & recaluclate the tax & other condition types in the pricing procedure. Can anybody suggest me how to go abt.
Regards
Devika.S
Edited by: Devika.S on Apr 7, 2009 7:07 AMHi Devika,
Can you have a look at these two BAPIs as listed below to see if any of them fits your requirement?
BAPI_BUPA_FRG0030_ADD - Add pricing data
BAPI_BUPA_FRG0030_CHANGE - Changing pricing data
Hope this helps,
Cheers,
Sougata. -
Is there a BAPI to create IS-Oil (formula) MM Pricing condition records
Hi,
Is there a standard BAPI to create IS-Oil (formula) MM Pricing condition records, which would include the maintaining of the formula?
Regards
Kasino BAPI exists
-
BAPI to create IS-Oil (formula) MM Pricing condition records
Hi,
Is there a standard BAPI to create IS-Oil (formula) MM Pricing condition records, which would include the maintaining of the formula?
Regards
Kasino BAPI exists
-
Header Pricing conditions in BAPI function module
I am using BAPI function module BAPI_SALESDOCU_CREATEFROMDATA1 to create sales orders through program.
It is working fine with item level pricing conditions.
But my requirement is ... I need to update few pricing conditon types in item level and one in header level.
Could you please help me where I need to pass header pricing conditions. Please help me.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
SALESDOCUMENT = SALESDOCUMENT
SALES_HEADER_IN = SALES_HEADER_IN
SALES_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE = 'VORL'
INT_NUMBER_ASSIGNMENT = ' '
IMPORTING
SALESDOCUMENT_EX = SALESDOCUMENT_EX
TABLES
RETURN = RETURN
SALES_ITEMS_IN = SALES_ITEMS_IN
SALES_ITEMS_INX =
SALES_PARTNERS = SALES_PARTNERS
SALES_SCHEDULES_IN = SALES_SCHEDULES_IN
SALES_SCHEDULES_INX =
SALES_CONDITIONS_IN = SALES_CONDITIONS_IN.
SALES_CFGS_REF =
SALES_CFGS_INST =
SALES_CFGS_PART_OF =
SALES_CFGS_VALUE =
SALES_CFGS_BLOB =
SALES_CCARD =
KEY_TABLE =
Thanks in advance.
RaghuIf the correct configuration allows for manual entry of the condition type you want to populate, You can map your value using
' ORDER_CONDITIONS_IN' . If item level map line number, cond step number of the condition type in your pricing procedure, your condition type you are using, condition value you are sending into the system, currency, and cond unit. If it is a header condition, then send in 000000 as the item number. You can also consider using BAPI_SALESORDER_CREATEFROMDAT2 -
1. what is the use of Function Module "BAPI_PRICES_CONDITIONS"? what value we have to pass to BAPI BAPI_PRICES_CONDITIONS"?
2. Which function Module will use to Extract the Pricing & conditions Details (from SD) ?
3. Can anyone help me how to extract the Pricing & conditions Details (from SD) ?
Thanksyou can use KONV table to get pricing condition(KSCHL) and pricing value(KBETR), for this we require sales order no(VBELN) and item no(POSNR).
-
Issue with BAPI CONTRACT CREATE while uploading pricing conditions
Hi Experts
I am using BAPI CONTRACT CREATE to create Purchase Contract ME31K
I am facing the issue while passing pricing conditions Could you please help me regarding this
Could you please help me along with this what are the values has to pass
Thanks
Vijay Kumar ReddyHi Experts
I am using BAPI CONTRACT CREATE to create Purchase Contract ME31K
I am facing the issue while passing pricing conditions Could you please help me regarding this
gs_oucondition-item_no = w_data-evrtp.
gs_oucondition-serial_id = '1'.
gs_oucondition-cond_count = '01'.
gs_oucondition-cond_type = w_data-cond1.
MOVE w_data-amnt1 TO gs_oucondition-cond_value.
gs_oucondition-currency = w_data-curr1.
gs_oucondition-numerator = '1'.
gs_oucondition-denominator = '1'.
gs_oucondition-change_id = 'I'.
APPEND gs_oucondition TO gt_oucondition.
CLEAR gs_oucondition.
gs_ouconditionx-item_no = w_data-evrtp.
gs_ouconditionx-serial_id = '1'.
gs_ouconditionx-cond_count = '01'.
gs_ouconditionx-item_nox = c_x.
gs_ouconditionx-serial_idx = c_x.
gs_ouconditionx-cond_countx = c_x.
gs_ouconditionx-cond_type = c_x.
gs_ouconditionx-cond_value = c_x.
gs_ouconditionx-currency = c_x.
gs_ouconditionx-numerator = c_x.
gs_ouconditionx-denominator = c_x.
APPEND gs_ouconditionx TO gt_ouconditionx.
CLEAR gs_ouconditionx.
Could you please help me along with this what are the values has to pass.
these are the parameters passing to the condition structure while executing bapi i am getting error like enter quantity conversion.
but with the same data i am able to create contract using SE37 by directly executing the Function module.
and if i have net price in my excel sheet also i am able to create contract using my program.
the only problem with pricing conditions alternatively there will be no net price..
Please really it will be a challenging question....
Thanks
Vijay Kumar Reddy -
Hi,
Is there any BAPI available for load contracts and pricing conditions?
Please its very urgent for me
Regards,
NaveenI'm not sure about contracts but for pricing conditions there is BAPI_PRICES_CONDITIONS. It have not been, however, released to customers, so you will need to be extremely careful with it. We ran into some issues with this BAPI because it does not perform any input data validations, it seems.
-
Populating the bapi in retreiving the pricing condition
Hi guys,
given the ff data, how am i going to populate bapi_salesorder_simulate to retrieve the pricing condition?
Condition Table Field SAP Field
ABCD 907 Sales Org LIKP-VKORG
ABCD 907 Customer LIKP-KUNNR ABCD 907 Material LIPS-MATNR XYZW 855 Sales Org LIKP-VKORG
XYZW 855 Price Group KNVV-KONDA
XYZW 855 Material Group MARA-MATKL
XYZW 855 Duty Band MVKE-MVGR3
Thanks a lot!
Regards,
MarkHi Preet,
I am sorry that we are back to square one. I checked OSS and two OSS notes specifically mention that you cannot do anything with condition records if you are in a version lower than 4.7.
That leaves us with the option that I mentioned in your earlier posting which is to make config changes, and then write a small program to do repricing. That way all the sales orders will be repriced and based on the new configuration, the condition should disappear.
You can give points by clicking the yellow star sign at the header of a post. You can give one 10 points for the post solving your issue, two 6 points for very helpful answers and unlimited 2 points for helpful answers.
Regards,
Srinivas
Sorry forgot to mention the OSS notes. They are 593246 and 597970.
Message was edited by: Srinivas Adavi
Maybe you are looking for
-
Why does Start Digital Edge in Start Trigger.vi do a kind of timeout?
Hi I am doing a manual trigger on my hardwareboard by inserting a 5 volt source into the selected triggerchannel a couple of seconds after I push the start button. The generation never starts. But if I put the trigger signalchannel equal to the exte
-
Set inside a Set and powerset problem. Need help.
I've done other posts about this but I figured I'd start a new thread since I changed it so much. I understand the idea of power sets but not how it needs to be a Set inside a set and also how to get this thing to run. If anyone could show me a power
-
OpenGL support in AS 3.0
The success of PV3D proves the need for 3D support in Flash, which would be greatly enhanced if the GPU capabilities offered by most PCs today could be activated in Flash. I was thinking that there is a (simple?) solution to this consisting in extend
-
Hi, A quantity of five items will appear as 5.0 for example. . So we need to pass 5 in the target. Validations: We can not have quantity in decimals (e.g. 5.1,1.3,23.5,1111.6 0.5 etc) Quantity can not be non numeric or blank. Thanks in Advance. I ne
-
How do I control the state of folder chevrons when a volume is mounted?
When my users mount a server, they inherit the chevron settings of a previous user. Sometimes that previous setting has a chevron turned down on a big folder. That results in long mount times over Internet connections. It is also confusing to the