Variant creation using a program

Hi I want to create a variant for RIMODGEN program using another wrapper program
But I dont know how to save the values for a particular variant in RIMODGEN
Say I want to append values to the material parameter on selection screen of RIMODGEN using a variant...
Whats the table which stores the values for a particular variant??
<b><REMOVED BY MODERATOR></b>
Message was edited by:
        Alvaro Tejada Galindo

well that doesnt solve my problem .. so i had to put off the idea in between
I am trying to process more than 6K records at one go using wrapper program passing valyes to MATNR in RIMODGEN
But after 6K records single values SQL fails... so I thought may be I can process 6K records everytime for background processing..
But CFM1 should be activated and deactivated for every processing .. that means job cannot be scheduled one after the other

Similar Messages

  • Vendor master creation using RFBIKR00 program

    hi
    friends
    can any body help what is the structure and file format  i have to give when i run RFBIKR00 program to create vendor master data ... thanx in advance ..
    by
    leee

    Hi
    Are you trying to upload the data ??
    in that the program does some validation of
    the data, unlike most upload programs. For instance, you have to make sure
    that a vendor exists before you attempt to change it through transaction
    XK02, otherwise an error report is produced.
    In terms of data structure, the file must have a header segment as the first
    record (type 0), then various segment 1s and 2s. I don't know all the
    various combinations of 1s and 2s, but my client has used the RFBIKR00
    program 4 times in its vendor migration, the first 3 files creating
    different parts of the vendor data. Obviously the data itself is company
    confidential, but I can tell you the segment structure of each file:
    First file - Create General Data
    0YDL_MIS00251600PJA77336 20020713X/ (File Header)
    1XK01 ...
    2BLFA1
    1XK01 ...
    2BLFA1
    etc
    Second file - Create Company Code Data
    0YDL_MIS00252600PJA77336 20020713X/
    1XK01
    2BLFB1
    1XK01
    2BLFB1
    etc.
    Third file - Create Purchase Organisation Data
    0YDL_MIS00253600PJA77336 20020713X/
    1XK01
    2BLFM1
    1XK01
    2BLFM1
    etc.
    Fourth file - change (Partner Functions Data)
    0YDL_MIS00254600PJA77336 20020713X/
    1XK02
    2BLFA1
    2BLFM2
    2BWYT3
    2BWYT3
    1XK02
    2BLFA1
    2BLFM2
    2BWYT3
    2BWYT3
    etc.
    Separate programs are required to migrate vendor addresses, classification
    and text. If you go into transaction SXDA, put in LFA1, BINP and RFBIKR00,
    and copy the file to a location on a server, you can view the generic
    structure required using the Change file button.
    n LSMW you can take a file in whatever format you have,
    map the fields as necessary, and write to the structures
    needed by RFBIKR00. There is even a place within LSMW
    to run RFBIKR00 afterwards. Depending on what's coming in
    you may only have to link the fields across with no
    translation.
    By using LSMW you won't need to write any ABAP to open
    the file and change the format - all this is integrated
    in LSMW. Look at <URL:http://service.sap.com/lsmw> for
    an outline, dowloading and installing LSMW and for
    detailed documentation.
    LSMW is in effect "middleware" - though if you are able
    to get the original data in exactly the format used by
    RFBIKR00 then you won't need it.
    If you must write your own program to feed RFBIKR00 then
    the "made easy" guide is a good start, plus the SAP
    documentation of the program, and study of the
    structures via SE11.
    Make sure any mandatory fields either have an entry in the
    source data or that you can apply a default (which is also
    very easy in LSMW).
    Regards
    Pavan

  • Creation of Variant BOM using Simple BOM

    Hi
    I am havign a production BOM, i wanted to create Variant BOM using Production BOM.
    Pls let me know, whether we have any Function modules for the same.
    Regards
    MD

    check SAP std.program to create variant BOM .
    <b>RCSBI030</b>
    Regards
    Prabhu

  • Variant Creation in SAP BI To be used information broadcasting

    Dear Friends,
                            I want to create a VARIANT in SAP BI 7.0 Which is to be used in information broadcasting. I found One Document Named as "Variant Creation In SAP BI to be used in Information Broadcasting.pdf",in SDN Forums. I Couldn't able to Understand the Given Steps in it.
      Could any one of You Please send me the Procedure how to create a Variant.I should also see the "Determine from Variants" button in Work book precalculation Tab,which i am not able to see it currently under "Workbook Precalculation".
    Waiting for ur reply.
    Thanks in advance
    Regards
    Singam Bhaskar Reddy

    Hi,
    Even I have gone through the SDN document. It is clearly explained step by step. If you follow the same document thoroughly you will be able to see Determine From Variants radio button properly.
    Try to understand the document.....you will get the solution.
    Regards,
    Suman

  • Change a query variant using a program for APD

    Hello everyone,
    Some background:
    We have a complex reporting based on calculated key figures (CKF). However, the business rules do change over time, and the formulas for CKF get outdated. So the business meaning of CKF remains the same, but the way it gets calculated - changes.
    Yesterday CKF "A" = B + C
    Today CKF "A" = B + D - F
    Since the customer requires reporting for the former periods, maintaining several CKF of the same business meaning but calculated differently for each period becomes a problem.
    Instead of having several versions of CKF "A", we decided to use APD, to periodically run the query with valid CKF, save the query results to transactional ods, then move it to another infocube. Now we will have the infocube with figures and dates, and the customer needs to maintain just one CKF "A".
    After trying this out we've encountered following issue:
    Since the query will run periodically we must use a time period filter (in fact - variable on a time characteristic - APD is not working with filter) to select CKF valid for this month for example.
    The query in APD can work with variables only via query variants.
    Now, the question is how to change the query variant automatically?
    We can not force the customer to create new query variants each month for dozens of reports.
    We plan to integrate APD in the process chain (although we haven't check how it works), where the query variant will be changed using a program.
    so please advice:
    1) is there any function module to change query variants in the background
    2) which tables contain the query variant, so we can change it using abap
    3) may be you can suggest other options to make it work
    thank you
    Message was edited by:
            Northern

    Hi,
    here it is.
    write this code in SE38.
    REPORT  ZDATE_CAL..
    DATA: itab_tvarvc like tvarvc,
          l_date like sy-datum,
          l_monthyear_low type /BI0/OICALMONTH,
          l_monthyear_high type /BI0/OICALMONTH,
          l_day(2) type c,
          l_month(2) type c,
          l_year(4) type c,
          l_mandt(3) TYPE c VALUE '010',
          l_type(1) type c VALUE 'S',
          l_numb(4) type N value '0000'.
          l_day = sy-datum+6(2).
          l_month = sy-datum+4(2).
          l_year = sy-datum+0(4).
          concatenate l_day l_month l_year into l_date.
          concatenate '01' l_year into l_monthyear_low.
          concatenate l_month l_year into l_monthyear_high.
    variable for current month interval
    itab_tvarvc-mandt = l_mandt.
    itab_tvarvc-name  = 'ZDATE_INV'.
    itab_tvarvc-type  = l_type.
    itab_tvarvc-numb  = l_numb.
    itab_tvarvc-sign  = 'I'.
    itab_tvarvc-opti  = 'BT'.
    itab_tvarvc-low   = l_monthyear_low.
    itab_tvarvc-high  = l_monthyear_high.
    update TVARVC from itab_tvarvc.
    This code will always maintain the entry for the variable 'ZDATE_INV' as range from the start of month till current month.
    you can modify it store anything yuou want.
    Now when creating the variant by clicking the create variant option when running the query.
    you have the option in the "selection variable" column here you will find only TVARVC table as option select it and then in "name of variable" use the Z variable you have just created.
    This will automatically pick the current value for the variant for that variable.
    So anytime the variant is used in any of the scheduling it will pick the inout from here.
    make sure that the variable for time interval is of same type as that of the entry in the TVARVC table.
    That if it is of type calmonth then TVARVC table should have variable entry of type calmonth.
    thanks

  • To provide "variant creation facility" in a Molule pool program

    Hi
    I have develope a molude pool screen with some  input fields.
    now I want to provide " variant creation facility" as in standard reports.
    I will enable "SAVE" button on the status bar. but  I have no idea how to  provide
    variant creation facility same as in standard reports.
    please help me .
    Regards
    Kakoli

    Hi,
    I doubt if it can be achieved by standard solution or FMs. But i have an idea. Check the feasibility of implementing it.
    Provide 2 buttons. One for saving the variant, other for selecting the variant.
    Create a Ztable with variant name as the key field and rest of the screen fields as non key fields. Now, on clicking the save button, update this Ztable with all screen field values. On clicking the get variant button, query this Ztable and provide a popup with available variants. If a variant is selected, populate the values from Z-table to screen.
    But can we handle table control with this approach!!!!??? I hope no.
    Thanks,
    Vinod.

  • VARIANT - CREATION AND USE

    Dear Guru's
    Can you  tell me what is use of variant  and what are steps to create variant
    Thanks
    Bhaskar

    Dear,
    Better way to understand variant is like a saved document where specific settings have been made and whenever you want to see that you open that document.
    Let's take a scenario. There is a requirement that in FBL3N screen default items are required like G/L account - 450000 to 480000, company code 1000 and open item date to be 01.04.2009  to  30.04.2009. How will it be done.
    Answer is to create variant.
    Use transaction FBL3N, insert the above mentioned information into respective fields then click on save icon which will direct you to create variant screen. Here give the name of variant and maintain status of the fields that you must be aware of and save it. Result is you have create variant.
    Use Next time whenever you execute FBL3N and want above data to be filled then don't fill them but click on get variant.... icon beside the clock and enter variant you had created. So, all the value saved in the variant will be defaulted.
    Variant saves your time from doing the repetitive tasks every time.
    Regards,
    Chintan Joshi.

  • Variant creation

    Hi,
    We have a variant for a SE38 program, which is being used by a batch job to execute the program in the background.
    We would like to change the variant directly in production, but find in the attributes that the variant is protected.
    My questions are:
    1) How can I change the variant
    2) If I cannot change the variant then I would like to delete it and create a new variant with the same name. In that case how can I enter values in the attributes? Because on the selection screen of the program, there is a field called Idoc Run Date. This field should be populated dynamically. In the current variant (which we would like to change) find that there is a parameter for idoc run date RS_VARI_V_TODAY_X.
    3) If I delete the existing variant will it also delete the parameter RS_VARI_V_TODAY_X.
    4) How do I create the parameter RS_VARI_V_TODAY_X (or any other parameter). and attach it to the new variant.
    Any help would be appreciated.
    Thanks in advance.
    MIck

    Run your program in online mode in production.
    On the selection screen, put all the values you want to store as variant.
    Now press the Save button.
    You will be directed to Variant creation screen.
    Give your variant name.
    Save it.. it will ask for "overwritten".. say yes.
    Regards,
    Naimesh Patel

  • Material Creation Using BDCs.

    Hi all,
    I have developed a program for Material Creation using BDC.
    Material is Being created and that is working well and good.Here i have a Requirement to update the Newly creted material in Ztable.So when i use call transaction mathod,i have written code for updation under the line CALL TRANSACTION.where in iam getting newly creatde material from MARA table,and so it is working perfectly fine..
    But our requirement should be sessions method,so when i use sessions method and exeute the program..we face the problem of updation.
    the piece of code for updation is updating previously created material.
    Literally speaking only the sessions are created ,when the program is executed,material is not created when program is run.Material is only created when the sessions are processed using SM35,
    So how should i do here,where should be the updation code written and where will we get the newly created material in sessions method..
    Pls Help me in solving this problem

    hai priyanaka it might be due to configuration problem
    bcos manulay also ur gettign this , so just consult ur MM consultant for soem setting
    regards
    afzal

  • HU creation using HUPP3

    I have following doubt on Planned HU creation using HUPP3 (since i am using this transaction for the first time and not sure if the client has done any modifications)
    1. Is it standard to pack more than one sales order line items in one HU using HUPP3
    I have a scenario in which business is creating one HU for more than one line items of a sales order (shipping point for all the line items is same).
    The issue is in HU the VEKP_NTGEW & VEKP_BRGEW fields takes the weight of first line items of the HU only.
    Customer modified the program SAP standard program.Here they can select multiple line items in single HU but while displaying HU through HUMO t-code it showing only first line item details like net weight.But client want it should show total weight of HU.
    Can anybody tell me how to achieve above requirement.

    Hi All,
    Thanks for viewing the query. I have found out the issue
    The client had made some modifications to the program.
    In standard SAP through HUPP3 only one line item of a sales order can be packed into one HU

  • How to get the VARIANT name in the program

    Hi Guys,
    Can somebody tell me how to get  the VARIANT name in a program.
    I have to perform some code with specific variant only. So I want to check in program which variant has been used to call the program.
    Thanks,

    Hi,
    Variants are stored in table VARI and VARID.
    You can use RS_ALL_VARIANTS_4_1_REPORT to get all the variants for a report program.
    please check out the link below it will be helpful to you
    Re: Programs for a transaction variant
    Hope this helps.
    ashish

  • How to get a default variant screen using LDB.(HR-ABAP)

    Hello,
                   I have created a report using LDB PNP.Used HRBEN000 as a hr report category.
    Got a default selection screen, I want to add one more field, for this I have selected the field from further
    selection button, and displayed on the screen. Now i saved as a variant.
    how to get this default screen using the variant in the report/program when executed?
    Please help me.
    Thanks&Regards,
    Archana.

    Hi ,you camn always make your Z report category...if the field is present in further selection tab..
    if not you can create your own paramerter or select option.....
    but you have to handle it in your code ....as get pernr wont filter on its basis(parameter select optyin created by you)
    but why loop at screen is not working?
    let me know how you are doing...
    have to do it in at selection-screen output

  • From which table could i get all the Variants of a ABAP program?

    Hi,
    From which table could i get all the Variants name which belong to a specific ABAP program?
    Thanks.

    Hi Hoo,
    You can get the variants of a ABAB Program from table <b>VARID</b>. Give the report name to the VARID-REPORT field and you will the list of variants for this report under field VARID-VARIANT and VARID-ENAME is the user who created the variant.
    Otherwise, You can use the function module RM_GET_VARIANTS_4_REPORT_USER to get the variants of a report
    Thanks,
    Vinay

  • Variant Creation for the Back Ground Jobs

    Hi experts
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    2)I believe  Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    3) Is it require to check the adjust time series for generating CVC's for every time?
    4) How to generate the proportional factors for all the products in the single job?I assume that  need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    Please give your valuable opinions on the above queries
    Thanks in advance
    Edited by: Mani4690 on Mar 4, 2009 9:37 PM

    Hi,
    Below are the answers to your queries.
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    While creating CVC's (t-code /n/sapapo/mc62)select your MPOS, goto create characteristic combinations, then enter Target mpos, say generate in background, tick against all fields in action selection, and then save as variant. During planning area initialisation(/n/sapapo/msdp_admin), select your planning area, right click and say create time series objects and then enter planning version, start and end dates and execute job in background.  While calculating proportional factors (/n/sapapo/mc8v), enter ur planning area & infocube and then save as a variant.  For loading data from infocube to planning area (tcode /n/sapapo/tscube), select the infocube, planning version, planning area, planning versin, periods, tick mark in results log, key figure assignments, if you have any selection criteria enter, and then save as variant.
    2) 2)I believe Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    Correct
    3) ) Is it require to check the adjust time series for generating CVC's for every time?
    Yes, it is required.
    4) How to generate the proportional factors for all the products in the single job?I assume that need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    if you use mc8v t-code and provide planning area & infocube, it will ask for version name and dates, once u enter this info, proportional factors will get created.
    Regards
    R. Senthil Mareeswaran.

  • Vendor creation using LSMW

    Hi All,
    I m  trying to do vendor creation in LSMW method using RFBIKR00 program,please any one guide me I strucked in 2 Maintain Source Structures after this cursor not moving to next radio button even though I done for next steps final it is not reading the data,pls help me out..
    Thanks n regds,
    sree.

    Hi
    Check these links..might prove useful
    [http://www.sapdb.info/wp-content/uploads/2008/08/lsmw.pdf|http://www.sapdb.info/wp-content/uploads/2008/08/lsmw.pdf]
    Regards
    Raj

Maybe you are looking for