BAPI or FM to create Price Condition
Hi experts,
Is there any BAPI or FM allowed creating Price Condition (Like VK11)?
Thanks,
Khanh
CALL FUNCTION 'RV_CONDITION_COPY'
EXPORTING
application =
condition_table =
condition_type =
* DATE_FROM = '00000000'
* DATE_TO = '00000000'
* ENQUEUE = ' '
* I_KOMK = ' '
* I_KOMP = ' '
key_fields =
* MAINTAIN_MODE = 'B'
* NO_AUTHORITY_CHECK = ' '
* NO_FIELD_CHECK = ' '
* SELECTION_DATE = '00000000'
* KEEP_OLD_RECORDS = ' '
* MATERIAL_M =
* USED_BY_IDOC = ' '
* I_KONA =
* OVERLAP_CONFIRMED = ' '
* NO_DB_UPDATE = ' '
* USED_BY_RETAIL = ' '
* IMPORTING
* E_KOMK =
* E_KOMP =
* NEW_RECORD =
* E_DATAB =
* E_DATBI =
* E_PRDAT =
tables
copy_records =
* COPY_STAFFEL =
* COPY_RECS_IDOC =
* EXCEPTIONS
* ENQUEUE_ON_RECORD = 1
* INVALID_APPLICATION = 2
* INVALID_CONDITION_NUMBER = 3
* INVALID_CONDITION_TYPE = 4
* NO_AUTHORITY_EKORG = 5
* NO_AUTHORITY_KSCHL = 6
* NO_AUTHORITY_VKORG = 7
* NO_SELECTION = 8
* TABLE_NOT_VALID = 9
* NO_MATERIAL_FOR_SETTLEMENT = 10
* NO_UNIT_FOR_PERIOD_COND = 11
* NO_UNIT_REFERENCE_MAGNITUDE = 12
* INVALID_CONDITION_TABLE = 13
* OTHERS = 14
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
You could try some thing like this ...
Work your way around the options ..
Best regards
Manthan.
Similar Messages
-
Is there a BAPI or function module for price condition?
Hi experts,
I just want to create price condition info record to purchase order.
we create price condition through tcode MEK1/MEK2/MEK3.
it is more different from tcode ME11. it doesn't need to input purchase group, tax code etc.
but I can't find the BAPI or function module for this tcode.
does anyone know it?
thanks in advance.
looking for your reply.
jackPlease check this answered link:
Re: Bapi_prices_conditions does not delete old condition properly
Re: bapi for condition recaords
Edited by: Afshad Irani on Jun 13, 2010 3:38 PM -
ME11 Bapi for Gross Price conditions PB00 : conditions supplement
Please let me know any bapi for ME 11 gross price conditions pb00 : conditions supplement.
No one knows about this?
Edited by: tashvi on Apr 2, 2009 9:31 PMI am abale to create inforecord using BAPI's . But the problem is with conditions .
If a vendor gives discount to a material .
where do i need to populate those values?
Edited by: tashvi on Apr 3, 2009 3:26 PM -
I do not obtain to change value in price conditions bapi CHANGE_SALES_ORDER
Hi all,
We are developing a new solution using this RFC to maintain Sales Orders from the Legacy System.
In some situations, it will be necessary to change values of the Item Price Conditions in Sales Orders already created, in order to attend a Legacy Systems requests.
We tried to use the follow keys, but without a good result:
IX_KONVKOMX-UPDKZ = D (Delete) - Doesn't works
IX_KONVKOMX-UPDKZ = U (Update) - Insert a new line in Pricing
IX_KONVKOMX-UPDKZ = I (Insert) - Works as U (Update)
Could you please clarify why the key "U" doesn't works as Update and
if there is any way to make this kind of modification?
I verified you vary answers in this forum, but none was useful.
Thanks a lotexample:-
*& Report ZSALESORDER_CHANGE
REPORT ZSALESORDER_CHANGE MESSAGE-ID 38.
Selection Screen Definitions *
PARAMETERS: p_vbeln TYPE vbap-vbeln OBLIGATORY, "Order Number
p_posnr TYPE vbap-posnr OBLIGATORY, "Order Item
p_etenr TYPE vbep-etenr OBLIGATORY, "Schedule Line
p_reqqty TYPE bapischdl-req_qty OBLIGATORY. " Order Qty
Internal Tables/Structures/Variables for calling BAPI. *
DATA: i_hdr TYPE bapisdh1,
i_hdrx TYPE bapisdh1x,
i_ret TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
wa_ret TYPE bapiret2.
DATA: BEGIN OF i_sched OCCURS 10.
INCLUDE STRUCTURE bapischdl.
DATA: END OF i_sched.
DATA: BEGIN OF i_schedx OCCURS 10.
INCLUDE STRUCTURE bapischdlx.
DATA: END OF i_schedx.
START-OF-SELECTION Event *
START-OF-SELECTION.
*" Initialize internal tables.
REFRESH: i_sched, i_schedx, i_ret.
CLEAR: i_sched, i_schedx, i_ret.
*" Fill required ORDER_HEADER_IN data.
i_hdrx-updateflag = 'U'.
*" Fill required SCHEDULE_LINES data.
i_sched-itm_number = p_posnr.
i_sched-sched_line = p_etenr.
i_sched-req_qty = p_reqqty.
i_schedx-updateflag = 'U'.
i_schedx-itm_number = p_posnr.
i_schedx-sched_line = p_etenr.
i_schedx-req_qty = 'X'.
APPEND i_sched.
APPEND i_schedx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = p_vbeln
order_header_in = i_hdr
order_header_inx = i_hdrx
TABLES
return = i_ret
schedule_lines = i_sched
schedule_linesx = i_schedx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT i_ret.
WRITE / i_ret-message.
ENDLOOP. -
Bapi to create a condition record
hi,
is there any standard bapi for creating ,changing and deleting a pricing record using VK11,VK12.
any other function module will solve the problem.Hi Ajith,
You can use <b>IDOC approach</b> also for doing teh same solution. Yo get Create/Change/ Delete Option as per indicator passed:
Refer Code below.
*& Form map_idoc_structure
Map E1KOMG, E1KONH, E1KONP segment fields
FORM map_idoc_structure
USING fp_condition_table TYPE kotabnr
fp_rate TYPE z_cs_cpp_rate
fp_condition_type TYPE kschl
fp_rate_type TYPE z_cs_file_type.
*-- Local Data Declaration
DATA: lw_e1komg TYPE e1komg, "Filter seg. with separated condition key
lw_e1konh TYPE e1konh, "Data from condition header
lw_e1konp TYPE e1konp, "Conditions Items
lv_delete TYPE konp-loevm_ko. " Delete Indicator
*-- IDoc data internal table
DATA: i_idoc_data TYPE TABLE OF edidd
INITIAL SIZE 0
WITH HEADER LINE.
CLEAR: lw_e1komg,
lw_e1konh,
lw_e1konp,
lv_delete,
v_segnum,
w_e1komg,
v_rate_type.
REFRESH i_idoc_data.
v_rate_type = fp_rate_type.
PERFORM conversion_alpha_input
USING w_crp_data-kunnr CHANGING w_crp_data-kunnr.
PERFORM conversion_matn1_input
USING w_crp_data-matnr CHANGING w_crp_data-matnr.
E1KOMG: Filter segment with separated condition key
i_idoc_data-segnam = 'E1KOMG'.
lw_e1komg-kvewe = c_usage_cond_tab.
lw_e1komg-kotabnr = fp_condition_table.
lw_e1komg-kappl = c_cond_type.
lw_e1komg-kschl = fp_condition_type.
CONCATENATE p_vkorg p_vtweg p_spart p_hienr p_matnr
CONCATENATE w_crp_data-vkorg w_crp_data-vtweg
w_crp_data-kunnr w_crp_data-matnr
INTO lw_e1komg-vakey.
lw_e1komg-vakey_long = lw_e1komg-vakey.
lw_e1komg-vkorg = w_crp_data-vkorg.
lw_e1komg-vtweg = w_crp_data-vtweg.
lw_e1komg-spart = w_crp_data-spart.
lw_e1komg-kunnr = w_crp_data-kunnr.
lw_e1komg-matnr = w_crp_data-matnr.
i_idoc_data-sdata = lw_e1komg.
APPEND i_idoc_data TO i_idoc_data.
Segment E1KONH - condition header
i_idoc_data-segnam = 'E1KONH'.
lw_e1konh-datab = w_crp_data-datab.
lw_e1konh-datbi = w_crp_data-datbi.
lw_e1konh-knuma_pi = v_promotion.
lw_e1konh-knuma_ag = v_sales_deal.
i_idoc_data-sdata = lw_e1konh.
APPEND i_idoc_data TO i_idoc_data.
IF fm_process_type EQ c_pt_dep.
lv_delete = c_x. " Deletion Indicator
ENDIF.
Segment E1KONP - condition items
i_idoc_data-segnam = 'E1KONP'.
lw_e1konp-kschl = fp_condition_type.
lw_e1konp-kbetr = fp_rate.
lw_e1konp-konwa = w_crp_data-waers.
lw_e1konp-kpein = v_cond_pric.
lw_e1konp-kmein = v_cond_unit.
lw_e1konp-knuma_pi = v_promotion.
lw_e1konp-knuma_ag = v_sales_deal.
lw_e1konp-loevm_ko = lv_delete.
i_idoc_data-sdata = lw_e1konp.
APPEND i_idoc_data TO i_idoc_data.
*-- Post Idoc for Creating Pricing Condition
PERFORM post_idoc
TABLES i_idoc_data.
ENDFORM. " map_idoc_structure
*& Form post_idoc TABLES i_idoc_data.
Post Idoc for Creating Pricing Condition
FORM post_idoc
TABLES i_idoc_data STRUCTURE edidd.
*-- Local data declaration
DATA: lv_komg LIKE komg, " Condition Structures
lv_subrc LIKE sy-subrc, " Sy-subrc
lw_messages TYPE rsuvm_msg, " Message Description
lw_idoc_status TYPE bdidocstat. " ALE IDoc status
DATA: idoc_contrl " IDoc Control data
LIKE edidc OCCURS 1 WITH HEADER LINE.
*-- Initialize Internal Tables
CLEAR: t_konh,
t_konp,
t_konm,
t_konw,
i_idoc_status,
t_kona.
REFRESH: t_konh,
t_konp,
t_konm,
t_konw,
i_idoc_status,
t_kona,
i_messages.
This code is taken from IDOC_INPUT_COND_A
PERFORM fill_appl_structures(saplvkoi)
TABLES i_idoc_data
t_konh
t_konp
t_konm
t_konw
i_idoc_status
t_kona
USING lv_komg
lv_subrc
idoc_contrl-docnum
idoc_contrl-mestyp.
IF lv_subrc = 0.
This code is taken from IDOC_INPUT_COND_A
PERFORM idoc_in_datenbank(saplvkoi)
TABLES idoc_contrl
t_konh
t_konp
t_konm
t_konw
i_idoc_status
t_kona
USING lv_komg
lv_subrc
idoc_contrl-docnum.
IF lv_subrc = 0.
COMMIT WORK AND WAIT.
Endif.
Reward points if this Helps.
Manish
Message was edited by: Manish Kumar -
Create Shopping Cart to ref Price Conditions in SRM5 ECS
Hi there
I have a question about pricing conditions for ( my systems are MDM2.0, SRM5.0 , ECC 6, Extended classic )
Price conditions has a limitation for ECS..meaning? Does this mean we cannot use pricing conditions on the shopping cart level for ESC
I have a MDM catalog item that will be transfered to SRM. I want to show in my SRM shopping cart my catalog item plus 2 surcharges
My approach is to apply a pricing condition to my item coming in from the mdm catalog.
Example: catalog item (is for Services-labour resource): Jr SAP Basis, $90 from supplier XYZ.
My item is a catalog item ..it has no material master.
I have created, made entries in SRM server-> cross App basic settings->pricing->Process condition type and Process calculation schema
I have created in SRM 2 custom condition types that are a percentage surcharge (so for my example it would be % of base price of $90).
These condition types are copied form SRM server-> cross App basic settings->pricing->process condition type (01RP u2013Discount%)
Condition type 1: Z1RBu2026.Burden rate (5% of $90)
Condition type 2: Z1RMu2026Markup rate (10% of $90)
One of the fileds in Process Condition types is u201CSource Systemu201D which can be local ie SRM or Other system like SAP R/3
So my option is to reference the local SRM system( if this can be done here u2026where?) or ref the backend and create these same price conditions types.
I cant find anywhere in SRM to create a condition table to enter the relationships of my Jr SAP Basis, $90 from supplier XYZ. So that I can associate this info with Burden and markup that changes per supplier
Hope my scenario is clear and question too
cheers
alex
Edited by: Alex Waiyaki on Sep 9, 2010 7:51 PMHi Virender
Thanks for you responce. I was going down this pasth of using a shoppingcart form the info on this SAP link below i thought it was possible...
http://help.sap.com/saphelp_srm50/helpdata/en/72/f40f3c98ddaa4ce10000000a11402f/frameset.htm
Pricing
Use
Pricing is a method of determining prices using the condition technique. SAP Enterprise Buyer uses Pricing when purchase documents are being created, for example, when a shopping cart or purchase order is created. The system automatically determines the gross price and any surcharges and discounts that apply to a specific vendor according to defined conditions. The system uses the gross price and these surcharges or discounts to determine the net price..
Now handling this requirement on the MDM side...can i use Expressions to do the calculations of these to fields.
i want 2 unique fields for these to values...that will mean 2 custom fileds to be passed on using the BAdI) BBP_CAT_CALL_ENRICH..
cheers
alex -
Create/Update of Price conditions - PR00
Hi folks
I hope U know the right Function Module. Normally we use
transaction MM02 to insert/update price conditions via view
"Sales: Sales Org. Data 1". Here we push the button "Conditions
and have the posability to enter/change the PR00 price condition.
So far so good.
But which Function Module do I have to use if want to do the same from within a background ABAP program??
Maybe BAPI_MATERIAL_SAVEDATA?? And how to?
Best regards
and have a nice weekend
Carsten :o)Hi there,
check thist thread.
BAPI_PRICES_CONDITIONS
Kind regards,
J. -
Changing Price Conditions in Sales Order with SD_SALESDOCUMENT_CHANGE
Hello there!
I need to change the value of a price condition in a sale order ;I'm using the f.m. SD_SALESDOCUMENT_CHANGE.
It doesnt' work as I want, 'cause it creates an other price conditions instead of just changing the price value of the actual one.
Waiting for your tips,
thanks.
This is how my code looks like:
PARAMETER: p_vbeln LIKE vbak-vbeln.
data: st_order_header_inx TYPE bapisdhd1x,
st_conditions LIKE bapicond,
st_conditionsx LIKE bapicondx,
tb_conditions TYPE TABLE OF bapicond,
tb_conditionsx TYPE TABLE OF bapicondx,
tb_return TYPE TABLE OF bapiret2.
st_order_header_inx-updateflag = 'U'.
st_conditions-itm_number = '0010'.
st_conditions-cond_type = 'PR00'.
st_conditions-cond_updat = 'X'.
st_conditions-cond_value = '100'. "Value I want to enter
APPEND st_conditions TO tb_conditions.
st_conditionsx-itm_number = '0010'.
st_conditionsx-cond_type = 'PR00'.
st_conditionsx-updateflag = 'U'.
st_conditionsx-cond_value = 'X'.
APPEND ls_conditionsx TO tb_conditionsx.
CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE'
EXPORTING
salesdocument = p_vbeln
order_header_inx = st_order_header_inx
TABLES
return = tb_return
conditions_in = tb_conditions
conditions_inx = tb_conditionsx .Get the conditions records first from the Sales Order with BAPI BAPISDORDER_GETDETAILEDLIST
CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
EXPORTING
i_bapi_view = lw_bapi_view
TABLES
sales_documents = lt_order
order_conditions_out = lt_conditions_out.
Then populate the conditions internal table with the data that you get from the previous code
move-corresponding lw_conditions_out to lw_order_conditions_in.
lw_order_conditions_in-cond_value = '100' " the value that you want to modify
APPEND lw_order_conditions_in TO lt_order_conditions_in.
CLEAR lw_order_conditions_inx.
lw_order_conditions_inx-itm_number = lv_kposn.
lw_order_conditions_inx-cond_st_no = lw_conditions_out-cond_st_no.
lw_order_conditions_inx-cond_count = lw_conditions_out-cond_count.
lw_order_conditions_inx-cond_type = lw_conditions_out-cond_type.
lw_order_conditions_inx-updateflag = 'U'.
lw_order_conditions_inx-cond_value = lc_x.
APPEND lw_order_conditions_inx TO lt_order_conditions_inx.
You didn't populate the fields cond_st_no and -cond_count. Then just call BAPI SD_SALESDOCUMENT_CHANGE to change the Sales order.
Hope that helps.
Erwin -
Creating new conditions for a material
Hi,
I need to create new price conditions massively for materials. The conditions I'm talking about are manually editable via transaction COMMPR01 -> choose a material -> "Conditions" tab -> Conditions for BBP Purchasing; there it shows the condition records with their validity interval.
I need to add new conditions for many materials via ABAP by adding a new record with a new price and a new validity interval for each material. I was wondering if there is a FM that does the job.
Can you help me?
Thanks in advance!!No one knows of a function module/bapi that updates the product conditions in srm?
it should do massively what you can do with transaction COMMPR01 -> choose a material -> "Conditions" tab -> Conditions for -> BBP Purchasing (dropdown) -> edit condition records -> save -
Upload & Maintain price conditions
Dear Gurus,
I need to create a program to upload and maintain different condition prices, some of the with scales.
LSMW is not an option.
Acording to OSS note 1135984 there are only two posibilities
1- Use the standar report RV14BTCI. The idea that I have for this is create a Z-program to read the file from local drive and then save into the server folder and submit RV14BTCI.
2 - IDoc message type COND_A. I have no idea how to implement the Idoc in a Z-program.
From my point of view, the IDoc solution is more powerful and flexible but I don't know how to use it in a Z-program and what I should customize for that.
I would like to ask you different things
1- Your experience and advices about to upload prices conditions
2- How to use the IDoc in a program.
Thank you very much,
ManuelHi,
Std BDC RV14BTCI is a good option.
You can create BDC/LSMW's at different condition levels and upload it using tcodes VK11/MEK1, etc.
Check out the following links which will give you some idea on BAPI's and also Idoc options.
Upload Price records for Condition Type using transaction VK11 and VK12
how to upload SD pricing conditions
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/37ebcc90-0201-0010-0095-9fac419953a8&overridelayout=true
Re: uploading of vk11 (pricing condition) transaction
Regards,
Amit -
Price condition equal to VPRS cost of goods
I have a senario ,which we will create sales orders for customers with sales price equals to the MAP(moving average price) at the time when the SO being input .And the sales price in sales orders should be copy to the billing whether the MAP has changed or not .
Now I have set up an pricing procedure ,which use VPRS as the sales price condition type ,but here comes another question when I create billing according to the delivery . When I create the billing document ,the net value is defferent with the net value of the sales order ,because the MAP has changed during the goods issue.
Is there any idea that can make sure the sale price equals to the MAP , and the billing net value is same as sales order net value?
can you give me some advice ? thanks for you help!Hi,
The pricing type (Copy control) is an extremely important field. It is worthwhile keeping this entry
in mind when creating your pricing condition types. As a rule of thumb, you should
have all item categories for a particular sales document with the same settings.
Generally, you may use pricing type B (carry out new pricing), G (copy pricing
elements unchanged and redetermine taxes), or C (copy manual pricing elements
and redetermine the others).
When using condition B all manual pricing condition types are lost.
If you want to copy the sales order to the invoice without changing the sales order
conditions, use pricing rule G. This will copy the pricing conditions from the order into the
invoice without changing them, but will redetermine the taxes.
Regards...
SBC -
How to update multiple Price conditions in FM CRM_ORDER_MAINTAIN
Hi All,
need to update multiple price conditions in a contract Thru FM CRM_ORDER_MAINTAIN.
please see the piece of code that am using...
am able to update single price condition...but not able to populate 2 or more .......i,e..ADD A Condition
i,e...DATA : ls_cond TYPE prct_cond_external_input,
lt_cond TYPE prct_cond_external_input_t.
DATA : ls_con TYPE PRCT_COND_DU,
lt_con TYPE PRCT_COND_DU_TAB.
Create Condition Type
*ls_con-KNUMV = lv_header_guid.
*ls_con-KPOSN = lv_item_guid.
ls_con-stunr = '134'.
IF Y EQ 1.
ls_con-ZAEHK = '001'.
ELSE.
ls_con-ZAEHK = '002'.
*ENDIF.
*ls_con-kschl = 'ZFP1'.
**ls_cond-waers = 'CNY'.
*ls_con-kbetr = '0.00'.
*ls_con-kpein = '1'.
ls_cond-kschl = 'ZFP1'.
ls_cond-waers = 'CNY'.
ls_cond-kbetr = '0'.
ls_cond-kpein = '1'.
ls_cond-knumh = lv_item_guid .
CLEAR ls_Price_doc.
ls_Price_doc-ref_guid = lv_item_guid.
ls_Price_doc-ref_kind = 'A'.
IF Y EQ 1.
ls_Price_doc-ref_handle = '000000001'.
ELSE.
ls_Price_doc-ref_handle = '000000002'.
ENDIF.
*ls_price_doc-PRIC_COND[] = lt_cond[].
*INSERT ls_con into table ls_price_doc-PRIC_COND.
INSERT ls_cond into table ls_price_doc-COND_ADD.
INSERT ls_price_doc INTO TABLE lt_price_doc.
ls_input_fields-ref_guid = lv_item_guid.
ls_input_field_names-fieldname = 'KNUMH'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'KPOSN'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'KSCHL'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'KPEIN'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'STUNR'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'ZAEHK'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'WAERS'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'KBETR'.
INSERT ls_input_fields INTO TABLE lt_input_fields.
CLEAR ls_input_fields.
Ls_input_fields-ref_guid = lv_item_guid.
ls_input_fields-ref_kind = 'B'.
ls_input_fields-objectname = 'PRIDOC'.
*ls_input_fields-logical_key = '0001'.
ls_input_fields-field_names = lt_input_field_names.
INSERT ls_input_fields INTO TABLE lt_input_fields.
CLEAR ls_input_fields.
CLEAR ls_Price_agreement.
Clear ls_cond.
I kept this under code. loop, for item records.....
Though the internal table lt_price_doc. is holding all the records, it is updating only one record. can you any one pls guide me ,This example works fine for me. Modify it according to your needs...
Price
IF it_item-value IS NOT INITIAL.
ls_cond-kschl = 'PR00'. " add price
ls_cond-kbetr = it_item-value.
ls_cond-waers = st_head-currency.
INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.
index_2 = 1.
CLEAR: ls_cond.
ENDIF.
Discount
IF it_item-discount IS NOT INITIAL.
ls_cond-kschl = 'ZPPP'. " add discount
wa_procent_calc = it_item-discount * 10.
ls_cond-kbetr = wa_procent_calc."it_item-discount.
ls_cond-waers = '%'."st_head-currency.
INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.
index_2 = 1.
CLEAR: ls_cond, wa_procent_calc.
ENDIF.
IF index_2 = 1.
ls_pridoc_com-ref_handle = counter.
ls_pridoc_com-ref_kind = 'B'.
INSERT ls_pridoc_com INTO TABLE gt_pridoc_com.
CLEAR: index_2,ls_pridoc_com.
ENDIF. -
Price conditions from Info Record to PO
Hi,
While creating PO, Price conditions flow from Purch.info record.
My requirement is => In the Item detail Conditions Tab, the price should not be available for editing (i.e.it should be in display mode) at end user level. If we need to modify the Amount against any condition it should be done only in info record only.
How to address this requirement.
Regards,
BaskarHi,
1. Go to SPRO > MM > Purchasing > Authorization Management > Define Function Authorizations for Buyers > Function Authorizations: Purchase Order > Here "New Entries" and define Function Authorization Key as "01" and give description.
OR use T. Code - OMET
Here under "General parameters" subscreen,
Activate "Display conditions" indicator and assign Field selection as "$DE1", do not select "Enter conditions"
In "Possible ref. objects", select "W/o reference" otherwise reference documents (for e.g. PR, RFQ, etc...) for PO creation will become mandatory.
2. Now go to SU01 > Enter User ID > Parameters Tab > Here for Parameter ID EFB i.e. Function Authorization: Purchase Order, maintain value "01" and check in PO field selection will get applied for that user.
Now check in PO, Conditions will become in display mode. -
How to avoid user from entering new price condition in return order
Dear Expert
We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
The price must come according to the Qty being referenced.
While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
Thanks
Edited by: Lakshmipathi on Jan 31, 2012 6:55 PM
Thread Locked - Reason Cross Postokie .... i will tell briefly what is the problem ....
Take a scenario wherein a user has logged into my application and he is performing a task which will put his user id and his employee id into the session. Then he opens another window by using either ctrl+n or through files->new window.
So now a new browser will open but the session will be same ..... in this newly opened browser, user performs some operation which will remove the user id and employee id from the session .... Now if he again comes back to the first window and tries to do some operation, then a null pointer exception will be thrown saying that the employee id is null .... because he has deleted that in the newly created browser ..... to avoid this situation what can we do ???? can you please help me in this regard ??? you got my problem right !!! -
Price Condition Depending of Material Master Record
Helllo Experts, I have an issue with a price condition on a price procedure the user wants to be able to mantain the price condition manually only if the material used at item level of sales order is equal to one of 3 sku´s.
This Price condition can not be mantained on VK12 because it´s calculated manually depending of several factors.
For Example, let´s say the Material ID´s are 1122, 1123 and 1124 and the price condition is ZY01.
If the Mateial ID used at item level of sales document, the manual condition ZY01 shouldn´t be shown to the user only if the material used is equal to 1122, 1123 or 1124
To solve this issue I was thinking to use at price procedure the field requirement and use a pricing routine as "2" Item with pricing and edit the routine. the Material used at item level of sales document
I´m not quire sure this is going to work, And what´s the name of the field I should use to get that
Any Suggestion how to adress this issue is welcome.Hello, I create my own condition table to include material field, also a new access sequence has been created, to link this table on field material I only can specify one material number, I capture there my material for wich I want this price condition work, but when I create a Contract on VA41 using the material included on my price condition, I´m able to mantain the amount, but the same happen when I try to use another material number not included on my access sequence.
Maybe you are looking for
-
HT2693 How to force operating system to trust Plaxo application?
I found this in the incompatible library folder. Apple and Comcast are constantly battling it seems. When I open my apple contacts list/ address book I have quite a few contacts listed w/exactly the same data but 20-50 times d
-
Error while sourcing the environment file
Hi, Apps 11.5.10.2 O/S windows 2003 server While sourcing the environment file i am getting the following error E:\>oracle\prodappl\appsprod_tstoraf.cmd ECHO is off. ECHO is off. Wed 10/06/2010 06:45 AM ECHO is off. ECHO is off. This script requires
-
Resolution issues w/ HDTV via DVI/VGA
Hey everyone, I just bought an HDTV and would like to set my PowerBook up with it.. When I connect the thing with a DVI->VGA adapter, the system recognizes it, but gives it a max resolution of 1024x768. I have tried changing the colors to Thousands w
-
Exporting Newsletter (PDF) and viewing for Mac and PC Users?
Hi, I am trying to create a monthly newsletter for my business that can be sent on mass to various clients. Using pages, I save it as a PDF and when sent to MAC mail users, it appears in their inbox as a full 'page newsletter'. PC users just get a pd
-
2 diff MI in one interface determinat scenar (ID), sender & receiver same?
Hi, In ID can i have 2 different message interface and Interface mapping for the same sender and receiver. But CC is different. how can i achieve this? I need to add in same interface determination or i need to create new interface determination. if