Bapi to change/create condition record
hi,
is there a bapi to change/create a condition record? haven't found anything yet!
regards jacko
hi,
Please find the suggested steps in this....
BAPI for VK11,VK12,MEK1,MEK2
Regards,
Richa
Similar Messages
-
BAPI or FM to Create Condition Records (VK11)
Hi!
Is there a BAPI or a FM (or something else) to create condition records in the same way as with transaction VK11 (or XK15)?
I am aware of the LSMW program RV14BTCI (althought never have used it).
Thanks!
Kind regards,
IgorHello Igor,
It's not trivial, but let's have a try. Use transaction SALE to get into the ALE business. Then option Modeling and implementing Business Processes -> Maintain distribution model.
Get into change mode and create model view (any name will do). Then selected the newly created node and Add message type. Here you have to enter the sending and receving system and the message type (COND_A).
Afterwards select the node and then via menu Environment->Generate partner profiles execute the partner profile will be generated automatically.
Now you are able to send a condition records from system A to B.
Regards,
John. -
Report on Change in Condition Record effects which all Sales Orders
Hello Gurus,
Thanks in advance. My customer requires a report which gives him list of Sales Orders effected due to Change in Condition Record.
Proper input to this will be greatly rewarded.
Regards,
Vishvesh Kamdarhi,
whenever u change the condition record it will fall under the validility date, ie.,
<b>example:</b>
Condition record for cond type PR00 is
<b>valid from 01/05/2007 to 31/99/9999 is Rs.1000</b>
but suddenly when u change prices on 01/10/2007 then system will display has below
<b>vaild from 01/05/2007 to 31/09/2007 is Rs.1000
vaild from 01/10/2007 to 31/99/999 is Rs.1500</b>
hence u take all the sale orders & billing document which are created from 01/10/2007, this will slove ur purpose
SE16-->vbak--->enter -
> here u will find created on enter the date & execute
hope this heklps u
regards,
Arunprasad -
FM for creating Condition Records
Is there FM for creating Condition Records for output type like transaction VV11 (Create Output - Condition Records: Sales)
Hi there,
FM for condition records? Why do you want to think of a FM for creating conditon records?
Condition records is a master data that has to be manually created as per the business requirement.
But what we can do is that if the data ia existing in an external legacy system, we can migrate that into SAP through a BAPI / BDC or LSMW depending on the volume of data.
But in other cases condition records are manually created in SAP system.
If at all you have a function module to create condition records, how would you ensure that it feeds correct data into the condition records? What key combination would the system take & what data would you want the FM to upload?
How will you monitor what data is uploaded,.
Regards,
Sivanand -
Mass change for condition record
I try to change the condition record for material with validity period of one year starting next year Jan 1st. Since that material is already exists in the system with validity period of current date to 12/31/9999, it is not saving my changes. When increase price by 5%, it is not giving any problem but when I display to see the changes "Environment-Changes-Per condition record", it is giving an popup box saying "Change documents for conditions not yet save are not possible"
I try to delete material condition with longer period. It is deleting at that moment but when I come back and see still that material exists with longer period.
how do I deal with this problem to solve?
Fully rewarded for solution.
Thanks,
Manu.Hi Manu;
At any given point in time you can have only one valid condition record with a validity period.
1. Create a condition record with validity from today to 12/31/2007
2. Create a condition record with validity from 01/01/2008 to ....
You issue would be solved.
Regards. -
IDOC trigger for changes in condition records
Hi Guru's,
I want to trigger IDOC every time I create a condition record and every change in condition record. can you suggest me how to trigger IDOC COND_A01 in above scenarios.
Thanks in advance.
SureshOh, price condition.
In Vk13, there is a icon "Condition Information", narrow your results in the selction criteria. In output, there is a 'Send Condition" icon. then enter your message type and logical system. After that, you can use WE02 to view the idocs.
Please revert if answered. -
Creating condition record by uploading
Hello all,
I am using FM BAPI_PRICES_CONDITIONS to create condition record.
But its creating the record even if i gave the invalid details ( like invalid material number,...).
Can you please tell me how can i handle the errors using this FM.
Thanks in advance.
regards,
Lokeshhi..
This code snippet inserts a condition record for Pricing condition type Z123 with key sales order
and line number.
CONSTANTS: lc_kschl_z123 TYPE kscha VALUE 'Z123'.
DATA: lv_datum TYPE sydatum,
lv_count TYPE kopos,
lv_unit TYPE kpein,
is_bapicondct TYPE bapicondct,
is_bapicondhd TYPE bapicondhd,
is_bapicondit TYPE bapicondit,
it_bapicondct TYPE STANDARD TABLE OF bapicondct,
it_bapicondhd TYPE STANDARD TABLE OF bapicondhd,
it_bapicondit TYPE STANDARD TABLE OF bapicondit,
it_bapicondqs TYPE STANDARD TABLE OF bapicondqs,
it_bapicondvs TYPE STANDARD TABLE OF bapicondvs,
it_bapiret2 TYPE STANDARD TABLE OF bapiret2,
is_bapiret2 TYPE bapiret2,
it_bapiknumhs TYPE STANDARD TABLE OF bapiknumhs,
it_mem_initial TYPE STANDARD TABLE OF cnd_mem_initial.
lv_datum = sy-datum.
lv_count = 1.
LOOP AT gt_vbap INTO wa_vbap.
* BAPI Structure for Condition Tables
is_bapicondct-operation = '009'.
is_bapicondct-table_no = '700'.
is_bapicondct-applicatio = 'V'.
is_bapicondct-cond_usage = 'A'.
is_bapicondct-cond_type = lc_kschl_z123.
"Set the varkey from A700 table key fields
CONCATENATE wa_vbap-vbeln wa_vbap-posnr
INTO is_bapicondct-varkey.
is_bapicondct-valid_to = '12/31/2009'.
is_bapicondct-valid_from = lv_datum.
is_bapicondct-cond_no = '$000000001'.
**** BAPI Structure of KONH with English Field Names
is_bapicondhd-operation = '009'.
is_bapicondhd-cond_no = '$000000001'.
is_bapicondhd-created_by = sy-uname.
is_bapicondhd-creat_date = sy-datum.
is_bapicondhd-cond_usage = 'A'.
is_bapicondhd-table_no = '700'.
is_bapicondhd-applicatio = 'V'.
is_bapicondhd-cond_type = lc_kschl_z123.
is_bapicondhd-varkey = is_bapicondct-varkey.
is_bapicondhd-valid_to = '12/31/2009'.
is_bapicondhd-valid_from = lv_datum.
*** BAPI Structure of KONP with English Field Names
CLEAR is_bapicondit.
is_bapicondit-operation = '009'.
is_bapicondit-cond_no = '$000000001'.
is_bapicondit-cond_count = lv_count.
is_bapicondit-applicatio = 'V'.
is_bapicondit-cond_type = lc_kschl_z123.
is_bapicondit-scaletype = 'A'.
is_bapicondit-scalebasin = 'B'.
ADD 1 TO is_bapicondit-scale_qty.
is_bapicondit-calctypcon = 'B'.
lv_unit = wa_vbap-kwmeng.
is_bapicondit-cond_p_unt = lv_unit.
is_bapicondit-cond_value = wa_vbap-value.
is_bapicondit-condcurr = wa_vbap-waerk.
APPEND: is_bapicondct TO it_bapicondct,
is_bapicondhd TO it_bapicondhd,
is_bapicondit TO it_bapicondit.
ENDLOOP.
*** BAPI for pricing Condition Records
CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
TABLES
ti_bapicondct = it_bapicondct
ti_bapicondhd = it_bapicondhd
ti_bapicondit = it_bapicondit
ti_bapicondqs = it_bapicondqs
ti_bapicondvs = it_bapicondvs
to_bapiret2 = it_bapiret2
to_bapiknumhs = it_bapiknumhs
to_mem_initial = it_mem_initial
EXCEPTIONS
update_error = 1
OTHERS = 2.
IF sy-subrc EQ 0.
WRITE: /1 'Return Messages for Condition create'(t03).
LOOP AT it_bapiret2 INTO is_bapiret2.
WRITE: /1 is_bapiret2-message.
ENDLOOP.
ULINE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
return = is_bapiret2.
ENDIF. -
Error while creating condition record
Hi
Am using 4.7 and creating condition record while saving condition record am getting error NO UPDATE SERVER FOUND FOR CONTEXT E, So am stuck up and do not know whom to contact is it error for BASIS? or related with SD kindly help.
ThanxHi Mukesh
As you are getting error NO UPDATE SERVER FOUND FOR CONTEXT E, while saving the condition record, kindly consult your BASIS consultants and ask them to check wheather the pricing related tables and structures have been copied and uploaded properly or not.
Regards
Srinath -
. Is it possible to create condition record in both CRM as well as in R/3
hi,
. Is it possible to create condition record in both CRM as well as in R/3? Explain in more details.
Regards,
babuHi Babu,
No. You cannot create condition records in CRM when back end is R/3.
Condition records should be created in R/3 and replicated to CRM.
You cannot extend condition records in CRM.
Reward the Points.
Thanks,
Srini. -
Creating condition records in product
hi,
I am trying to create condition records for a product.For a sales order (TA) i create, the pricing procedure determined is RVCXUS. But i dont see any of the condition type which matches condition type for a product (in F4) and condition type maintained in RVCXUS.
Please let me know where from the condition type(in F4) comes in a product. It will not include all condition type we see in spro?
Regards,
RahulHi Rahul,
To see a particular codition type in F4 help, you need to assign your "condition type/(s) in pricing procedure" to condition group being used for your application area. try following:
1. check condition group being used to the application SAP CRM in SPRO > Customer Relationship Management> Master Data> Products> Special Settings for Sales Operations--> Assign Condition Group to Application CRM
2.Assign the condition types in your pricing procedure to the above condition group by choosing SPRO>Customer Relationship Management> Master Data --> Conditions and Condition Technique --> Condition Technique: Basics Create Maintenance Group
Let me know if this works....!!
Best Regards,
VIshant Jain -
FM'S or BAPI to update the condition records in VB22 transaction
Hi,
I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
The transaction is VB22.
If you can send me a smaple code it will be really helpful.
Regards,
SasiCheck this:
http://www.sapnet.ru/viewtopic.php?p=1644
Bapi for VK11 & VK12
Reddy -
Create condition record with reference to existing condition record
how to create condition record with reference to existing condition record?
Hi,
See this link :
http://help.sap.com/saphelp_47x200/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
You can create with reference with Tcode : VK14 (or VK34)
Or in VK12, you can copy condition records with copy rules.
Regards,
Lionel -
Configure/create condition records to send out copy of PO to vendor
Hello,
I am trying to create a condition record / or configure the system with the objective to send out the PO copy automatically, either in pdf or doc format, to the vendor on saving the PO. Please help in the set up of the same with the steps or idea on how to do it.hi
You need to do some configuration for this.
u2022 Go to NACE.
u2022 Select EF and click on OUTPUT TYPES.
u2022 Then select Output Type NEU and click on processing routines .
u2022 In that you have to add a new entry - medium 5 .
u2022 Then you need to assign a program, form routine and form.
u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
u2022 For subject of the mail go to Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
u2022 Under General data -> Replacement of text symbols give programme as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE.
u2022 Now the subject will be PO No. 1800004202.
u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
u2022 Now while creating a new purchase order , change the medium to External Send .
u2022 Then goto Communication Method and select CS01. ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
now in further data select send immidiately
now save and chck ur output message in transaction SOST
u2022 Use note no 191470 -
MASS CHANGE OG CONDITION RECORD CST CONDITION TYPE
Dear SD experts,
Could anyone plzz suggest me how to change the condition type for CST from 3% to 2% .
There rae some 2500 records how to change it.
I had taken the key combination as
Country/Plant Region/Region.TAXC11Cust/tax mat
RegardsJAYANTHHi Manu;
At any given point in time you can have only one valid condition record with a validity period.
1. Create a condition record with validity from today to 12/31/2007
2. Create a condition record with validity from 01/01/2008 to ....
You issue would be solved.
Regards. -
Mass change of condition record
Hi friends,
One of my client has created a condition record for a pricing condition type long back by mistake. So lot of sale orders have been generated which included that condition record. Now he wants to delete that condition record for all that sale orders. Is there any chance of deleting that condition record for all the sale orders at once in mass level?
Rama raoDear Rama
Go to VK12, change the pricing date to old date (From and To Date may be same) and save.
Now go to MASS, give Object Type "BUS2032" and execute. Here under the Tab, select the Table "Sales Order Item Data" and go to "Fields" tab. Here select the field "Pricing date (MASSSD)" and execute. Now change the date what you have maintained in VK12.
thanks
G. Lakshmipathi
Maybe you are looking for
-
Help me please. I have this query with a Union select p.cdpwet, p.jaar, p.vnrproc from abgrp p,tbsltbetro bbt where p.vnrbslt = bbt.vnrbslt and bbt.cdsrt like :n_rol and bbt.nrbetr in (select i.nrbetr from tuser i where i.naam like :n_naam and (i.cds
-
SQL Developer Installation Problems
Hi, We are trying to find a workable alternative to TOAD and have tried to install SQL Developer with not much success.... I think I am just about to give up but hope this last attempt to post for help can create a miracle. I would appreciate very mu
-
Installing iSync conduit for HotSync 3.2.1
Hello, I got a Powerbook G4 with OS X.4.8 I've just bought a Palm T|X with Palm OS 5.4.9. I've dowloaded the last package Palm Desktop 4.2.1 for Mac with HotSync Manager 3.2.1 Hotsync functions well with Palm Desktop. In iSync, I go to "Device / Acti
-
No sound with video in messages?
How do I get sound when playing video in received messages.
-
How to call a BI Query (side panel) with selections provided by "tags"?
With regards to my previous post (has anyone already successfully integrated their own BI report in a side panel?) we're still not there yet. What we actually would like to do is call a BI Query in the side panel and have the variable for that report