Cal transaction using screen variant

All Experts:
     I want to call a transaction with a variant, this is a screen variant I set in that transaction? can I do this? how to do that? please kindly give me an example for reference, thanks.
T-code A, Report A
T-code B, Report B
variant 1 is set in the screen of Report, I want to call T-code B with vartiant 1 in the T-code A.
Thanks in advance.

Hi,
you can't use call transaction with variant.
1. in SE93, create a transaction with variant type. so that without varianet you can't execute the transaction.
2. try to use Submit Statement.
Examples:
*Submit report and return to current program afterwards
SUBMIT zreport AND RETURN.
*Submit report via its own selection screen
SUBMIT zreport VIA SELECTION-SCREEN.
*Submit report using selection screen variant
SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
*Submit report but export resultant list to memory, rather than
*it being displayed on screen
SUBMIT zreport EXPORTING LIST TO MEMORY.
Reward if found helpful
Regards,
SB

Similar Messages

  • How to create transaction or screen variant for custom tcode in module pool

    Hi,
              I have one module pool program with custome tcode ,i want to create transaction or screen variant for this tcode.Next time when we run this tcode we need a variant for this tcode.
    I tried by using of SHD0 but it is working only for standred tcodes.Is there any possibilty please help me.
    thanks,
    Lavanya.

    Hi,
    you created a Custom Tcode for ur module pool Pgm..if u execute the Tcode in the output screen give the input details and press Save Option then variant will be created. Then you can use that variant.
    otherwise.. while creating a Tcode..
    select an option for Tcode type Tranasction With variant ..there u will provide the variant for ur Tcode ( which is already created ).
    Regards,
    PraVeen.

  • Changing the column position & width using Screen Variant..

    Hi Experts,
        Iam trying to change the column position and width for the standard transaction (eg. FB60 or VA02) using the transaction code SHD0 (Transaction and Screen Variant).
        Iam able to create and save the transaction and screen variant and i could see the check box options for table control like
        a. Auto Column Position
        b. Auto Column Width
         I tried checking and unchecking both the check boxes but iam unable to modify / maintain the column position and width.
         Please guide me in changing the column position and width.
       Thanks in Advance.

    Hi Mudit,
    Kindly go through this link below:
    http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/content.htm
    Hope it helps you
    Regrds
    Mansi

  • How to uncheck a checkbox using Screen Variants?

    Hi Masters!
    Anybody knows how to uncheck a checkbox that is already checked by default?
    I'm trying to do this using screen variants. I uncheck the checkbox and save the value (I also tried filling other values there like 'a', space, etc. and it didn't work), but at runtime it always shows the checkbox checked.
    At the same transaction there is a unchecked checkbox by default witch I can check it with a screen variant, but somehow I can't do the other way around...
    Any suggestions?
    Many thanks in advance,
    José Omar

    I checked the code and found something interesting. The
    variable I'm trying to uncheck is GV_WITH_CONTACT_PERSON.
    It's declaration:
    DATA: GV_WITH_CONTACT_PERSON TYPE XFELD VALUE 'X'.
    At the initialization of the program (at the first screen module):
    PROCESS BEFORE OUTPUT.
    MODULE INITIAL_STATE.
    And inside the MODULE INITIAL_STATE there is also:
    MOVE 'X' TO GV_WITH_CONTACT_PERSON.
    So there are places in the code that the checkbox is checked.
    Now we get another problem. I don't now when the values set at a screen variant are inserted in the screen. Is it possible that the code itself is overwriting the value set with a screen variant? Or is this not possible at this point in the code?
    Many Thanks,
    José Omar

  • Create transaction and screen variants

    Hello
    I want to create transaction variant for VA01 and MM01 in order to simplify the data entry. I know SAP has SHD0 as a tool and Synactive has GuiXT to make all these changes. But I wonder what are the differences between these 2 tools.
    Please let me know,
    Thanks,
    George

    Dear Mr.George,
    <u><b>Transaction Variant</b></u>
    You can only create transaction variants for dialog transactions and reporting
    transactions.Only "normal" screens, dialog boxes, and subscreens can be
    included in the variant.
    <u><b>Screen Variants</b></u> are automatically created anytime you create a
    transaction variant.
    <u><b>Initial Screen</b></u>
    Enter the name of the transaction and the transaction variant on the initial screen. The system creates a cross-client transaction variant. If you want to create a client-specific transaction variant, choose Goto -> Client-specific transaction variants tp branch to the client-specific transaction variant maintenance transaction.
    Client-specific transaction variants only exist in the client in which they are created. The field contents of the transaction variant must be available in this client. Cross-client transaction variants are available throughout the system, regardless of the client currently being used. The field contents of these transaction variants must be available in all clients.
    Creating the Transaction Variant
    Choose Create to create a variant.
    The system calls the application transaction that you want to create a variant for. Enter the values you want to use in the in the input fields. Each time an action is completed, a Dialog Box, appears listing the fields of the current screen with their current values. The kind of dialog box called depends on the kind of screen currently being processed (see Requirements).
    Here you can determine:
    if you want to save the field values you have inserted on the current screen (the "Adopt field values" checkbox)
    if you want to hide the entire screen (the "Do not display screen" checkbox). This is only possible if settings are copied to your variant ("Adopt field values")
    if field contents are saved (the "With contents" checkbox)
    if the ready for input status of specific fields should be revoked (the "Output only" checkbox)
    if specific fields should be hidden (the "Invisible" checkbox)
    if specific fields should be mandatory the "Mandatory" checkbox)
    You may or may not be able to select each of these checkboxes for every field depending on the field's type (--> Requirements).
    Screen variants are created automatically for each screen where values have been saved (adopted). Enter screen variant names in the "Name of screen variant" field. These names must be unique. If the system is able to find a unique name for a screen variant it is automatically inserted into this field. The convention reads like so: (< name_of_transaction_variant>_(<client>)_<screen_number>).
    Choose the function Continue to proceed. The following pushbuttons are available:
    The Cancel function displays the current application transaction screen again. Here you can make changes to your settings.
    The Menu functions function displays an additional dialog box wher you can deactivate menu functions.
    The GuiXT function allows the user to edit a GuiXT script for the current screen (--> GuiXT).
    The Exit and Save function exits and saves the application transaction. A list appears containing all of the screens in the application transaction that you want to save entries for (that is, all screens for which screen variants will be created).
    Enter a short text for your transaction variant here.
    Display settings can be changed as needed from this list in the future. Settings that require information at application transaction runtime (field values, table control columns) cannot be changed from this list.
    Choose "Save". The system saves your transaction variant and the corresponding screen variants. The Workbench Organizer dialog box is displayed for the transaction variant and for each screen variant. Use it to assign each of these objects to a package.
    You can also branch to this list using the Change values function during the function selection process.
    Deleting Preassigned Values
    You can delete all of the values you assigned to fields of a single screen in a transaction variant by resetting (deselecting) the Adopt field values checkbox. This deletes the screen from your variant, even those entries that were transferred to the variant during previous processing.
    If a screen variant has already been created for this screen, then the system simply deletes the screen variant's transaction variant assignment; the screen variant itself is not actually deleted.
    Individual fields can be deleted from transaction and screen variants by resetting (deselecting) their corresponding checkboxes.
    <b>If useful reward points.</b>
    Regards
    Mangal

  • Actual GI date mandatory using screen variant SHD0

    Hello All,
    I have a requirement to make the Actual GI Date as mandatory field in Vl01n.
    I am using  screen variant in SHD0
    TRANSACTION CODE -- VL01N and
    SCREEN VARIANT --- BUS2124_DEC_CREATE_1102
    PROGRAM -
    SAPMV50A
    SCREEN ---1102
    and click on change mode
    This will lead to nex screen where you can find the Field ACTUAL GI DATE against which the field status are available
    Check the REQUIRED field and save it.
    Here comes the problem when i tested from SHD0 transcation the actual GI date is showing has mandatory field but when i Run VL01n Transaction  Actual GI date is not showing has mandatory field. Could you please tell me what may be the problem?
    or let me know if any other method to make the  Actual GI date has mandatory field in Vl03n.
    Thanks in Advance.
    Satish

    You should've created a transaction variant. (You can attach the screen variant to the trxn variant as well).
    In SHD0 there is a tab "Standard Variant", there you've to enter the name of your transaction variant & activate it. This will bind the trxn variant with the trxn & everytime you run the trxn your trxn variant will be executed.
    BR,
    Suhas

  • Transaction and Screen Variants.

    14.10.2008
    Hi friends,
    I create Sales Orders with different document types. My requirement is, a document type (ZOEX) when accessed using VA02 only a limited number of fields (Ship to Party, Contract end date), Price ..) should be editable, the rest should be in display mode. How do i make use of transaction code SHD0. I would want to test this in my sandbox.  Tried various forum messages but still not clear how to use SHD0.  Please guide  
    Regards,
    Udaynath.

    Hi Shesagiri,
    Thanks for your reply.
    Using SHD0 , I created Transaction variant ZVA02 for Transaction code VA02 and in the first screen variant ZVA02S1, i made the field WBS element as invisible, continued with subsequent screen and made the fields Sold to Party, P.O number and P.O date as invisible and output  only. After saving as local object when i use transaction code ZVA02 i dont find any changes coming up. Can you please guid me further.
    Thanks and regards,
    uday
    Edited by: UDAYNATH KRISHNAN on Oct 16, 2008 12:35 PM
    Hi Gurus,
    Can someone  help me with screenshots on transaction / screen variants. My requirement is the user should not be able to change any fields in the sales order when in change mode (VA02).
    Regards,
    Udaynath

  • Transaction and screen variant

    Hi,
    I've created a transaction in SE93 and i specified a screen variant.
    When i execute my transaction, the variant fills the fields of the selection screen and wait for a validation. I don't want that. I want to skip the selection screen and display the next dynpro. Since the variant feeds the selection screen, I don't undersatnd why it asks fo a validation.
    I want the same effect than a SUBMIT <program> USING SELECTION-SET <variant>.
    Any ideas ?
    Thanks

    The two values that i pass through my selection screen are two CHAR. There is no control on these values.
    When i call my transaction, the variant feeds the fields and then, we need to click on the execution button (with the green clock) to continue and pass to the other dynpro.
    I dont know why it stays on the dynpro 1000 as the two have been filled....
    Thanks

  • Disabling post ability in FV50 using screen variants

    Hi,
    I'm attempting to eliminate the post ability in FV50 by deleting the post options (drop-down menu and button) using a screen variant. I've successfully eliminated it on the main FV50 screen but during testing discovered there is a post button within the "simulate" sub-screen.
    Does anyone know how to disable the "Post" button within the sub-screen?
    Thanks,
    Pete

    Hi All,
    Worked around this by eliminating the post button on the main screen. It appears that the 'Simulation' screen does not have a unique identifier therefore I was unable to restrict via transaction variant. We decided to accept the risk of having the post button on this screen. We managed our exposure to is by restricting F_BKPF_BUK - ACTVT - 01 to only authorized users.
    Thanks to everyone who responded!
    - Pete

  • Transaction and screen variant SHD0

    Dear Gurus,
    I have created a variant in SHD0, now when i activated it, its working for all user ids.
    Can i restrict it to certian users. If yes, how ?
    kind regards

    Hi Roopali,
    May mentioned lick is helpful to you
    http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation
    How to use SHD0?
    Rgds
    Suma

  • Screen Variant Not  working

    Hi,
    I have created one screen variant for screen for SAPLBBP_SC_UI_ITS screen 230.
    It's getting called while i checked by debugging .
    But its not working in ITS Template & in transaction also .
    In SAPgui it's not working .
    Is there any more setting for Screen variant apart from just save it & called in screen variant BADI .
    Thanks,
    SS

    Hi
    <u>This BADI as you can see by name is for Screen Variants.
    BBP_SCREENVARIANT in this case.</u>
    <b>Please read the following documentation to get the clear difference</b>
    Transaction Variants and Screen Variants
    Transaction variants can simplify transaction runs as they allow you to:
    Preassign values to fields
    Hide and change the 'ready for input' status of fields
    Hide and change table control column attributes
    Hide menu functions
    Hide entire screens
    In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
    Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
    There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
    A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
    In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
    No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions).
    Screen variants
    Screen variants allow you to simplify screen editing by:
    Inserting default values in fields
    Hiding and changing the ready for input status of fields
    Hiding and changing the attributes of table control columns
    A screen variant contains field values and attributes for exactly one screen.  A screen variant can, howevever, be assigned to multiple transaction variants. Screen variants are always cross-client; they may, however, be assigned to a client-specific transaction. They can also be called at runtime by a program. The different possibilities for calling screen variants guarantee great flexibility of use.
    For more information, see: Calling Screen Variants
    A specific namespace has been designated for screen variants and they are automatically attached to the Change and Transport System.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • How to call a transaction with a variant

    Hi all
    I created a bdc program after updating it should call another transaction with predefined variant that that transaction program is of type module pool.
    can anyone tell me the syntax how to call a transaction with a variant.

    Hi
    goto Tcode SHD0
    enter the Tcode for which Tran Variant has to be created(dialog Tcode)
    enter Trans variant to be created
    press create button
    it will go through all the screens of that Tcode and save
    and modify the fields as per requirement
    we can create Transaction Variants Using SHD0 Transaction.
    Transaction Variants and Screen Variants
    Transaction variants can simplify transaction runs as they allow you to:
    Preassign values to fields
    Hide and change the 'ready for input' status of fields
    Hide and change table control column attributes
    Hide menu functions
    Hide entire screens
    In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
    Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
    There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
    A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
    In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
    No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions).
    Regards
    Anji

  • Screen Variants in Webdynpro

    Hi @ all,
    just a simple question. Is their a possibility for using screen variants in WD4A like know out of R/3 selection screens?
    Thnx
    Matt

    Hi Matthias,
    This is feature is not available for SelectOptions in WDA. Nonetheless, it can be emulated by providing save/load buttons and saving/loading the data to/from some place.
    Best regards,
    Thomas

  • Screen Variant BBPCF02 Vendor name notly shown

    Hi Guys,
    I am new to SAP SRM...
    I  got a issue that "We need to have the Vendor name on the search result for transaction BBPCF02 & Screen Variant BBPCF02 Vendor name notly shown.
    can you guide how to solve this issue.  I have posted the issue in SRM.. But i am not getting any response.. Since it was very urgent for me, I am posting this issue in this forum
    Thanks in Advance

    close

  • Screen variants for Header details info

    Hello Experts,
    I have a requirement to use Screen variants for the header related details to default values in FB50 and use Account assignment template for line item related details.
    We can create the screen variants in FB50 by right click on "screen variants for item" folder and select Create Screen variants in Screen variants. Even if i follow the alternate path to create screen variants in SHD0, and add it in the Tree of FB50, i still am not able to get the header details after choosing the created screen variant.
    Can someone help me to achieve defaulting the header information in FB50 using screen variant and tell me how can we use account assignment template after defaulting the header data?
    Thanks,
    Sindhu
    Edited by: SindhuSSwamy on Dec 22, 2009 2:55 AM

    Hi Bill,
    Yes, There are ways to disable these links. Since, You are in SRM40 (Think There is SRM40/EBP(SRM Server 50)only), you should be able to use BADU BBP_SC_MODIFY_UI to hide them which is simple.
    Regarding Ship-to/Performance Location, Use Doc Change BADI to read storage location address and pass it onto Ship-to/Performance Location. We have done many times in the past.
    SAP standard screen variants for the Shopping view is very limited. But, you can develop you own screen variants in SHDO and use Screen Variant BADI to trigger your customs.  We had used this and is pretty good. No hassle of HTML changes / maintaining them every upgrade. 
    Thanks,
    Jay

Maybe you are looking for

  • MM Flow

    Hi All,, can u give me instructions how to do the below mentioned steps..m i suppose to do this in development server?when i search for goods receipt -101 in migo t-code am nt getting any po numberswith respect to it.. also can u breif me about mm fl

  • Illustrator CC 2014 slow opening networked files on some PC's

    Have 6 PC's running CC 2014. 5 Win 7 Pro 64, one Home 32. Two weeks ago two of the pro 64 PC's are pausing for 20 seconds opening or saving illustrator files of any size on the network (Server 2008 R2). No issues with any other programs or any of the

  • Word count and my ActionPerformed

    I am having a little trouble with my program and was wondering if anyone could spot the mistake... I am trying to make a simple application that will count the number of words in a text field via click of a button and display the results. import java

  • How to Fetch the Row value in SBO Formatted search

    Hi Experts, I have created a Sales order, in which i  have 4 UDF Fields(A,B,C,D) in the following: Example values: A  B  C  D  2   2   4  4 3   2   6  10 C=A*B D=1st value of D + 2nd col value of C i have written query for C, but how to write the For

  • ADDING THE NEW TAB TO PERSANALIZATION IN LEFT PANEL OF BCC

    Hi guys I am trying to add a new item to persanalization . and i created genericActive.xml taskConfiguratin.xml orderviewConfigaration.properties and the headline is coming in panel but content of the order table are not replecting it showing followi