Calling an R3 Transaction with Variant

Hi there
I have just been told that part of our requirements for EP will be to use variants when accessing R3 reports from EP. I will be told the Transaction Code, and the variant, and it would be nice if I could execute the report with that variant as the iview loads.
I have found a couple of posts which talk about using tcode START_REPORT, and then D_SREPOVARI-REPORT=<REPORTNAME> & D_SREPOVARI-VARIANT = <VARIANTNAME> in the application parameters, but the problem is all this does is load the variant ... it doesn't actually process the first screen, even if I set the option PROCESS FIRST SCREEN to yes.
I see from the posts that I can create a new report, which calls the required report with the required variant. Is there no other, simpler, way of doing this?
Any information would be greatly appreciated.

You're probably missing parameter: D_SREPOVARI-NOSELSCRN=X

Similar Messages

  • Create transaction with variants

    Hello All
    How to create a transaction with variants ? I m aware of the Tcodes SE93 and ShD0. but how to go about it?
    when I entered the details in se93, I got an error message as " variant does not exist"
    when I entered the details in ShdO, I got an error message as transaction does not exist.
    I Dont have access to SHDS transaction.
    Kindly advise.
    Thanks.

    SE93>(name of the cutom TCODE)Select the Parameter TCODE>You will get a screen with lot of inputs
    In Default values select the Transactio option > enter SM30>Check skip initial screen(if u dont want to see the initial screen in SM30).
    In GUI support (Check all the Check boxex).
    (Last option in the screen ie.defaults)
    Name of the scrren field       Values
    VIEWNAME                     <View name>
    UPDATE                             x

  • Issue calling program from transaction with selection criteria

    Hi Guys,
        I ve a issue regarding calling a program from transaction.
    There is a standard transaction calling a program  using selection criteria no (say for eq 10 fields, just look at the eg below)
    Submit  <table-proname> and return using selection-set <table-varia>
    With rbukrs  = i_bkorm-burks    “Comp Code
    with  Revent = i_bkorm-event  “ event
    with rbelnr  = ibkorm-belnr     “Doc no
    with rgjahr = ibkorm-gjahr   “fiscal year
    with ruzeit = ibkorm-ruzeit  “time
    with rusnam = ibkorm-rusnam “user name
    And so on
    Now, In my program selection screen  i  ve only three fields, (not all mentioned above)
    Parameter:
    Rbukrs  type bukrs, “comp code
    Rbelnr type belnr, “doc no
    Rghar type gjahr.  “fiscal year
    Now, i configure this transaction with this program i can able to run this program  from transaction.
    Is every thing go right, Pls give your sugg
    Points & help awarded.
    Thanks in advance.

    Hi,
    you can call the program using 3 selection screen fields even though it is having 10 fileds, but before calling make sure that there is no mandatory fields (in rest of the 7 fields), then it will runs you report.
    reward if needful.
    Thanks,
    Sreeram.

  • Transaction with Variant

    Hi ,
    I am trying to create a transaction variant for a transaction called PPOMA_CRM in SAP CRM.
    There is a context menu on a subscreen.Is it possible ot hide or deactivate the context menu when using tranasaction with variant.
    Similarly I have a locator in the left side which needs to be hidden.
    Please help.
    Neeraj

    Hi,
    I hope this is CRM related transaction code.
    If it is a SAP Transaction code work with SHDO Transaction code... (in this Tcode you can deactivate or hidle fields in the transaction code)
    Try with above tocde, it suppose to meet your requirement
    Thanks
    Ramakrishna Pathi

  • Create transaction with variant not working

    Hello!
    Here's my issue -- I have a program that, right now, is more of a shell than anything else.  It is to access the HR Logical Database PNPCE, and to help filter the data I pull back, I created a Selection View with a couple of additional fields.  I put the necessary values in these fields and saved it as a Variant.
    All I want to do is create a transaction to run my program and start it using my Variant to fill in these additional fields.  Using SE93, I can create a plain transaction with no problem.  However, if I click the "Start with variant" drop-down field, I get a response that says screen 1000 (my default Selection Screen) has no variants.
    At first we thought there was some client-side things needing configuration, but if I go create a quick-and-dirty program with a single Selection Screen value (no Selection View) and a Variant, SE93 sees the variant with no problems.  So I'm wondering if maybe it has something to do with the fact that I'm using a Selection View.  Unfortunately, I'm so new to ABAP, I'm completely stuck on how to proceed.
    Any suggestions?  Thank you so much!

    Saquib, thank you SO much!  You're right -- that worked.
    As a relative newbie to SAP R/3 and ABAP, I'm new to little quirks like this.  In other examples, the list (F4) does show the variants.  For some reason, this one didn't.  I entered it anyway, saved, and ran the transaction, and it popped up with the fields populated from the variant.
    Again, kudos and thank you so much.  Points duly awarded.

  • Call program using submit with variant that changing value

    Hi All,
    I need to call a report with variant and abstract the data back to my current program.
    so far,
    i use following method
    SUBMIT RFITEMAR USING SELECTION-SET 'XXX'
           EXPORTING LIST TO MEMORY
           AND RETURN.
    DATA list_tab TYPE TABLE OF abaplist.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
      DATA: L_ABAPLIST LIKE ABAPLIST OCCURS 0.
      DATA: BEGIN OF L_ASCITAB OCCURS 0, 
                LINE(2048),
              END OF L_ASCITAB.
      CALL FUNCTION 'LIST_TO_ASCI'
           EXPORTING
                LIST_INDEX         = -1
           TABLES
                LISTASCI           = L_ASCITAB
                LISTOBJECT         = list_tab
           EXCEPTIONS
                EMPTY_LIST         = 1
                LIST_INDEX_INVALID = 2
                OTHERS             = 3.
    However, the problem is that i need to get some value from variant 'XXX' and keep changing it.
    I have try function module "RS_VARIANT_VALUES_TECH_DATA" to get the variant details.
    But, it just doesn't get me back all the details of the variants.
    Are there any way i could read the variants in detail? i even try to read LRAW data from table vari. but there are no function module to convert the LRAW to either char or STRING.
    Thanks.
    Edited by: simplekx on Jun 20, 2011 4:43 PM

    You can use the FM "RS_CHANGE_CREATED_VARIANT" to change the variant values for already created variant and the FM "RS_VARIANT_CONTENTS" to get the variant values. Instead of changing the variant values and then passing to the Submit, you can directly pass the values to the Submit through..WITH SELECTION-TABLE seltab or ... WITH p IN sel variant of the Submit.

  • SE93, custom transaction with variant, how to check if variant is used

    Hi,
    I have created a customer transaction ZHCM_CV01N for transaction CV01N - created a variant with SHD0 and assigned it to ZHCM_CV01N).
    sy-tcode returns 'CV01N' for both CV01N and ZHCM_CV01N transactions.
    How can I check whether user ran CV01N or ZHCM_CV01N ?
    I thought maybe I'd be able to read current transaction variant, if it is the same one I've created in SHD0 then I'll know that my modified transaction is running and not the original one.
    Cheers,
    Bart

    Hi,
    maybe you should delete autorithation for CV01N for users, then you can be sure, that only your new transaction is running.
    Regards
    Nicole

  • Help! Report Transaction with Variant ??

    Hi there,
    another opportunity to increase your points.
    Problem :
    I have created a variant for the transaction mb51 (report). And now I wanted to create a 'Report Transaction' .. but I am not able to find my variant in the F4 help. Moreover if I personally type in the variant I get a message which says 'No <u>system variant</u> chosen for nonlocal object'...
    I have no clue where my variant is gone and what the System variant means... please help..
    regards,
    ZAM
    Message was edited by: ZAMUser

    Problem Solved .. I saved my variant with cus& prefix and got over ..
    regards,
    ZAM

  • Iview calling R/3 transaction with double click to call url

    Hello,
    I have create a bespoke transaction that displays EH&S incidents, the user has the option to double a line which calls a web dynpro and displays in a new window. (FM CALL_BROWSER is used to open the URL)
    This functionality works in R/3, if a user double clicks 1 item a new window opens and when he double clicks another item an new window opens as expected.
    However when this action is carried out in the portal using the iView, the first time the user double clicks and item a new window opens, but when another double click is executed, no new window is opened.
    To me this sounds like a setting is missing in the Iview (by the way, this is my first time using iViews, so be gentle) or something is not being cleared.
    any help would be appreciated.
    Regards
    J-J

    Hello James....
    This might sound stupid to you...but just I need to suggest one thing...
    This happens if you double click on a link...it opens a new window...
    now before you double click a new link.....you need to close the earlier window....
    then only new window will be opened....
    well this happened once to me...so i thought to suggest the same to you also...
    but their are minimal changes that this could be the reason.....

  • In EP, call R3 transaction with dynamic variant name

    Hello
    I know that I can call a R3 transaction with a dedicated variant thanks to the process below:
    Create a transaction iview , Tcode = "START_REPORT"
    In application parameters pass these values separated by '&' sign.
    D_SREPOVARI-REPORT - your report
    D_SREPOVARI-VARIANT - your saved variant.
    choose skip inital screen in the parameters.
    But do you have a tip to call a different variant for every user.
    For example, I have users "1111" and "2222". In R3 I have created the variant "1111" and "2222" for a transaction.
    In EP, I would like that when I call this transaction connected as "1111", the variant "1111" is used, and when I'm logged as "2222", the variant "2222" is used.
    Do you know how I can do that ?
    Thank you !

    Hello,
    where is the information which user has to call which variant stored? If it's in R/3 then you can write an wrapper report which is called from the Portal, adds the Variant information and then calls the original report.
    Regards
    Gregor

  • 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

  • Call transaction (MF60) with variant

    hi
    in user will save  some variant of the TCODE : MF60, and will put they in job what use SM36 to set job schedule.but the resule message can't be know in BG work.
    i want to write a report to run the Transaction (MF60) and to save message with abap application log.
    first:
    how to find the Transaction contain variant?
    second:
    if i use abap code: CALL transaction in report,how to set variant to transaction.
    three:
    i know the command:SUBMIT will call from VARIANT:
    but MF60's report is RMPU_SEL_SCREEN,but this report have two transaction: MF60,MF63.
    how to set Transaction to this RMPU_SEL_SCREEN.
    four:
    i know the SM36 will set variant to TCODE,how to open job in ABAP.
    thank you very much!

    in my company,users will create themselves varaints about MF60.
    and they put variants in job schedule (use SM36 ) in bg work at night.
    so when these job is over,the last message don't show for they.
    they doubt about it and they will spent lot time to get what oneself document for last genearate.
    i want to write a report and put this report in job schedule  to run MF60.
    and get last message for call transaction in abap appliacation log.
    next day users just use TCODE SLG1 to view last night run MF60 result.
    so first i must get all MF60 of variant what will be run and get message
    when this  transancations is over.save message in database!
    thank you very much for  your help!

  • Shortcut for transaction/report with variant?

    Hi!
    Is there a possibility to create a shortcut for a report/variant and a specific variant for that transaction?
    I do not know, how to implement the variant into a shortcut.
    E.g. I want to use the shortcut to call up the transaction CNS47 with the variant ORDERS.
    Thanks,
    Stefan

    hi,
    afaik, it is not possible to assign multiple variant in a tcode using SE93, cmiiw.
    but an idea is copying original CNS47 into ZTcode (customize) : ZCNS47a,  ZCNS47b, ZCNS47c and so on, and then assign each (different) variant to ZCNS47a, ZCNS47b, ZCNSc and so on.
    not a great idea, but may resolve your issue.
    rgds,
    alfonsus guritno

  • Skip first screen of BD87 using call transaction with BDC_DATA option

    hello all,
    i am using call transaction with BDC_DATA option and i want to skip first screen, so can anyone please tell me how can i skip first screen of BD87 and get second screen that is output screen?
    regards.

    Hi
    Build a BDCDATA with following code..
                                                          T     BD87                                                                               
    RBDMON00     1100     X                                                                               
    BDC_CURSOR     SX_DOCNU-LOW
                                                                BDC_OKCODE     =CRET
                                                                SX_DOCNU-LOW                                                                               
    SX_CRETI-LOW     00:00:00
                                                                SX_CRETI-HIGH     00:00:00
                                                                SX_UPDDA-LOW     05.02.2010
                                                                SX_UPDDA-HIGH     05.02.2010
                                                                SX_UPDTI-LOW     00:00:00
                                                                SX_UPDTI-HIGH     00:00:00
    RBDMON00     0100     X                                                                               
    BDC_OKCODE     =BACK
    RBDMON00     1100     X                                                                               
    BDC_OKCODE     /ECBAC
                                                                BDC_CURSOR     SX_DOCNU-LOW

  • Creating a report transaction(SE93) and Start with variant

    I have a report that I am creating a transaction using SE93 with in our development client.  I also have a variant associated with this report.
    When I am on SE93, I entered the program name, selection screen = 1000, and choose the dropdown list for "Start with variant", nothng appears.  My variant does not appear in the dropdown.  Why is that? 
    I also tried creating a transport for the variant, thinking that this was the problem, but that didn't help either.
    What am I missing here?
    Thanks for your help.

    Just type the variant name instead of F4. You may see some inconsistencies because the variant is created under local object.
    Edited:
    Right answer would be
    Go to se38 - Enter the program name - choose variants - Change - Enter variant name (choose attributes but not values) - go to UTILITIES (on application menu) - Transport request - Create a transport before you create a transaction.
    The reason: You cannot use local variant in transactions and the variants you have created in the program are local.
    Good luck
    Edited by: Sampath Kumar on Nov 16, 2009 11:04 AM
    Edited by: Sampath Kumar on Nov 16, 2009 11:07 AM

Maybe you are looking for