To get pushbutton for variant

Hi all,
I am submitting a report in a report. I want to get the pushbutton for several variants, in the submitted program. Now, I am able to send a single variant using:
SUBMIT rep VIA SELECTION-SCREEN
                   USING SELECTION-SET vari
                   USING SELECTION-SETS OF PROGRAM prog
or using
SUBMIT rep VIA SELECTION-SCREEN
                   WITH SELECTION-TABLE seltab
Can anybody suggest on how to get the pushbutton too..
I guess it should be done using classes and methods...
Is there any other method.. without using classes and methods?
Thanka a lot.

Hi srinivas,
    I Understand your problem and i can suggest you two solutions:
               1) You can read all varients from table called  VARID and show it in a customised screen before submitting the program.
               OR
               2) You can very well get the  input from user in the selection screen of program 1 and submit the program with the varient.
Hope it may helps you:)
Regards,
Sreenivasa Sarma K.

Similar Messages

  • Stock Report for Variant configuration

    Hi Experts,
    Request your help to get the following information.
    We have a material which are packed in to multiple packing modes. Inorder to ease the selection of packing mode in sales order, we are thinking of introducing variant configuration. I.e all the packed materials will be created as variants in SAP and the sales order will be created for the configurable material. When the proper characteristic is selected the material will be automatically replaced by the variant.
    But the requirement is to see the stocks of all the varaints along with the configurable materials as the header. For eg. Material A is having variants A1, A2 & A3. The sales quantites are 25, 30 and 35 respectively.
    In any of the standard report, can I see the sales of these along with the total sales of config mtl A as 90
    Please guide.
    Thanks & Regards
    Prathib

    Hi Prathib,
    On my last project, we define material code with the same code at the beginning like you do A1 A2 A3 (for variants) and AC for example for configurable material. Then for stock report you can use MB52, in material field just write A* it will show you stock from material start with code A. But make sure you define material type and material group for selection wisely. It works for me. Now depends on how well you define your structure.
    Regards,
    Arman

  • 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

  • Authorizations for variants

    Hi All,
    I have created may own transaction that calls ABAP query and gives some report. It has its own variant for selection screen. Now as I am creating roles, I get the message that the authorization for variant is missing. So, I know how to create/edit roles in PFCG but I don't know how to add authorization for variant to existing role.
    Thx.

    Dear Suad,
    I think, the best place for your query is [Forum: ABAP, General|ABAP Development; or [Forum: SAP NetWeaver Administrator|SAP NetWeaver Administrator;
    Instead, Best way is, to Contact BASIS-Admin.
    There are few Transactions, that could be referred:
    T. Code: SE93
    You have created Z - VARIANT Transaction Code, using the Transaction and the Transaction Variant. Based up BASIS-Admin will assign the authorizations (for the respective users).
    T. Code: SU53 or ST01 - for missing Authorization
    T. Code: SU21 - Create Authorization Object
    T. Code: SUIM - Roles by Authorization Object (which is not relevant, as your's is Z-Transaction for Screen Variant)
    Best Regards,
    Amit
    Note: There are few relevant threads, it might help you
    [Roles - Authorization Issue|Re: Roles - Authorization Issue]
    [Missing Authorization|Missing Authorization] - Albert's Post
    [Authorization Object|Re: Authorization objects and Roles]

  • T.code for Variant creation

    Hello Gurus,
    What is the T.code for variant creation
    regards
    sapmm

    Dear sapmm99,
    In my understanding the default values that should be automatically reflected for the input parameters for executing any report is
    referred as a variant.
    Say for Eg,executing report MB52,in case if I execute the report several times with the same input,i can save the input parameters
    and create that as a variant and in future i can call this variant to reduce the work load and execute the report.
    For eg: enter the plant 1000,material type as FERT,some material group and click on the save icon and the system asks to enter
    the variant name and the meaning and then select the check boxes for protect variant and click on copy screen assignment.
    If i want to protect the entered input parameters i can select the check boxes for the same and save and come out.
    Next time when i execute the same report MB52 and if I need some default values to get copied,i can get the variant by clicking on
    get variant or else Shift+F5 and select the saved variant.
    Check the same for the reports like ME5A.
    Check and revert.
    Regards
    Mangalraj.S

  • IDOC / BAPI for Variant Config

    Can anyone help with getting data out of Variant Config detailing all possibilities?  Does an extract/upload BAPI / IDoc exist?
    If not does anyone have any other advice on how to do this?
    Rgds,
    Mark

    Hi,
    If you are looking for Variant Config data of a Sales Order, then the function is VC_I_GET_CONFIGURATION
    The function expects VBAP-CUOBJ as the input
    regards,
    Advait
    Edited by: Advait Gode on Oct 28, 2008 10:16 PM

  • Sales order for variant material using BAPI "BAPI_SALESORDER_CREATEFROMDAT2

    Hi,
    I am using BAPI "BAPI_SALESORDER_CREATEFROMDAT2" for creating salesorder for variant configuration material. I am able to create a salesorder when have only one variant material, However when i have more than one variant material getting errors. Can some one tell me how to fill the material data in the config tables provided in the BAPI.
    Thanks.

    Hai Vinit
    Check the following Code & also Check the following Standard Programs
    L2032U12
    LCRMAU01
    LCRMAU11
    LZOC1U01
    MWWMJF32
    RBUS2032
    Structures for order header
    DATA: l_order_header_in    LIKE bapisdhd1,
          l_order_header_inx   LIKE bapisdhd1x,
    Tables for order items
          li_order_items_in    TYPE STANDARD TABLE OF bapisditm,
          li_order_items_inx   TYPE STANDARD TABLE OF bapisditmx,
    Order partners
          li_order_partners    TYPE STANDARD TABLE OF bapiparnr,
    *Schedule lines
          li_ORDER_SCHEDULES_IN  TYPE STANDARD TABLE OF BAPISCHDL,
          li_ORDER_SCHEDULES_INX  TYPE STANDARD TABLE OF BAPISCHDLX,
    *-condition type
          li_ORDER_CONDITIONS_IN   TYPE  STANDARD TABLE OF BAPICOND,
          li_ORDER_CONDITIONS_INX   TYPE  STANDARD TABLE OF BAPICONDX,
    Return table from bapi call
          li_return TYPE STANDARD TABLE OF bapiret2,
    Sales document number
          l_vbeln LIKE bapivbeln-vbeln,
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
    EXPORTING
    order_header_in  = l_order_header_in
    order_header_inx = l_order_header_inx
               testrun          = 'X'
    IMPORTING
    salesdocument    = l_vbeln
    TABLES
    return           = li_return
    order_items_in   = li_order_items_in
    order_items_inx  = li_order_items_inx
    order_partners   = li_order_partners
    ORDER_SCHEDULES_IN = li_ORDER_SCHEDULES_IN
    ORDER_SCHEDULES_INX = li_ORDER_SCHEDULES_INX
    ORDER_CONDITIONS_IN = li_ORDER_CONDITIONS_IN
    ORDER_CONDITIONS_INX = li_ORDER_CONDITIONS_INX.
    Thanks & Regards
    Sreenivasulu P

  • How to limit servermgr_filebrowser to boot volume, to prevent 'Error getting quotas for volume'

    Having a system with 1 boot drive and 15 backup drives, we do want to limit the server manager 'servermgrd' its 'servermgr_filebrowser.bundle' to retrieve/check the disk quota only on the boot volume ('/').
    Because:
    the backup drives are FAT formatted, which will fail every time with this error message: 'servermgrd: servermgr_filebrowser:Error:servermgr_filebrowser: Error getting quotas for volume /Volumes/I of type exfat'
    the quota check is repeated every 2 hours (120 minutes), causing the log the be filled with these message and the drives to spin up 12 times a day (consuming more power than necessary and causing extra drive wear)
    How can the server hard disk drive quotum check be limited to the boot volume only (not scanning for any other volume)?
    And when that isn't possible, what is the correct way to completely disable servermgr_filebrowser?

    Thank you Mark you are vary helpfull
    Did you mean that (lower) by "bundle strategy"?
    <cachestore-scheme>
    <class-scheme>
    <class-name>com.griddynamics.ticketon.app.dao.coherence.TicketCacheStore</class-name>
    </class-scheme>
    <operation-bundling>
    <bundle-config>
    <operation-name>store</operation-name>
    <preferred-size>5000</preferred-size>
    <auto-adjust>true</auto-adjust>
    </bundle-config>
    </operation-bundling>
    </cachestore-scheme>
    And if yes is it looks sense?
    I mean by this, "send records to TicketCacheStore by 5000 per call " am i right?
    I dropped delay to 10s and set factor to 0.5
    Not coherece send me 5-20k records and cachestore handle whis successfuly.
    But! By diferent means it may work longer sometimes, some lock in database for instance.
    I want to find durable solution for the case, not only lower a chance i meet one.
    Issuing heartbeat from cachestore looks best for me now.
    I find that default guardian timeout is 65s and it is not looks as good idea to make it higher.

  • Creating Data Source for Variant Configuratior characteristics.

    I'm trying to create a data source for material classification that is using the Variant Configurator. In transaction CTBW I'm using the following:
    - Basis datasource = 0MATERIAL_ATTR
    - Client 150
    - Class Type 300 for Variants.
    - Obj Table = MARA
    - Data Source Type = ATTR
    I then get the following error messeage:
    "Object type is not a sheet type in the class type".
    Dose any one understand this message or how I should create the datasource for this classification?
    Thanks for your help.
    Denny

    Thank you very much for your response. Can you tell me how you found this explanation of this error? I tried searching OSS and did not find anything.
    Ok, so since 0material can have multiple values I cannot use CTBW to extract the values.
    My company is using the variant configurator on a material number 'EXTND_WARRANTY' in R/3. This material is defined as a configurable material. The Class is 'ZEW_SOFTWARE' with the following characteristics:
    -Material Number
    -License Key
    -Maintenance Length
    -Coterminous Enddate MM/DD/YYYY
    In BW reporting we need to show the material 'EXTND_WARRANTY' with the value of the characteristic Material Number.
    Can you tell me how I can accomplish this?
    Thank you.
    Denny

  • NOT Getting Values for LOCATION...on MultiProvider REPORT

    HI All,
    I have a MultiProvider on 4 cubes.All these 4 cubes having object LOCATION. I can see data in all cubes for LOCATION. I am running a report on this MultiProvider.
    Problem:
    I am not getting Values for LOCATION. Why?
    What I did:
    I checked all location objects of all 4 cubes @ MultiProvider level .
    I didn't use any Infoprovider in Qry designer sections.
    Please suggest. What is the reason how to solve..
    THanks & Regards.
    Sri.
    Edited by: siri26 k on Dec 5, 2008 10:41 AM
    Edited by: siri26 k on Dec 5, 2008 10:41 AM

    hello,
    in the identification tab of the MP,make sure you have checked all four checkboxes across the 4 infoproviders.
    then in Listcube T-Code, select your MP,display the records based on selection inputs and see if location is populated.
    If the data is not coming in listcube, then it will not come in the Query too.
    Reg,
    Dhanya

  • I have an iPad 2 and all of a sudden I have no sound in game apps. I have usual volume in videos and YouTube, I do get volume for games if I plug in headphones. I have switched to screen lock off and on again and I have also done a reset twice.....help :)

    I have an ipad2 and all of a sudden I have stopped getting sound in my game apps. I get normal sound on YouTube and I player and downloaded DVDs. If I plug headphones in then I can get sounds for the games. I have switched the lock screen button off and on again and done a reset twice, can anyone help me with this?

    Check your settings. The iPads have a small switch on the right edge. It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/ts1630
    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
    To solve some sound problems, just follow these simple steps
    1. Go to Settings
    2. Tap on General
    3. Tap on Reset
    4. Tap on Reset All Settings
     Cheers, Tom

  • Values not getting displayed for members which doesnt have parents

    Hi
    I created a product dimension with 4 levels .For members which doesnt have parents,data is not getting displayed in JavaClient.
    The values for members which doesnt have parents are getting displayed in the view created for the measures which are dimensioned by Product .I mapped the same view in the CWM2 work space ,but value is not getting displayed for members which doesnt have parents ,but values are getting displayed for members which have parents for measures.
    Is it a bug , we were able to do it in Express ..
    Can anybody help us in doing this.??
    Thnx in Advance......

    Hi,
    This assumes that the members which do not have parents are mapped to the top level in the hierarchy. If they are at a level below the top level then they are not part of the hierarchy and therefore would not be displayed. So this sounds like expected behaviour.
    Hope this helps
    BI Beans PM Team
    Oracle

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

  • Header Vendor text is not getting displayed for PO in BBP_PD transaction.

    Hi Experts,
    We are upgrading   SRM 3.0 to SRM 7.0 .In the upgraded  sys the Header Text 'HTXT' is not getting displayed for the Purchase order created in BBP_PD. For the SCs  the Header text field is populated correctly.
    Inputs on this will be very helpful.
    Regards,
    Ravi.K

    Ravi,
    Check in IMG if the text schema is used in configuring PO transaction type. Define Transaction Types is the setting.
    SG

  • Unable to get RequestDispatcher for Context

    Eclipse 3.3.0
    Tomcat 6.0.16
    Java 1.5.0_13
    Mac OS X 10.5.6
    Greetings:
    I'm attempting to retrieve information cross context in my web application. I've attempted to enable cross context access by three means.
    - I've added "crossContext=true" to the <Context> element in the server.xml of the Tomcat configuration under the Servers project of my workspace.
    - I've added "crossContext=true" to the <Context> element in a META-INF/context.xml in the WebContent folder of my project.
    - I've added "crossContext=true" to the <Context> element of the context.xml file in the conf directory of the Tomcat installation directory.
    Yet despite these changes I'm still seeing "Unable to get RequestDispatcher for Context....Verify values and/or enable cross context access" in the console. What do I need to do to enable cross context access using Eclipse? Thanks for any help.
    ETA - I've had this working before. I believe that I upgraded to Tomcat 6 from Tomcat 5.5 and that's when the jstl cross context actions broke.
    ETA - I've got it working in Tomcat 6. The problem arises when I change the name of my webapplication from "foo" to ROOT inside eclipse. I want a jsp page in the ROOT web application to be able to access a servlet in the "bar" web application.
    Edited by: nantucket on May 17, 2009 2:17 PM
    Edited by: nantucket on May 17, 2009 2:26 PM

    Thanks for your reply evnafets.
    How many times do you declare your context???I know, I know... I got frustrated. :o)
    But seriously, since my post I've discovered that it is "working" but not in the manner I had expected within the IDE. That is, if I access the page at
    http://localhost:8080/ROOT/myPage.jspThen I can see the contents retrieved from the context bar. But if I use.
    http://localhost:8080/myPage.jspI can see that the page somehow has been deployed to the root context, but the error code 500 appears in place of where the content from the bar context should be.
    However, if I export war files for these two web applications and run them in Tomcat 6 outside of Eclipse, everything works as it should. So this is an eclipse issue with respect to deploying a web application to the root context. Maybe there is some configuration about that I must make somewhere.
    I hope that makes sense.
    Anyhow, the server.xml file contains the following..
    <Context crossContext="true" docBase="bar" path="/bar" reloadable="true" source="org.eclipse.jst.j2ee.server:bar"/>
       <Context crossContext="true" docBase="ROOT" path="/ROOT" reloadable="true" source="org.eclipse.jst.j2ee.server:ROOT"/>The jstl code in the jsp page accessing the context bar is the following.
    <c:import url='/helloworld?action=view' context='/bar' />

Maybe you are looking for