Including Variant in a Program

Hi all,
We have a problem with MCEX12 queue. It gets choked frequently. We created a program to clear the choked queue in SMQ1. The job runs every 6 hours to clear it frequently. Recently, I noticed that another queue of ours 2lis_03_BF is getting choked.
Instead of creating programs for each and every queue, is there a way that I could create a Variant in which I could include these queues and execute the variants according to the choked queue.
Looking forward to the advice of the experts.
Regards,
S.P

Hi SP,
   You can do this by creating a batch job.
   Create multiple variants from se38. While creating job from SM37 you can assign the perticular variant to the perticular program. Check with your basis people, if you dont have authorizations to do.
Hope it Helps
Srini

Similar Messages

  • I just bought a new desktop and will be taking my old one to the apple store tomorrow to have the data transferred. Does the transfer include the transfer of programs or just data?

    I just bought a new desktop and will be taking my old one to the apple store tomorrow to have the data transferred. Does the transfer include the transfer of programs or just data?

    They will simply use Migration Assistant to transfer your Home folder, third-party applications and support files, and system preferences. This is something you could do yourself. You would need a Firewire cable to connect between your old computer and your new one. Migration Assistant is installed in the Utilities folder of your new computer.
    See Transferring files between two computers using FireWire and How to use Migration Assistant to transfer files from another Mac.

  • What is variant in ABAP Program Process Block in Process Chain?

    I wrote an ABAP program:
    REPORT ZTEST,
    PARAMETERS:  PROC(80) TYPE C.
    I can test this PORGRAM from SE38, it shows me a pop-up screen for PROC and I can enter a value and execute.
    Now I want to call this  program ZTEST from a process chain. In Process Chain Selected a Process u201CABAP Programu201D. It asks me program name and Program variant, I entered Program Name as ZTEST and
    Program variant as a character string HELLO.
    When I execute Porcess Chain, ABAP Program errors saying that variant HELLO not found.
    What is Program variant in ABAP Program Process in Process Chain?
    Thanks,

    Dont get confused here.
    Variant name is not which you are pasing to the program.
    You enter some values inside the variant and you specify the program to take the input from the variant.
    Suppose you have to pass 10 parameters to a program.
    user1 creates a variant " hello1" which contains his own selection for the 10 values
    user2 creates another variant "hello2" which contain his own set of selecion values.
    When we use this program in PC, you can use the variant user1 or user2 as per our requirement.
    please check if you are giving variant as input or the proc value.
    Hope this helps,
    Sri....

  • 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.

  • ALV Display Variant copying between programs

    There is a report program say PROGRAM1 whose ALV display variants we want to copy to the ALV display variants of another program say PROGRAM2.
    Both these program share the same ALV output structure design. My questions are
    1) Can the display variants of an ALV be copied into another program.?
    2) Can this be managed programatically?

    Hi,
      Try using LVC_VARIANT_SELECT and LVC_VARIANT_SAVE fms.
      First call LVC_VARIANT_SELECT to read variant from the first program and then call LVC_VARIANT_SAVE to save it for the second program.
      Take a look at report BCALV_GRID_11 for reference
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • Creating Variant in Dialog Program Screen

    Hi All,
    Can I create Variant in Dialog Program screen.If yes, how can I do this?
    Thanks
    Saurabh

    dfsdf

  • Copying ALV Display Variants between different programs

    Is there a way to copy the ALV Display Variants from one program to another?  I am NOT referring to selection screen variants.
    An SAP standard program was copied to a Z program.  Some changes were made to the logic.  The original SAP program has many (100+) ALV Display Variants.  I do not want to manually re-create them.  Is there a way to copy these from one program to another (without using a custom program to manipulate the tables)?
    Thanks.
    Norm

    Hi norman,
    even i was thinking the same while you passing the alv parameter is_variant, give the the program which is having 100 variants.
    is_variant-REPORT = 'STANDARDPRG'.
    this will import all varaints from it, but when you save any new one it will  save in the same standard program.
    regards
    vijay

  • Find contents in variant for all programs

    Hi All,
    I have to find out a string in variant for all programs which are using that string .
    I have to find out this devcq1  string in varints for all programs.
    How can i do that one?

    Hi,
    You can get the variant name from table VARID and then pass it to the FM RS_VARIANT_CONTENTS and search the return values for your specific content.
    tables: varid.
    select-options: s_report for varid-report.
    data: begin of itab occurs 0,
                report like varid-report,
                variant like varid-variant.
    data: end of itab.
    data:  i_val type standard table of rsparams with header line.
    select report variant
    from varid
    into table itab
    where report in s_report.
    check sy-subrc = 0.
    loop at itab.
      CALL FUNCTION 'RS_VARIANT_CONTENTS'
        EXPORTING
          report        = itab-report
          variant       = itab-variant
        TABLES
          valutab       = i_val.
      if sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      else.
        loop at i_val.
          ....            <-- search i_val for devcq1 string
        endloop.
      endif.
    endloop.
    Regards.
    Ferry Lianto

  • Variant NLFRS1 of program RFSSLD00 is not the current version

    Hi,
    I am getting a error message "Variant NLFRS1 of program RFSSLD00 is not the current version" when I tried to display the variant
    Help me to solve the issue?
    Thanks & Regards
    Suresh Kumar

    Mahesh,
    One more thing to add, if the variant is changed purposefully,
    Go to
    SE38
    For the Program,
    1. select the variant 'RADIO BUTTON'
    2. Click 'Display'.
    3. On the Menu, Click 'Variants'.
    4. Click on 'Adjust'.
    5. Now, Click the 'Execute' button.
    Execute the Program with the Variant now.
    This should resolve the isssue.

  • How to create a variant for a program without selection screen

    Hi All,
    I've created one program which takes the data from 30 tables and loads into one final table.
    This program is already moved to Production.
    But while creating variant it's not allowing, since the program doesn't have the selection screen.
    Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
    Thank You,
    Regards,
    Karthik.Ch

    Hi ,
    Are you running this program in a process chain??

  • Dump in include LSKBHF06 of  SAPLSKBH program while creating dynamic internal table.

    Hello Guys,
    We are facing a issue and expecting a support to resolve it.
    Brief Info about the issue:
    We have developed a code which downloads some specific information from database tables from client's system in excel file.
    For that we have used below mentioned method to create the dynamic table.
    cl_alv_table_create=>create_dynamic_table.
    Now this code is successfully executing in our system and giving us the required output. But when client is running this code in their system they are getting a dump.
    Dump Details:
    Runtime Errors LOAD_PROGRAM_NOT_FOUND
    Exception              CX_SY_PROGRAM_NOT_FOUND
           Occurred on     12.03.2014 at 11:01:51
    Program " " not found.
    What happened?
    There are several possible reasons for the error:
    or
    The current ABAP program had to be terminated because the
    ABAP processor detected an internal system error.
    The current ABAP program "SAPLSKBH" had to be terminated because the ABAP
    processor discovered an invalid system state.
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_PROGRAM_NOT_FOUND', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "FB_TABLE_CREATE_STRING" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    On account of a branch in the program
    (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
    or a transaction call, another ABAP/4 program
    is to be loaded, namely " ".
    However, program " " does not exist in the library.
    System environment
    SAP Release.............. "620"
    Application server....... "gs-sh110"
    Network address.......... "10.2.95.17"
    Operating system......... "Linux"
    Release.................. "2.6.16.60-0.39.3-smp"
    Hardware type............ "x86_64"
    Character length......... 16 Bits
    Pointer length........... 64 Bits
    Work process number...... 1
    Short dump setting....... "full"
    Database server.......... "gs-sh110"
    Database type............ "ORACLE"
    Database name............ "H15"
    Database owner........... "SAPORA"
    As per the dump we  have tried to find the root cause of the issue and found in debug mode that in 'SAPLSKBH' program in SE38 in include 'INCLUDE LSKBHF06' program name SAPLSKBH is converted in some random generated program by sap ex. '%_T008F0' which is passed in the perform 'TABLE_CREATE' of the program generated dynamically.
    If this program name does not exists in the system then system will generate the dump
    Program " " not found as show in the dump received.
    Please find the short dump attached.
    Please help to solve the issue.
    Regards.
    Abhinav Goel.

    Hi Abhinav,
    I tried it myself in our system in debug mode. If SY_REPID is empty, l_name is set to %_T0000L (in our system) by GENERATE SUBROUTINE POOL and code line
       perform (l_form) in program (l_name).
    is a
       perform TABLE_CREATE in program %_T0000L.
    This works fine.
    But in your dump field l_name is still empty. This shouldn't be after a successfully processed GENERATE SUBROUTINE POOL.
    But SY-SUBRC seems to be 0 and l_message seems to be empty.
    In Your client's system, please try to check it
    - on a DEV system with open system settings (system client should allow changes)
    - with an user, who has developer's authorities and a registered developer key in table DEVACCESS
    Please tell us, if the issue remains after that.
    Regards,
    Klaus

  • How to find out  number of includes for a given program dynamically

    Hi all
    I have a requirement in which, I have to find out  number of includes and their names for a given  user defined program dynamically
    if u know the answer pls let me know
    Thanks in advance
    Devi

    Hi rama,
    1. use this FM - RS_GET_ALL_INCLUDES_FOR_PRTAB
    regards,
    amit m .

  • Win 7 "Default Programs" does not include MS Office 2007 Programs, the missing Programs are missing ICONs as well

    I installed Windows 7 in an upgrade from Windows XP.  As part of the process MS gave me a URL to download a Office 2007 Pro I could activate with the license key I owned.  I got similar URLs for Visio Professional and Project Professional. 
    Downloaded, installed, activated, started the programs.
    From the beginning some of the icons were missing.  Like the icons for Word, Excel, Access, Outlook, Power Point, Publisher, Visio, and of course Project.  I tried most of the answers in this forum, that didn't sound like guesswork, and none of
    them solved either problem.  There must be at least 65 guesses to fix the icon problem, but none with the missing Default Programs problem.
    The programs related to the missing "Default Programs" still work, they startup when you select the related document.  If I check "Associate a File Type or Protocol with a Specific Program" the missing Office 2007 programs are listed
    there, associated with the designated programs, but are missing icons.
    I make it a habit not to pay a vendor for a product so that I can have the privilege of fixing the vendor's problems.   Google tells me these are well known problems.  The only thing missing is the answer.  I won't ever use MS chat or telephone,
    because all they do is tell me why they can't help and transfer me elsewhere.
    Does anyone have a REAL answer please?

    To restore office icons you could try this method
    http://transitionmarketing.wordpress.com/2013/01/16/restoring-microsoft-office-icons/
    I had the same problem with Office 2010 programs not showing in "Set Your Default Programs". No other "fixes" (including repair) worked. Found this thread:
    http://www.sevenforums.com/microsoft-office/222503-office-2010-not-listed-default-programs.html
    and used it as a guide. When you look at this key
    HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications
    you will see a list of software pointing to another HKEY_LOCAL_MACHINE registry key. For example, my Word program was showing up as "Word.Application.14" and pointing to Software\Clients\Word Processing\Microsoft Word\Capabilities
    (In contrast, PastorMike's fix in the link above advocates making a new entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Office\14.0\Word\Capabilities. However, OneNote did appear in my "Set Your Default Programs" and it - and the other Office programs
    - were listed under ..\Software\Clients\... and not ...\Software\Microsoft\...)
    So at this point I went my own way (although maybe PastorMike's fix would also work).
    The difference between OneNote and the other programs was the existence of values for "ApplicationName"  and "ApplicationDescription" in HKEY_LOCAL_MACHINE\Software\Clients\Word Processing\Microsoft Word\Capabilities. Also, for OneNote
    there was a "FileAssociations" sub-key that was missing from the other programs.
    It is setting the values for ApplicationName and ApplicationDescription which cause the program to show up in the list in the left pane of "Set Your Default Programs". And it is the file associations in the FileAssociations key that allows resetting
    associations en masse when they are snaffled by another program.
    Below is the reg file I added for Word 2010. (i used similar for the other programs) After doing this, Word appeared after reopening "Set Default Programs" - no reboot required
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Word Processing\Microsoft Word\Capabilities]
    "ApplicationDescription"="Create and edit professional-looking documents such as letters, papers, reports, and booklets by using Microsoft Word."
    "ApplicationName"="Microsoft Word 2010"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Word Processing\Microsoft Word\Capabilities\FileAssociations]
    ".doc"="Word.Document.8"
    ".dochtml"="wordhtmlfile"
    ".docm"="Word.DocumentMacroEnabled.12"
    ".docmhtml"="wordmhtmlfile"
    ".docx"="Word.Document.12"
    ".docxml"="wordxmlfile"
    ".dot"="Word.Template.8"
    ".dothtml"="wordhtmltemplate"
    ".dotm"="Word.TemplateMacroEnabled.12"
    ".dotx"="Word.Template.12"
    ".htm"="wordhtmlfile"
    ".html"="wordhtmlfile"
    ".odt"="Word.OpenDocumentText.12"
    ".rtf"="Word.RTF.8"
    ".wbk"="Word.Backup.8"
    ".wiz"="Word.Wizard.8"
    ".wll"="Word.Addin.8"
    By using my ramblings and the link provided above you may be able fix the problem you are having with Office 2007. However, I am unsure of how to find the necessary file associations for Office 2007 except by trawling through your registry for the filetypes
    listed in the link above and the values for them in HKEY_CLASSES_ROOT.

  • How to track the transported Variant for a program

    Hi All ,
    Can anyone please let me know how to track the modifications done on program variants , and how to track if it has been transported .
    Thanks In Advance .

    Hi Balaji
    Variants are stored in the table VARID.
    Pushpraj

  • How to create a top include for module pool program

    hi all..
      I want to add my global declarations in one top inlcude.. There are so many other includes in my pgm. But how can i create top include explicitly. Also I have one normal report pgm attached with this module pool.

    hi Cynthia ,
       there are two ways of creating a top include at your situation  ,
    1) Insert an include <Prog name >TOP  in your mpool program and cut n paste your declarations there .. check if this works ...
    2)else .. create another m pool program in SE80 , while creating a pop up will ask for with TOP include ... check mark that and then proceed ..
       anything of these two will work ...
    Reward if helpful !!
    Regards,
    Ranjita

Maybe you are looking for

  • Install with a copy of existing database

    I am wondering if anybody had tried this: suppose you have a LiveCycle ES 8.0 running, all's well; let's call this system "A". now, you need to bring up another LC ES system on a separate server machine. let's call this system "B". But, since there a

  • Skype can't detect sound card, issue with playback...

    Hello I have just received my Razer kraken 7.1 headset and have installed razer synapse 2.0. I have set up my mic and speakers of the headset through the control panel, my playback is set as the razer kraken 7.1 earphone and the mic is set as the hea

  • My bb curve 8520 refuses to connect to my home wifi please somebody help me

    i have had my bb curve 8520 for about 6 months now a not being the most hi-tech person in the world i have just downloaded bb app world altough i have managed to sucessfuly download a couple of free new apps to my bb     ( battery booster and the sky

  • Delaying posts' appearance dates?

    I am planning a vacation in the future, and I was wondering if it was possible to create some posts that would appear on my blog while I am gone. I tried changing the date to a future time, but the post still appeared as soon as I published.

  • DMSIntegration sample plug-in for Adobe Reader problem

    Hi, I have the following question:    I created sample DMSIntegration plug-in module and copied in "plug-ins" folder for Acrobat Reader.    The custom Save As dialog box with the the caption "DMS - Save AS..." does not appear. What is wrong? Thank yo