TCode to create APD variant

I need to create an APD related varinat, can you let me know which Tcode takes you to the screen that takes input for program name and the program variant.....

Hi,
Use Process Chain for Creating an Variant
Use the Process type ABAP program & the report RSAN_PROCESS_EXECUTE in process chain to automate APD.
And also Check this Link
Launching an APD analysis process from an ABAP program
Thanks
Hari

Similar Messages

  • What is the tcode for creating a variant ??

    Dear Guru,
    I want to know What is the tcode for creating a variant  which is being used for SM30 's variant option .
    Because we have created a maintenance view and we want to run this trhough tcode..
    but dont know how to do it.
    pls guide through out the procedure.
    thanks & regards
    Saifur rahaman

    Hi,
    If you want to create the TCODE for the TMG you created you must go for Parameter Transaction
    Go to SE93
    Give your Tcode
    Click Create , select parameter transaction Radio Button
    In the Transaction Field Give SM30
    Check the Check box SKIP INITIAL SCREEN
    select your GUI support and SAVE
    in the space provided give F4
    Select        VIEWNAME and give your table name
    Select                  UPDATE  give it as X
    then SAVE
    Edited by: Prasanth Kasturi on Nov 25, 2008 6:54 AM

  • How to create a variant used in SM30,View variant in Parameter transaction?

    Dear Team,
    I have a view V_TCURR. For which I would be creating a parameter transaction for transaction SM30 by filling the default Values section (VIMDYNFLDS-LTD_DTA_VR, VIEWNAME,TVIMV-VARIANT). The values for first two fields are obvious.
    The question is on TVIMV-VARIANT How can we create a variant which can be used in tcode SM30.
    Delving a  little deeper show that these variants Obsolete since R/3 Release 3.1I: Selection variant for a table or maintenance view.
    Since R/3 Release 4.0, there are view variants instead of selection variants.
    The field only exists for reasons of backwards compatibility.
    If thats is so, How do I use the same in parameter transaction..?
    I have tried creating a view variant and use it parameter transaction but in vain..
    Please help resolve my problem. I hope I am very clear. If still need any clarification, please get back to me.
    Thanks a lot in advance,
    Reagards,
    Sai.
    P.S. Though there are multiple quuestions on simlar subjects none of them has been either answered or is completely relevant to mine.

    Dear Suman,
    Thanks a lot for the answer. Actually the Tcode is getting created if I do what you have said me.
    But when I run the tcode which was created by view variant created, I am not getting the desired details .
    To be more clear..
    Previously there was a variant (TMIMV-VARIANT) created with follwing criteria..
    Table TMIMV.
    TABNAME    VARIANT AS4POS            VIEWFIELD NEGATION OPERATOR     VALUE         AND_OR      TABIX
    V_TCURR     ZTHB     1     KURST     NOT     EQ     M     AND     2          
    V_TCURR     ZTHB     2     KURST     NOT     EQ     DWBP     AND     2          
    V_TCURR     ZTHB     3     TCURR          EQ     THB     OR     4          
    V_TCURR     ZTHB     4     TCURR          EQ     USD     OR     4          
    V_TCURR     ZTHB     5     TCURR          EQ     US$          4     
    When we run tcode created by paramaeter transaction.. viewname as  V_TCURR, TMIMV-VARIANT. I am getting the desired records for updation.
    But if I do the same using View variant with the same selection criteria
    Table            Field name     Operator      Comaparison  AND/OR
                                                                   Value
    TCURR     KURST     NE     'M'     AND
    TCURR     KURST     NE     'DWBP'     AND
    TCURR     TCURR     EQ     THB     OR
    TCURR     TCURR     EQ     USD     OR
    TCURR     TCURR     EQ     US$
    And the run the tcode created by using the view variant .. I am getting No entries found that match selection criteria...
    Could you please help and let me know if I am missing any step.. Kindly also check from your side how this can be achieved.
    Thanks a lot in advance,
    Sai.

  • How to create a variant

    Hi :
       I developed a BDC program using call transaction, and also a tcode for this program.How can i add variants to this tcode.
    from se38 when i enter program name and from menu bar im selecting variants tab, here im creating a new variant and saving it.
    But when i execute my tcode, in selection screen i am not seeing variant option.
    Do i need to add any code for creating a variant in my program?
    Thanks.
    Raghu

    Hello,
    CALl the Transaction U have created fro the BDC. It will show the selection screen. There u fill the data for the field and SAVE button will be there in the menu click it will ask for Variant name give it and save.
    If useful reward.
    Vasanth

  • Creating a variant in my program?

    Hi :
    I developed a BDC program using call transaction, and also a tcode for this program.How can i add variants to this tcode.
    from se38 when i enter program name and from menu bar im selecting variants tab, here im creating a new variant and saving it.
    But when i execute my tcode, in selection screen i am not seeing variant option.
    Do i need to add any code for creating a variant in my program?

    You enter the selection-screen details in your program and hit the save button and next time you visit the program either thru custom tcode or thru se38 you will be able to see the variants u created
    CALl the Transaction U have created fro the BDC. It will show the selection screen. There u fill the data for the field and SAVE button will be there in the menu click it will ask for Variant name give it and save.

  • T.code FKMT: the customizing navigation to create new variants ...

    Hi All,
    with reference to t.code FKMT (Account Assignment Model) could anyone show me the customizing navigation to create new variants in the screen template (from menù: seetings/screen template) ?
    Thanks
    Gandalf

    please check
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/screen-template-define-in-tcode-fkmt-2375586
    http://iris.tennessee.edu/BPP/FI/Finance%20&%20Controlling/FI_GL_FKMT_FI%20acct%20assnmt%20model%20mgmt.doc.
    hopes it helps
    Edited by: Jose Lastra on Oct 26, 2008 1:01 PM

  • Creating a variant transaction

    Hi,
    Im trying to create the above in SE93. Im calling it Z_SWWL and its calling transaction SWWL, which contains variants. But its not finding any 'transaction variant' to choose from!?
    Any ideas?
    Thanks,
    Dave

    Hi
    goto SHD0 tcode and create a Transaction variant with screen variants for a dialog Transaction
    then assign that Transaction variant in SE93 by creating a variant transaction code
    see the doc
    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).
    see the links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/132f9803d76f40e10000000a422035/content.htm
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1213076,00.html
    Re: shd0 transaction
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/132f9803d76f40e10000000a422035/content.htm
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1213076,00.html
    Re: shd0 transaction
    Regards
    Anji

  • Create a variant in SM30

    Hi All!!
    Could anyone please let me know how to create a variant in SM30?
    I want to save some input so that I need not enter it everytime I run the tcode SM30, so how do I do it?
    Thanks.

    Creating Variants Locate the document in its SAP Library structure
    Prerequisites
    You must have defined one or more selection screens for the relevant program. The program may have any type except type S.
    Procedure
       1. On the initial screen of the ABAP Editor, enter the name of the program for which you want to create a variant, select Variants in the Sub-objects group box, and choose Change.
       2. On the
          variant maintenance initial screen, enter the name of the variant you want to create.
       3. Note the naming convention for variants (see below). Choose Create.
          If the program has more than one selection screen, a dialog box appears in which you can assign the variant to one or more screens. The dialog box does not appear if the program only has one selection screen. In this case, the selection screen of the program appears straight away.
       4. If there is more than one selection screen, select the screens for which you want to create the variant.
    Example:
    This graphic is explained in the accompanying text
    Note
    If you choose Variant for all selection screens, the variant also applies to any selection screens that you create after creating the variant.
    Otherwise, the variant only supplies values to the selection screens that you select in the list.
       5. Choose Continue.
          The (first) selection screen of the program appears.
          If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them. If you keep scrolling forwards, the Continue button appears on the last selection screen.
       6. Enter the required selections, including multiple and dynamic selections.
       7. Choose Continue.
    Result
    When you have finished, an overview screen appears (ABAP: Save Attributes of Variant), on which you can enter the attributes of your variant and save it.
    Note that when you create a new variant, you must enter both values and attributes.
    Note
    Names of variants: Names can consist of up to 14 alphanumeric characters. The "% " character is not allowed. If you want the variant to be transported automatically with its program, you must create a system variant. The name of a system variant starts "CUS&" for customers, and "SAP&" for SAP system variants. You can only use the "&" character within this prefix in the name of a system variant. It may not occur in any other context. System variants are administered by the Workbench Organizer. Although you can create and access variants from any client, they are always stored in client "000".
    End of Content Area
    refer
    <b>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98037ae58611d194cc00a0c94260a5/frameset.htm
    https://forums.sdn.sap.com/click.jspa?searchID=919770&messageID=1779621
    https://forums.sdn.sap.com/click.jspa?searchID=919770&messageID=1773555
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • APD : Variant Creation

    Dear All,
        I am using APD. I am pushing data from a Query to ODS.
    Query----Filter----ODS . this is my structure.
    The query has 0calday input at selection screen. But in APD how can I incorporate this. If I go to Query properties in APD I get an option "Variant" but how do I create a variant for my query in APD? And this query has to be scheduled at the end of every month. So I require a variant that changes every month....
    Regards,
    Ratish
    [email protected]

    APD does not suuport selection screen variables and hence variants ...
    You need to handle this in Routine ...
    e.g. you can write a routine to get  a database table for which you want to execute it !!!  you need to maintain this DB table with appropriate values every month ...
    Priya

  • How to create new variants - VA05

    Hi All,
    I'm new in SD
    How to create new variants in Tcode VA05, our client wants to create new variants as per user selections, pls advise how to resolve this issue.
    Regards,
    Sankaran

    Below is an example of step by step explanation...Following that u cud do that in VA01...
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/transactionVariant-AStepbyStepGuidefor+Creation]..
    Hope this helps...

  • No fields displayed while creating transaction variant

    Hi,
    I am trying to create a transaction variant via SHD0 for the tcode 'VF31'. I enter the ZVF31as transaction variant  in the transaction variants tab and click on the create button. It takes me to the VF31 screen. From there when I click on Back or Exit button, it takes me to the change transaction variant screen. Although I did get the fileds listed the first time, I am unable to get the same subsequently. Is this a GUI problem? Quick response would be much appreciated.
    Thanks,
    Preethi

    Selection variant is possible to VF31. If selection screen is 1000 ( Executable programs) then we cannot create Transaction variant,

  • Create Screen Variant

    Hi,
    I want to create a sreen vairant for Tcode- FB60. I want to pre-polulate some fields as well as sort some particular field on the expense line item in a particular order. Please help
    Thanks.

    Hi Shelina,
    You can use transaction variant (transaction code SHD0) or GuiXT to create screen variant.
    For more information, please check this links.
    SHD0:
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/f639fb015111d396480000e82de14a/content.htm
    GuiXT:
    http://help.sap.com/saphelp_erp2004/helpdata/en/89/91b9d8194f11d5b3a30050dae02d7c/content.htm
    http://www.synactive.com
    http://service.sap.com/guixt
    Hope this will help.
    Regards,
    Ferry Lianto

  • Creating dynamic variant on Period field in transaction MC$4

    Hi,
    I would like to create dynamic variant for field 'period' on the selection screen of tcode : MC$4.
    I would like to create a variant for the logic: current period - 12 months.
    I am able to do this on the date field in the variant as its defined using data element datum. Thus it allows me calculation.
    But the period filed in the sel. screen has NUMC type so not able to do any dynamic variants for this filed.
    Please help if anyone has any info on this.
    Helpful replies will be awarded.
    Thanks,
    Husain

    Any inputs will be appreciated...

  • How to create a variant to a maintenance view (trans: SM31)

    Hi gurus.
    I have created a maintenance view (called z_jest). By running it from SM31 there is a variant option. However, I am not able to create the variant which I want to filter a selection upon in this transaction.
    I have even looked into transaction SE54 and created a variant for the maintenance table view there( called z_jestv). Then going back to transaction SM31 and view z_jest, i push 'Variant' radiobutton and type as variant: 'z_jestv', I only get the message: "Variant z_jestv for object z_jest does not exist".
    Can anybody please advice on how to create and/or connect the variant to the maintenance view?
    Regards LL.

    Hi Mahalakshmi
    Thanks for reply.
    When I look into the procedure, there is a prerequisite: "The basis dialog for which the maintenance variant is created already exists."
    I am a little bit unsertain if I miss this 'Basic dialog'. Can you please advice on how to check / create this 'basic dialog' before I go on to create the variant. (I need this 'basic dialog' as input in the procedure you sent.)
    (Note: I have already created a 'maintenance dialog' for the view, but I have a feeling, that is something different...)

  • MMPV - Close period - How to create a variant

    Hello all,
    Transaction MMPV is used to close the MM period and open a new one. Currently, we run this transaction every month MANUALLY.
    We would like to create a variant that will open the new period automatically every month. The only problem is the period / year that changes every month (I do not know how to create a variant with changed values - if it is at all possible).
    How can we create a variant that will run every month to close the MM period ?
    Thanks for your help,
    Isaac

    Hello Isaac
    It is possible......But to make it happen you need to go with date field and not with Period and year.
    Steps -
    1 - Enter field FROM Comp Code and TO Comp Code
    2 - Enter the date (E.g - 05-Mar-2007)
    3 - Save as varient....Give the varient names as required.
    4 - Activate the 4th checkbox (Selection variable) in front of date field
    5 - Click on button 'Selection variable' at the top of screen.
    6 - Click on YELLOW light. This will turn it GREEN. Now you have 1st light as YELLO which was previously yello.
    7 - Click on the down arrow just below the yello light.
    8 - Select the appropriate option and save the varient.
    The day of batch job scheduling depends upon the options you selected in the 8th step.
    I hope it clarifies your dought and will allow you to create the varient as per your requirement.
    Best Regards
    Avinash

Maybe you are looking for

  • Cannot install Lojack for Laptops

    The install is failing when it is in the final stages and checking that it can connect with Lojack server. Has anyone ever used this software? thanks paul

  • ISE Posture to guest clients

    Hi Guys, i'd like to know if is it possible to make a posture to Guest Clients using the Web Agent  after they had been login into the portal. thanks

  • HT4528 my phone wont play in my car through usb

    This is a new problem since I updated to ios 6.  The display says it is playing 1 song but it is actually playing something else, and it just repeats that same song.  The display changes, says it is playing different songs, but the same song plays ov

  • How to read ISO characters???

    Hi, I'm trying to read the headers of an email. In the "subject" section I have some words in french, imagine the subject is "Café" (whith the accented e). The content of the subject header is not "Café" instead it is: =?ISO-8859-1?Q?Caf=E9?=. The th

  • Upgrading from CS4 to CS5.5

    I just upgraded to CS5.5 Design Premium. I thought this was an actual upgrade but I now have both CS4 and CS5.5 installed on my computer! Do I uninstall CS4?