FM to update the variant

Hi All,
I need to update variant for two transcation PEG01 and PEG01N. I have FM "RS_CHANGE_CREATED_VARIANT" to update and its working fine.
But there is any other option (FM or BAPI ) to update variant? actully abive mentioned FM is non relased so that why I am searhing any other option
Thanks & Regards,
Jaten Sangal
Edited by: Jaten.sangal on May 4, 2010 12:19 PM

Jaten,
Problem
got all the points but i want to know there is any alternative FM or BAPI
No there is no other subsitute FM or BAPI for fulfilling your requirement.
Suggestions
May be if you don't want to use unreleased FM , go with copying that and create a new ZFM.

Similar Messages

  • Problem while updating the forecast value in m.master by direct input menth

    Hi All
      Good Day
      I am updating the forecast value in material master by direct input method.
    my program is working fine when I am running it online.
    but when i am runnig in back ground I am getting one error which is mentioned below
                                                                                    Job ZM_OPTIMIZA_UPLOAD: Data does not match the job definition; job terminated    BD    078     E    
    Please anyone can help ne in above case.
    Thanks in advance.
    Cheers
    Vallabhaneni

    Hi Hakim
    How are you
    Thanks for your valuable suggestion.
    I am executing my program in background with bmv0 transaction with variant, in development I can run this job in background with out any logical errors but in QA I am getting errors.
    Can you please help me in the above case.
    In Bmv0 transaction first I defined the job and in  program rmdatind (execute) screen first I mentioned the Max. no of logical errors as 500 and Transactions per commit unit as 500 and I run the program in background in bmv0 transaction and I am getting the message background job terminated immediately
    Because of this again I changed the Max. no of logical errors 500 to 99999 and transaction per commit unit 500 to 999999 and then i scheduled my program in background.
    Alomost it ran for 27 hours and then it has given the message background job terminated.
    Job log entries are as follows.
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040840; material number SUJ82J8400; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040840: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040841; material number SUJ84G3001; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040841: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040842; material number SUJ84G3002; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040842: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040843; material number SUJ86G0100; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040843: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040844; material number SUJ86G0300; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040844: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040845; material number SUJ86G0900; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040845: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040846; material number SUJ86G9600; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040846: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040847; material number SUJ86G9601; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040847: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040848; material number SUJ86J0000; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040848: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:20:54  Transaction 0000040848 completed Mat. no.  No. of log. errors 0000040848  
    22.12.2008  11:21:30  ABAP/4 processor: TSV_TNEW_PAGE_ALLOC_FAILED                              
    22.12.2008  11:21:30  Job cancelled      
    I know it has taken long time to process the job  because of I changed the transactions per commit unit (500 to 999999) it kills the system
    But I am supposed to provide some number < 999999 in transactions per commit unit
    actually I haven't tried like I said above < 999999 because i don't have any hopes.
    Please look at this problem and help me in this case.
    Thanks in advance.
    Vallabhaneni

  • Pricing Condition is Duplicating on Changing the Variants in Quotation !

    Hi,
    I have a requirement, where the Pricing Condition (Custom Pricing Condition Specific to the Variant Pricing) is duplicating on changing the Variants in Quotation to be stopped or deleted.  I suppose, the variant pricing condition should not be newly added to the pricing table each time, there is a change in the material variants as chosen by the business/user with the Quotation.  Instead, I assume, the existing cost for the variant pricing condition should update each time, when the variant material is changed by the user. I am not sure, whether this issue can be controlled in the configuration? or Can I control the occurrence of the duplicate pricing condition inside any user exit by deleting the duplicate condition, but retaining the newly added ( Recently  added pricing table entry for that condition)? I am not sure, what are the possibilities to fix this issue? Appreciate if you could provide me with a suitable solution.
    Thanks for your time.
    Thanks,
    Kannan

    Hello Kannan.
    I have the Same Problem. do you have a solution for the same?
    i have written a pricing condition at the characteristic level using pricing Factors. however when i change the characteristic. it is duplicating the condition instead of refreshing it.

  • How long does it take to update the iPhone 4?

    How long does it take to update the iPhone 4?

        Interesting question, beachn! If I understand correctly, you're trying to see how long it will take to update the software/operating system of an iPhone 4. If that's the case, the during of a software update will depend greatly on the speed of your computer and/or your phone. I've seen the process vary from 4 minutes to an hour. If I did not understand correctly, please describe what you mean by update. Thanks!
    Dion M.
    VZW Support
    Follow us on Twitter www.twitter.com/vzwsupport

  • After releasing the order same screen user updating the quantity in process order  in sap pp

    Hi experts,
    After releasing the order in the same screen user updating the quantity in process order  in sap pp.
    How to control it.
    can any help in this regards
    Thanking you,
    Rishit.

    Hi Rishit,
    You can control it by BAdi WORKORDER_UPDATE method AT_SAVE make error message if there is any change in quantity.
    Or you can create Transaction Variant through SHD0 for CO02 and make field Total Qty (CAUFVD-GAMNG) as output only.
    Regards,
    R.Brahmankar

  • Not able to Update the Infotype thro'HCM Process and Forms

    Hi,
    I have done the form and ran the test run in ECC, after completion of execution its not updating the form scenario infotype. Herewith mentioned the trace data ..
    C Function Trace Record
    Date : 27.08.2010
    Time : 17:26:30 : 539,203
    Work Process : 0
    PID : 0
    Client : XXX
    User : XXXXX
    Transaction : HRASR_DT
    Transaction ID : 4C77C682885A4119E10000000A01DF1A
    Action :Start of C Function
    Function (Group) : rstscb_call_back
    Parameters :
    Duration : No Duration at Start of Action
    Comment :
    C Function Trace Record
    Date : 27.08.2010
    Time : 17:26:30 : 539,203
    Work Process : 0
    PID : 0
    Client : XXX
    User : XXXXX
    Transaction : HRASR_DT
    Transaction ID : 4C77C682885A4119E10000000A01DF1A
    Action :Start of C Function
    Function (Group) : rstswsf_was_stor
    Parameters :
    Duration : No Duration at Start of Action
    Comment :
    Kindly let me know the root cause of the error....
    Thanks and Regards,
    Santhosh Kumar R

    Hi,
    1. Do you Have Workflow.
    If yes check in  the apprroval or the last step (Processing step-HRAdmin) whether Send Variant is active .
    to Update the Database this has to be active.
    2. If there is no workflow then
    check in the Tcode HRASR_DT at process level.
    in Drop down for send variant is update the Application database .
    Regards,
    Nachy
    Hope this helps

  • How To Simulate the Variant Functionality of se11.

    Hi all,
       In Module Pool Program, in the Subscreen I have Kept the select-options for 4 zfields(custom fields).
    and there is Save Button in the Main Screen that is Calling the Subscreen Below.
      My Requirement now is ,When SAVE is Done , I have to store all the conditions and values if entered in the Zfields just like a variant does and the Key No will be automatically generated.
    So that when they come to the screen again and give that no it has to produce the all the conditions and value set earlier from the table..
    The SAme functionality as of  variant does , But when I debugged that , I am unable to trace how that does.
    PLease help me out.
    I know that variant are stored in VARID,VARIT,VARI But how these tables get updated and how the values are getting on to screen when selected..
    Please Share the Ideas.

    Hi ,
    In this case, what you can do is :
    - when user clicks on save --> give him a popup/screen to save variant name
    - take all value that have to be saved and save it in table TVARVC with the variant name
    - next time you have to retrieve the variant values just do a retrieval from TVARVC and fill up your select options.
    Hope that this might help you.
    Regards,
    Dev

  • Maintain the variants for the deletion program first

    Hello Experts,
    When i am trying to archive documents through SARA Transaction, am getting the following error  "Maintain the variants for the deletion program first".
    Awaiting your early reply..
    Rgds
    Ramana

    You get this message because there is a new program being used for this archive object.  In addtion to adding a comment to the default variant, it would be wise to test the program in your QA system and review OSS for any updates.

  • Dynamic date range in the variant

    Hi,
    We have a background job that is scheduled to run on every 25th. One step of the job has a selection screen which has a Payment date range which is to have the dates 25th of previous to the 24th of the current month.
    So every month this needs to be updated dynamically. For ex: If I look at the variant of the step of the job in period 04 the date should be "03/25/2010 to 04/24/2010". If I look in Period 05 then it should be "04/25/2010 to 04/25/2010".
    Can anyone tell me if this can be achieved through a variant or does this have to be put in the code?
    Regards,
    raj/

    You can create a dynamic variant using STVARV following the steps in the given link...
    http://wiki.sdn.sap.com/wiki/display/ABAP/Creatingdynamicvariantusingtable+TVARV
    Now, the values in TVARVC need to be updated for each period. It can be done scheduling a separate BDC program, which runs for each period and updates the values. So, your date values will be changed for a new period by the background job and program variant wil pick up automatically the values from TVARVC. Check this link, which depicts a similar kind of requirement.
    Re: Update TVARVC Table Dynamically
    You can also calculate the values in intialization event each time the program runs as suggested by Sumit. But, if you need a variant then it won't help. The advantage with TVARVC is you can maintain different set of variants with different values.

  • Custom Process Type - Creating the variant screen

    My custom process type's logic is rather simple: run parts of the process chain only if it is the first day of the month, other parts only if it the last day of the month.
    I created a new custom process type (ABAP OO Class), but I am now struggling with creating the logic to create/maintain a variant for my custom process type.
    My goal is to have a simple interface with two radio buttons where the user clicks on the "new variant" icon. One choice is "run on the first day of the month", the other choice is "run at the last day of the month".
    My understanding is that this logic has to be implemented in the method IF_RSPC_MAINTAIN~MAINTAIN.
    To support this, I also created a database table that consists of:
    - process chain id
    - run type (B = beginning of month / E = end of month)
    - current process type id (not quite sure how to populate this field yet...)
    Can someone now point me into the direction on how the create the variant logic so that the radio buttons get displayed and the table updated with the user's choice?
    Thank you,
    Dennis

    Any ideas?

  • Process chain--how to schedule the variant even if there is no repeat opt.

    Hello Gurus,
    Can anybody help me out like the issue was...
    when monitoring the process-chain,the variant-load infopackage was successfully completed the status was green,and next to that there was a update from the PSA variant and then to that there is a ATTR.chane run variant,process chain strucked at these two variants.when i look into that there was no repeat option on both the variants.        so how could i schedule that from at that point.
    Thanks in advance for the solution!
    Regards,
    Dilip

    Hi Dilip,
    You have to do the remaining process steps manually.
    If the the failed process step is loading proces step, then make the QM status of that upload to Red and then refresh the process chain.. Some times you will get the repeate option with that.
    Or else end the process as described below:
    When ever the load fails in a process chain we need to check whether its a load error or a non-load error. For load we need to rectifie the error manually nd need to run the program which is given SAP SE38.
    RSPC_PROCESS_FINISH for this we need to pass some parameters.
    like process chain name. variant, instance and the status. Here status we will give as 'G'. so that chain can identify that the previous process has been successful nd run the remaining processes automatically.
    Refer the below Blog
    Blog for this : /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Assign points if it help you.
    Regards,
    Sreedhar

  • Dutch Denim update (country variant) gives 8018830...

    The Denim update (country variant) finally arrived for the 630 in the Netherlands, a couple of days ago. But I can't seem to get this update installed as it shows a 8018830f error when preparing the installation, after a succesful download.
    Now I know of three persons (two family members and a friend) that have this particular phone and have the same issue when trying to update. I also asked this question on a Dutch board and others seem to get this error with their phones too. So far, no one could come up with a solution. All these phones had more than enough internal storage and none of them ever used the Preview For Developers app.
    It would be crazy that we have to work our way around with a hard reset or by using the Nokia Recovery Tool. Something must be wrong with that update package since all of us have that same problem.
    Do you have any other suggestions concerning this problem?

    In the Software Recovery Tool, what is your 7-letter code (Product Code: 059…)? No Windows computer or USB: The same code is printed on your phone. That code determines your firmware variant which determines your current version. Then, hopefully a Microsoft employee is able to check what is up with that variant.

  • Standard Program Name for updating the System-Variables everyday in BACKGRO

    Hi All,
    Can anybody tell me the Standard Program Name for updating the System-Variables everyday in BACKGROUND job?

    Hello matt,
    I have a program with variant.
    This VARIANT input values will store in TVARVC table every day night background job.
    i want the program name

  • Pulling through the Variant description to the sales order

    Is there a way to change the material description in the sales order to match the Characteristic Value?  Is there an enhancement that may work?  Also, looking for an enhancement that will update the Equipment Master description based on the serial number with the Characteristic Value
    Example:
    Characteristic  XXXX Unit
    Characteristic Value number one :  XXXX   Standard Unit
    Characteristic Value number two:    XXXX  Standard Unit with  Upgrade
    Example:
    Sales Order was for the variant XXXX  Standard Unit with  Upgrade
    I would like to update the Equipment Master with this; so in the event a RMA was created we know which variant is being sent in for repair.
    Material Number: XXXXXX
    Serial Number XXXXXXX
    Description: XXXX  Standard Unit with  Upgrade
    Edited by: Kim Blair on Nov 10, 2011 3:06 PM

    hi Nikhilesh,
    Thanks for your reply, i have tried this but i am not able to save the HU (HU02), while saving i get the following error, "<b>SD doc 5141(this no. is the 1st 4 digits of my SO no.) is not in the database or has been archieved"</b>.
    It asks to run the report 'SDRQCR21', even after running this program i get the same error.
    Regards,
    Surya

  • Field value is getting double while updating the database table

    Hi Experts,
    A simple doubt :
    there is a standard program through which a zfunction module is getting triggered, through this zfunction module i am updating the database table.
    Now what happening is one of the field(KCQTY) value in database is getting double at a time when i am executing the Program with same variant only.
    I have also done the CLEAR & REFRESH internal tables starting of the Function module.
    Can you please help me out.
    Max points wil be awarded.
    thanks
    rico.

    Hi Nicole,
    this is the part of the coding where you can see how the field KCQTY is getting moved in the loop statement.
      DELETE IT_CE20002B_815 WHERE
          KONDA = SPACE  OR
          WERKS = SPACE  OR
          VVB01001 < 0.
        LOOP AT IT_CE20002B_815.
          INDX = SY-TABIX.
          CONCATENATE IT_CE20002B_815-PERBL0(4) IT_CE20002B_815-PERBL5(2)
                                                    INTO MONAT.
       MOVE itab_ce20001b-perbl TO monat.
          CLEAR S815.
          READ TABLE IT_ZPL_MCS5 WITH KEY KONDA = IT_CE20002B_815-KONDA
                                           BINARY SEARCH.
            SELECT SINGLE * FROM S815 WHERE VRSIO = '000'
                                         AND SPMON = MONAT
                                         AND KONOB = 'APO'
                                         AND MVGR2 = IT_CE20002B_815-KONDA
                                         AND PRODH = IT_CE20002B_815-PRDHA
                                         AND WERKS = IT_CE20002B_815-WERKS.
                                        AND VTWEG EQ CO_VTWEG_99.
    BREAK SAMEE.
          IF SY-SUBRC EQ 0.
    Eintrag in S810 existiert
            IF S815-AEMENGE <= IT_CE20002B_815-VVB01001.
    wenn die Auftragseingangsmenge kleiner gleich der Kontingentsmenge
    wird die Kontingentmenge in das Steploop übernommen
              MOVE IT_CE20002B_815-VVB01001 TO  W_T_DATA_815-KCQTY.
    *Liste ausgeben
             PERFORM AUSGABE4.
              PERFORM AUSGABE4_815.
            ELSE.
    Ausgabe Fehlermeldung, wenn die Auftragsmenge größer als die
                           Kontingentmenge ist.
    *Liste mit fehlermeldungen ausgeben, Kontingent trotzdem übernehmen
              MOVE IT_CE20002B_815-VVB01001 TO  W_T_DATA_815-KCQTY.
             PERFORM AUSGABE_FEHLER4.
              PERFORM AUSGABE_FEHLER4_815.
            delete it_ce20002b index indx.
            continue.
            ENDIF.
          ELSE.
    Es existiert kein Eintrag in S810, dann direkt eingeben
            MOVE IT_CE20002B_815-VVB01001 TO W_T_DATA_815-KCQTY.
            MODIFY IT_CE20002B_815 INDEX INDX.
    *Liste ausgeben (Kein Eintrag in S810)
           PERFORM EINTRAG2.
            PERFORM EINTRAG2_815.
          ENDIF.
    *Übergabestructur für die Weiterverarbeitung durch das Copymanagement
    *im Functionsbaustein wird gefüllt.
          W_T_DATA_815-SPMON = MONAT.   "itab_ce20001a-perbl.
          W_T_DATA_815-KONOB = CO_KONOB_APO.
          READ TABLE IT_ZPL_MCS5 WITH KEY KONDA = IT_CE20002B_815-KONDA
                                          BINARY SEARCH.
          IF SY-SUBRC EQ 0.
            W_T_DATA_815-MVGR2 = CO_MVGR2_999.
          ELSE.
            W_T_DATA_815-MVGR2 = IT_CE20002B_815-KONDA.
          ENDIF.
          W_T_DATA_815-WERKS = IT_CE20002B_815-WERKS.
          W_T_DATA_815-PRODH = IT_CE20002B_815-PRDHA.
         W_T_DATA_815-VTWEG = '99'.
         W_T_DATA_815-KUNNR = '9999999999'.
          W_T_DATA_815-KCQTY = IT_CE20002B_815-VVB01001.
          W_T_DATA_815-BASME = IT_CE20002B_815-VVB01_ME.
    JR181005 - begin of ins.
         w_t_data_810-matkl = it_ce20002b-matkl.
    JR181005 - end of ins.
          APPEND W_T_DATA_815 TO TAB_DATA.
          CLEAR IT_CE20002B_815.
        ENDLOOP.
    thanks for reply
    rico

Maybe you are looking for

  • OS Command batch script issue (FTP)

    All, I am running into a problem (i think it's simple) which I just can't seem to figure out. I have a FTP command which is in a batch script and I can run it manually (Its run in an old enviroment with Informatica) and the ftp script works just fine

  • Possible to create medium res .pdf file with InDesign CS5?

    Hello, Can anyone tell me if there is a way to create a medium res .pdf file with InDesign CS5? I'm working with a client and have been sending him both high res and low res files of a catalog project. High res .pdf is 12.8MB and low res is 1.2MB. He

  • 10g release 2 installation error

    i face an error with every installation of 10g rel 2 & sometimes with 10g rel1 lab environment : os: windows 2003 sp1 hardware hp original pc, 3.0 gb processor, 1gb ram the procedures as follows 1. when choosing to create a starter db 2. all installa

  • Missing Update Rules for 0IC_C03 in Business Content

    We had a problem with 0IC_C03,  so we decided to reload from Business Content and then migrate to 7.0 format again. However, when we try to gather all of the dependent objects for the InfoCube in Business Content, we only get one set of obsolete upda

  • A6000 keyboard default problem

    Hi Lenovo Community I have a problem. my default keyboard app is swift key. i already set it as my default in language and input. but everytime i reboot my phone, it always back to google keyboard. it's pretty annoying to change it back everytime i r