VK11/VK12: Automatically create anothercondition record upon saving

Hi,
First of all this is my first time to post a question here.  I find every thread very helpful and other members helpful.
We came with a requirement to automatically create another condition record after the user clicks the save buttons.  I'm not inclined in this module so to give you an idea in my requirement here are the following steps:
1.  User go to VK11
2.  Choose Selling Price List/Material access sequence
3.  In the the screen the user enter a sales org, distribution channel, and price list.
Ex: Sales Organization: 0024
      Distribution Channel: 00
      Price List: 03
4.  User enter in grid, material, amount, conditoin pricing unit.
Ex:
Material: 4668
Amount: 5,00
Condition Pricing Unit: 1
5.  User click saves.  Entries in tables KONH and KONP are populated.  Condition record is saved
Now the requirement is create a duplicate conditoin record but with DIFFERENT price list-> 02 and amount.  The new amount will be computed manually in the enhancement.
I did my part researching what can be done to solve this requirment.  In the old threads, some suggest to use BADI BADI SD_COND_SAVE_A BADI.  The problem is I am also not familiar in using BADI so I hope someone can tell me how I can learn BADI so I can implement the requirements.  For the creation of condition records, I still have no idea how to do it.
So here are my current challenges:
1.  How can I trap the save button in VK11/VK12.  I am also thinking if all required validations were done prior to the creation to the conditoin record.  I'm also thinking what are the things I should consider before creating a duplicate condition record with the different pricelist 03 and amount.
2.  How can I create a condition records.  Should I use a BAPI? I am also not familiar with BAPI
In addition to the requirement, I am thinking of some problems that might arise.  I think there should be checking before creating the duplicate condition records.  But I have no idea what are the things to consider.
I hope I explained my requirment clearly. Please feel free to ask for clarifications or question in my requirement.  Thank you for your help.  I really appreciate any help.
Thanks and God Bless.
-binaryghost
Edited by: binary ghost on Sep 9, 2010 10:46 AM

Hi,
Try these BTE'S:
BusTrEvent     SAPMV13A     OPEN_FI_PERFORM_00503301_BOST     00503301     Updating conditions (Pricing)).               
BusTrEvent     SAPLV13A-LV13AU02     OPEN_FI_PERFORM_00503301_E     00503301/P&S     Update conditions (usage A)                    
BusTrEvent     SAPLV130-LV130U01     OPEN_FI_PERFORM_00503302_E     00503302/P&S     (Updating conditions (general)).               
BusTrEvent     SAPMV13A     OPEN_FI_PERFORM_00503308_E     00503308/P&S     Maintain conditions: Default condition (Condition Maintenance Control).                    
I hope this may helpfull.
Thank you,
Thanks,
AMS

Similar Messages

  • Automatic billing document creation upon saving credit memo request.

    Hi,
    I have a requirment where in :
    When a Credit Memo Request is created(va01) and upon saving the credit memo request an automatic billing document needs to be genereated i.e Credit Memo.
    How can this be achieved.
    Thanks

    Hi Keni
    If a Credit Memo Request is created and after saving the Credit Memo Request  , automatic billing should happen means you should maintain a new sub-routine and assign in the copy control VTFA . In that sub-routine maintain a logic that once the Credit Memo Request is saved automatic billing should happen
    Regards
    Srinath

  • Distinguish b/w Automatically created Info Record and created thru ME11

    Hi,
    How can we distinguish between Automatically created Info Record and manually created Info Record (By User through ME11 transaction).
    Where we can see the difference???
    Plz guide...

    Hi,
    In case of Automatically created Info record, Net price and Effective price fields will be blank where as in case of manual info record, you maintain the price under "conditions" manually and which gets updated in net price and effective price fields.
    Also Run Reports ME1M and ME1L, Info records with "Condition       No Price Found" are automaically created. And manual info records will have have "Condition XXX Amount"

  • 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.
    Thanx

    Hi 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

  • How can I make the popup with empty fileds and create new record?

    I would like to use a popup to create new record.
    I created a af:popup by drag and drop a VO from data control to jsff. then, I created a button and place a af:showPopupBehavior. I was able to popup window by click the button.
    however, the window filled with the information from the 1st record. and when I select a record in table and click popup, the popup is filled with that record.
    How can I make the popup with empty fileds and create new record by saving the popup?
    Thanks

    You can have edit and new buttons, in the PopupFetchEvent identify button source (using popupFetchEvent.getLaunchSourceClientId()) if new button clicked clear the binding using below code.
    If you want to see empty fields, in the popup PopupFetchEvent clear the input component bindings.
    resetBindingValue("#{bindings.<componentid>.inputValue}", null);
        public static void resetBindingValue(String expression, Object newValue) {
            FacesContext ctx = FacesContext.getCurrentInstance();
            Application app = ctx.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = ctx.getELContext();
            ValueExpression valueExp = elFactory.createValueExpression(elContext,expression,Object.class);
            Class bindClass = valueExp.getType(elContext);
            valueExp.setValue(elContext,newValue);
        }

  • How to make RECORD for saving multiple rows for each employee..

    Hi,
    How can I create a record for saving multiple rows for each employee... (parent child relationship)
    I have created all required fields, then created a record, and then created a page. in that page i dragged-n-dropped a scroll area on that page and dropped all required fields from record into that scroll-area.
    whats is happening that its saving ONE (the first) record fine, but for the second record its not storing EMPLID for that row..
    Will I have to make some change at RECORD level ?
    OR Will i have to make some configuration in parent component ?

    Hi, the problem is solved. The record will be created in same way. just create more then one keys (allowing to make composite key in DB table)

  • 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,
    Igor

    Hello 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.

  • Material Reservation Create Upon Saving Work Order

    Dear Experts,
    We have a requirement that material reservation needs to be created upon release of the PM order. However in SAP standard it is created upon saving the PM order.
    Do you know the way how to change it that reservation will be created upon release of the PM order? Is there any OSS note etc. I had a search on service place in SAP but couldnt find something relevant sofar.
    Any help, idea will be highly appreaciated.
    thanks in advance,
    Mehmet

    Hi
    Yes you can configure the system using standard setting where the reservation will be gerated after order release.
    Please follow the following path.
    1. SPRO> SAP Standard IMG setting> Plant Maintenance & Customer service-->Maintenance & service Processing > Maintenance and Service Orders>Functions and Settings for Order Types-->Define Change Docs, Collective Purc. Req. Indicator, Operation No. Interval
    In this step, you can define:
    Whether reservations or purchase requisitions relevant to materials planning should be generated when an order is created or only when the order is released. You do not select the field reservation/purchase requisition. The result is that purchase requisitions are only generated when the order is released, and reservations only become relevant to materials planning once the order has been released.
    I think this will resolve your query if not let me know.
    Regards
    Makarand Gurjar

  • Automatically create a Delivery Order document on saving sales order

    hi,
    i want that a delivery document should be automatically created on saving sales order. how can i configure sap to do so?
    thanks

    Hi
    In VOV8 in the shipping tab immediate delivery switch is there
    There you have to put X and save
    then while you  create and save a sales order of that order type delivery will be created automatically
    No need to go for VL01n
    These are the settings done in cash sale and rush order in standard SAP
    Regards
    Raja

  • Generate the primary key  automatically while records are saved

    Hi experts,
    I need to generate the primary key of a custom table automatically when a new record is saved. Pleas help asap. Urgent.

    Hi Rob and vikas,
       Thanks for your answers . Both of the solutions you mentioned were syntactically correct and activated but they are not populating the numbers.In case of Rob's soultion  I guess I am not able to catch the return number. I am giving the code below. So Please look into it,
    FORM gen_manu_siteid .
    data : number type zsiteid value 155.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '02'
        OBJECT                        = 'zmanusite'
        QUANTITY                      = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
      IMPORTING
        NUMBER                        = number
      QUANTITY                      =
      RETURNCODE                    =
    EXCEPTIONS
      INTERVAL_NOT_FOUND            = 1
      NUMBER_RANGE_NOT_INTERN       = 2
      OBJECT_NOT_FOUND              = 3
      QUANTITY_IS_0                 = 4
      QUANTITY_IS_NOT_1             = 5
      INTERVAL_OVERFLOW             = 6
      BUFFER_OVERFLOW               = 7
      OTHERS                        = 8
    *IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    ztblqm_sqm-zsiteid = number .
    ENDFORM.                    " gen_manu_siteid
    When this did not work. i tried Vikas's soution and the code i used for this is
    FORM gen_manu_siteid .
    data : w_count like ztblqm_sqm-zsiteid,
           e_wa like ztblqm_sqm occurs 0 with header line.
    select max( zsiteid ) from ztblqm_sqm into w_count .
    w_count = w_count + 1.
    e_wa-zsiteid = w_count.
    modify ztblqm_sqm  from e_wa.
    ENDFORM.                    " gen_manu_siteid
    Please look into this and give me a solution.
    NB: I have tried them at the event 01 include.

  • PTR Record not Automatically Created in dns server

    how to config when client joint to domian PTR Record  Automatically Created in dns server

    Hi Farzad_en,
    Based on my knowledge  , you need to allow Dynamic Updates .
    "Open DNS Manager. To open DNS Manager, click Start, point to
    Administrative Tools, and then click DNS.
    In the console tree, right-click the applicable zone, and then click
    Properties.
    On the General tab, verify that the zone type is either
    Primary or Active Directory-integrated.
    In Dynamic Updates, click Nonsecure and secure."
    For details please refer to following link:
    http://technet.microsoft.com/en-us/library/cc794806(v=ws.10).aspx
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Products are being deleted from manually created invoices upon saving.

    What happens is I create a manual invoice and save it, but upon saving, some of the products are removed from the invoice.
    Are you only allowed to list a certain product once on an invoice? It may be this that is causing it? However I wish to list products individually and not by using multiples of them. I have had this issue before with manual invoices changing upon saving.

    Please use the form under http://www.businesscatalyst.com/contact then

  • Automatic creating a Interaction record in the WebClient

    Please help!  I need a way to automatically create a Interaction Record in the Web Client from a file.  Is anybody know how to do this.  I need to extract data from another system like R/3 and automatically load this into the interaction record, but I don't which ways to approach.

    Hello,
    In a SAP standard scenario an interaction record is always created. You can however control this behaviour in the "Business Transaction profile" which is linked to the "main IC web profile". In that business transaction profile you need to define a "leading" business transaction. This leading bus. trans. is the transaction that is created the moment a business partner is confirmed.
    To automatically fill this "leading" bus. trans. (an interaction record in your case) you have multiple options, you can code this directly in the webclient BSP pages (eg by subscribing to the "bp confirmed" event and then fill the interaction record that is created) or in the overall system by working with events on bus. obj. To control what is initially filled there is no standard process foreseen in this flow.
    Hope this helps,
    Kind regards,
    Joost
    Edited by: Joost Stallaert on Jan 19, 2009 11:25 AM

  • When recording a midi track, why is it automatically creating a loop whenever I stop?

    When recording a midi track, why is it automatically creating a loop whenever I stop?
    I am using Logic Pro 9 on a MacBook Pro and Yosemite 10.10.1

    Hi
    Probably because you have the MIDI Thru parameters set to loop?
    Click in the background of the Arrange window, and in the Region Inspector (MIDI THRU) deselect 'Loop'
    CCT

  • I want to export a vcard from contacts but when I do it doesn't give me the next step of saving the file anywhere and if it automatically creates a file, where is it saved?

    i want to export a vcard from contacts but when I do it doesn't give me the next step of saving the file anywhere and if it automatically creates a file, where is it saved?

    its from icloud contacts. I select all and then go to export to a vcard and then nothing happens.

Maybe you are looking for

  • Is annotation processing the same for Java 5 and Java 6?

    I've been trying to use a package of annotations and processors that was evidently originally designed to be used with "apt" and Java 5. When I try to use this stuff with Java 6 I was assuming that, since the Java 6 javac handles annotations, I could

  • How do I create this table?

    When I paste the buy/sell ticket (table) from this page http://www.globalfutures.com/resources/order-placement.asp into Pages, everything comes out fine except the top - the five columns and split row above Buy and Sell labels. Any idea how I can cre

  • Airplay Speakers- Philips Fidelio SoundAvia

    I am looking to play my itunes library and also music apps such as spotify, iheart radio and pandora off of my ipad to 2 speakers in different rooms.  I have a macbook but it is usually off.  I am looking into either an Apple TV or Airplay speakers,

  • Unable to process Lossless JPEG Images..

    Hi, I have jdk 1.6.0. and i installed the jai-Imageio pakage.i am not able view the true lossless jpeg image. I tried to open a lossless jpeg image from the code given in http://forums.sun.com/thread.jspa?forumID=20&threadID=335960 but the image does

  • Do not want new version for rdl file for each snapshot rendering

    ssrs 2012 sp1 sharepoint mode, sharepoint 2013 option set for the report - render from snapshot, a schedule set for the snapshots creation each snapshot rendering adds new viersion to the rdl file with updated field Execution DateTime - not really su