ECC 6.0 saving dynamic program variant

Hi,
I have a sap std program, on the selection screen i have an account field.
now when i select a variant for this program i want the variant to pick up the value dynamically from a FM or a table..
Is this possible.. if yes then how..
Thanks for the response..
All responses will be highly appreicaited

Hi,
check the online documentation [Defining Selection Varables|http://help.sap.com/erp2005_ehp_05/helpdata/EN/25/c966398ae5c13ae10000000a114084/frameset.htm] and the SCN articles:
[ABAP: Dynamic Variant Processing with STVARV|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f05b0f0a-db27-2e10-b4a4-a0272a80f833]
[Automate Period Opening in SAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a006e1f7-1901-2e10-5cb5-822c4fc9450f]
Regards,
Andrea

Similar Messages

  • Dynamic date variant

    Hi Gurus,
    I've a dynamic system date variant for my program, which runs in background. I have no issue with variant, it works fine. But when I went to job log to check the old jobs that has dynamic date variant, it always refer to current system date. Anybody can suggest me how to fix it to show the actual variant at the time of job run?
    Regards, Raju.

    The dynamic date overwrites the value that it was saved with at the time of processing.  What you see when you display it is the value at the time it was saved (the non-dynamic value).  There is no way to see the value at the time it was run.  At least not that I know.
    You can however compute it if you know that the variant hasn't been changed since it was run.
    Neal

  • Submitting a dynamic program with layout name

    Hi,
    I searched many blogs and the SDN forum but couldn't find a solution.
    I need to know the layout fields of an ALV report for a later usage. Let me explain it with code:
    I used below code to extract data of a dynamic program.
    cl_salv_bs_runtime_info=>set(
      EXPORTING display  = abap_false
        metadata = abap_true
        data     = abap_true ).
      Submit (program)  USING SELECTION-SET variant EXPORTING LIST TO MEMORY
                AND RETURN.
      TRY.
          cl_salv_bs_runtime_info=>get_data_ref(
      IMPORTING r_data = lf_ref ).
          ASSIGN lf_ref->* TO <lt_data>.
        CATCH cx_salv_bs_sc_runtime_info.
          MESSAGE `Unable to retrieve ALV data` TYPE 'E'.
      ENDTRY.
      cl_salv_bs_runtime_info=>clear_all( ).
      CREATE DATA lf_ref1 LIKE LINE OF <lt_data>.
      ASSIGN lf_ref1->* TO <lt_line>.
    What I need is to submit program with a (known) layout. If it is not possible, how can i modify the ALV report to fit a layout's display properties. (If I can manage to get -dynamic program- layout's visible fields, it will work too.)
    Thank you.

    Hi ,
    Check this LINK  you can take help from this
    create dynamic varient and pass  to Submit program .
    [how to create a variant dynamically and get it?;
    OR  :
    you can use function module to get layout names and  reprot 
    ranges: lr_report for ltdx-report,
              lr_handle for ltdx-handle,
              lr_log_group for ltdx-log_group,
              lr_username  for ltdx-username,
              lr_variant   for ltdx-variant,
              lr_type      for ltdx-type.
    call function 'LT_VARIANTS_READ_FROM_LTDX'
        exporting
          i_tool          = r_tool
          i_text          = r_text
        tables
          et_variants     = rt_variants
          it_ra_report    = lr_report
          it_ra_handle    = lr_handle
          it_ra_log_group = lr_log_group
          it_ra_username  = lr_username
          it_ra_variant   = lr_variant
          it_ra_type      = lr_type
        exceptions
          not_found       = 1
          others          = 2.
    regards
    Deepak.
    Edited by: Deepak Dhamat on Jan 23, 2012 8:18 AM

  • Managing Program Variants through program

    Hi,
    I used the function modules RS_VARIANT_CONTENTS to load the program variants and RS_CHANGE_CREATED_VARIANT to change the variants. The program is working fine but I have a problem with the length of the field. The VARI_CONTENTS table for the function modules has the fields LOW (CHAR 45) and HIGH(CHAR 45) which hold the values for the fields(parameter or select-options). But the value of the field being more than 45 chars is being truncated while saving the variants through these function modules.
    But when I change directly through GOTO->VARIANTS and then save the value, Its accepting the field value with more than 45 chars. Please do the needful at the earliest possible.
    Thanks in Advance.
    Regards,
    Raj.

    Hi,
    I used the function modules RS_VARIANT_CONTENTS to load the program variants and RS_CHANGE_CREATED_VARIANT to change the variants. The program is working fine but I have a problem with the length of the field. The VARI_CONTENTS table for the function modules has the fields LOW (CHAR 45) and HIGH(CHAR 45) which hold the values for the fields(parameter or select-options). But the value of the field being more than 45 chars is being truncated while saving the variants through these function modules.
    But when I change directly through GOTO->VARIANTS and then save the value, Its accepting the field value with more than 45 chars. Please do the needful at the earliest possible.
    Thanks in Advance.
    Regards,
    Raj.

  • Dynamic Date Variant in SAP ver 3.1

    How to create a dynamic date variant in SAP ver 3.1 ?

    Hi,
    I guess that you know how manage dynamic dates in a variant. (Please, tell me if you need help about it)
    You can try with two DATUM type fields in the ABAP program. Fix the first one with a fixed date u201901.01.2009u2019 and the second one will be fixed with the dynamic date u2018Current Dateu2019
    Regards,
    OLA

  • Associate Print Parameters with Program Variant

    Is there any standard way to associate a particular set of print parameters with a program variant?

    i think it is possible ? try to make use of
    <b>
    Selection Variables
        The following three types of selection variables are currently
        supported:
        o   Table variables from TVARVC
            You should use these variables if you want to store static
            information. TVARVC variables are proposed by default.
        o   Dynamic date calculations:
            To use these variables, the corresponding selection field must have
            type 'D' (date). If the system has to convert from type T to type D
            when you select the selection variables, the VARIABLE NAME field is
            no longer ready for input. Instead, you can only set values using
            the input help.
            The system currently supports the following dynamic date
            calculations:
            Today's date
             From beginning of the month to today
             Today's date +/- x days
             First quarter ????
             Second quarter ????
             Third quarter ????
             Fourth quarter ????
             Today's date - xxx, today's date + yyy
             Previous month
         o   User-specific variables
             Prerequisite: The selection field must have been defined in the
             program using the MEMORY ID pid addition. User-specific values,
             which can be created either from the selection screen or from the
             user maintenance transaction, are placed in the corresponding
             selection fields when the user runs the program.
         The SELECTION OPTIONS button is only supported for date variables that
         fill select-options fields with single values.
    </b>
    but thing is u have to maintain para/selection options for ur report.
    Regards
    Prabhu

  • How many times can you install Lightroom 5? My problem is that I have saved my programs on C. To I have more space, I want to save my programs now on E. Can I now uninstall Lightroom and reinstall from C to E? Can I use the same license code as the first

    Please help!!
    How many times can you install Lightroom 5? My problem is that I have saved my programs on C. To I have more space, I want to save my programs now on E. Can I now uninstall Lightroom and reinstall from C to E? Can I use the same license code as the first installation?

    Thank you for your answers, it helps me a lot.
    But sorry for my ignorance. I understand how you mean it, but I don't know how to do it. I'm scared to lose the settings/edits of the images.

  • Creation of new Print Program & Variant for new Correspondence Type created

    Dear Friends,
    I have created 2 new Correspondence Types in SAP as SAP61 (Vendor Debit Note) & SAP62 (Vendor Credit Note) by copying SAP09 (Internal Document) properties like itu2019s Name of the print program - RFKORD30 & Name of variant - SAP09.
    We are facing problem when we execute print program in F.64 for SAP09 it is coming same like SAP61 or SAP62. Actual script & print values of SAP09 are replaced by SAP61 or SAP62.
    Please suggest us how we can differentiate both SAP09 & SAP61/62. Because we use these correspondences for different purposes like SAP09 gives the information for the Line items in the Document whereas SAP61/62 gives the information of vendor line item weather it is debit or credit entry.
    Your kind co-operation in this matter is highly appreciated.
    Thanks & Regards,
    Naveen Kumar.P

    "Assigned the from to the company code - progam in V_001F_B"
    Check 'Form ID' field in this IMG transaction against the program and form that you have created.
    I am assuming there are 2 lines with same entries but different form IDs.
    Or there are 2 lines with the same entries but different CoCodes (seem to remember that the CoCode is not taken into account as a key in certain programs - not logical i know but remembered a previous issue I had many moons ago - could be to do with the blank entry for CoCode field if there is one being picked up by the program before the entry that has your CoCode).
    Now check the variant attached and Form ID in step 'Created new program variants in SA38'
    Ensure the correct program and variant are attached in step OB78.
    My assumption is Form ID is the key.
    Hope this helps

  • Download a special kind of internal table (dynamic programming)

    Hi guys,
    with dynamic programming, i've created a complex internal table of this type :
    KNA1                          |
    KNB1                          |                         
    GS_CUSTOMERADDRESS            |               
    GS_CUSTOMERGENERALDETAIL      |
    The declaration of the internal table is :
    TYPES: BEGIN OF gty_record,
            table TYPE tabname,
            dataref  TYPE REF TO data,
           END OF gty_record.
    This means that each line, has a different line-type. In the first field of the table, i have the name of the structure. In the second, the data-part (in debug double click on leads to structure contents - field by field).
    The structure KNA1 contains C and packed (P) fields also so when i pass the internal table to FM GUI_DOWNLOAD, i have this short-dump : UC_OBJECTS_NOT_CONVERTIBLE.
    Is there a way to solve this problem quickly?
    The goals is download all data of a customer into a local file. Data is distribuited on different structures, readed by standard bapi 'BAPI_CUSTOMER_GETDETAIL2'. This file will be read in another program, of another system.
    Any hints/suggestion will be appreciated.
    Thanks a lot.
    Andrea

    Hi Sandra,
    thx for you suggestions.
    About your answer :
    " Or use a DO. ASSIGN COMPONENT sy-index OF STRUCTURE ... to loop at each field, and do whatever you want with them (using WRITE ... TO ... for example, to convert numbers into text)."
    I cannot use this approach to the problem, because i should keep in mind the dimension of single fields and the blanks should be concatenated also, but RESPECTING BLANK switch of concatenate instruction doesen't exists in 4.7 abap.
    Sure, i can use a workaround, but i'll have a lot of programming.
    "you could use XML for instance. It's rather standard! By using CALL TRANSFORMATION ID SOURCE dataObject RESULT XML string."
    This could be the solution. I've already read some posts about it before write mine. I should test it: i don't know if in 4.7 release works. So i could transform the internal table to xml and save to text file.
    But then, how i can read xml string and mapping again in this special kind of table ?
    Is CALL TRANSFORMATION ID SOURCE XML String RESULT Dataobject instruction sufficient to perform this task?
    Thanks a lot
    Andrea
    BR
    Sandra

  • Help needed regarding Dynamic Programming

    Hi,
    While doing dynamic programming , we bind the context variable with two types of
    values .
    1 . ddic
    2 . extern
    My doubt is in which case we should use ddic and where to use extern .
    Can anybody help me out regarding this.
    Thanks a lot.

    Hi Ki,
    Predefined, Web Dynpro UI-specific, and user-defined Dictionary types all have the
    prefix ddic:.
    wdContext.getNodeInfo()
    .addAttribute(
    "Visibility",
    "ddic:com.sap.ide.webdynpro.uielementdefinitions.Visbility")
    •&#61472;Logical Dictionary types from Adaptive RFC models have the prefix extern:.
    Check this links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0
    /people/dipankar.saha3/blog/2007/05/31/how-to-create-dynamic-approval-process-using-conditional-loop-block-in-guided-procedure
    Regards,
    Mithu

  • Dynamic Programming

    Hi All
    Can anyone send me some good documents in the below topics, it is urgent
    1) Dynamic Programming
    2) ABAP Objects
    A Good documents will get rewarded.
    Thanks Prasad

    Parameter mapping
    normal ABAP is process oriented, where is OOP-ABAP is a new methodology in ABAP which uses object oriented programming.
    we have C++, java, C#, etc as OOP languages.
    ABAP has also implemented the OOP technology.
    it uses classes, methods and interfaces instead of functiongroups and function modules.
    As part of SAP’s long-standing commitment to object technology, Release 4.0
    of R/3 will contain object-oriented enhancements to the ABAP programming
    language. SAP’s object strategy is based on SAP Business Objects and now
    covers modeling, programming, interfacing, and workflow. By using principles
    like encapsulation, inheritance, and polymorphism, the object-oriented
    extensions of ABAP will support real object-oriented development. This will
    result in improvements in the areas of reusability, maintenance, and quality of
    code. SAP offers an evolutionary approach toward objects which leverages
    SAP’s own and its customers’ investments in existing business processes,
    functionality and data.
    follow this link ABAP OBJECTS with good examples.......
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    check the below links lot of info and examples r there
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    these are the links
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    Tabstrip
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
    Editable ALV
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc
    Tree
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    http://www.sapdevelopment.co.uk/reporting/alvhome.htm
    http://www.sap-img.com/abap/what-is-alv-programming.htm
    http://www.sap-img.com/abap-function.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree%5Calvtree_basic.htm
    http://esnips.com/doc/ad20dca9-6182-4903-8d8f-96a66dc8590c/ALV.pdf
    http://www.sap-img.com/abap-function.htm
    Classical ALV:
    http://www.geocities.com/mpioud/Abap_programs.html
    OOPS ALV:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Also Chk this standard Programs.
    ABAP_OBJECTS_ENJOY_0 Template for Solutions of ABAP Object Enjoy Course
    ABAP_OBJECTS_ENJOY_1 Model Solution 1: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_2 Model Solution 2: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_3 Model Solution 3: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_4 Model Solution 4: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_5 Model Solution 5: ABAP Objects Enjoy Course
    DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
    DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
    DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
    DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
    DEMO_ABAP_OBJECTS_INTERFACES Demonstration of Interfaces in ABAP Objects
    DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
    DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
    Reward points if found helpful

  • Program Variant in Process Chain

    Hi All,
    I have to execute a program in a Process Chain. I have included a process variant to execute the program. Now, this program bring us to a screen, where we need to click on the execute button to run that program. I need to add a program variant for this i guess. Can any one give me the procedure how to do this?
    Points will be awarded.
    Thanks in advance,
    Anjum.

    The program that you have written should run in background.
    We use Variants for ABAP programs to be run in the Process Chain
    - Create an ABAP variant
    - Choose call mode "Synchronous", Called from "Local". Thats mostly the default we use. choose according to your requirement.
    - Choose "Program". Choose the program name & the variant n ame. Its better if you create the variant while testing the program in sa38. Later you can use the same variant in the Process Chain ABAp variant OR can create a new one. Set appropriate values.
    Please note that if in SA38, your program ran successfully with the variant, it should run here as well.
    That should do.
    Regards
    Anujit Ghosh
    Edited by: Anujit Ghosh on Jun 17, 2008 12:36 PM
    To create the program variant, first enter a name of your choice in the program variant field. Click Edit.
    - Choose Create New
    - Choose "Values". Click Change. In teh next screen, enter all the required parameters. Choose if its a SAP standard prog, or modified program.
    - Check the attributes as well. It will usually choose selection screen 1000 as default. Let it be.

  • DYNAMIC PROGRAMMING IN WEBDYNPRO ABAP.

    Hi Experts
    How to create input field dynamical and when i click on the input field drop down ui  should display,If i click n time the input field that many drop down should be displayed this should be done using dynamic programming.
    Waiting for Reply.
    Thanks & Regards.
    kittu

    Hi,
    Please search before posting.. discussed many times.
    To create Input field dynamically, follow like this...
    DATA LR_CONTAINER TYPE REF TO CL_WD_UIELEMENT_CONTAINER.
    DATA LR_INPUT TYPE REF TO CL_WD_INPUT_FIELD.
    DATA LR_LABEL TYPE REF TO CL_WD_LABEL.
    DATA LR_TABLE TYPE REF TO CL_WD_TABLE.
    DATA LR_BUTTON TYPE REF TO CL_WD_BUTTON.
    DATA LR_GRID_DATA TYPE REF TO CL_WD_GRID_DATA.
    DATA LR_FLOW_DATA TYPE REF TO CL_WD_FLOW_DATA.
    DATA LR_MATRIX TYPE REF TO CL_WD_MATRIX_HEAD_DATA.
    LR_CONTAINER ?= VIEW->GET_ELEMENT( 'ROOTUIELEMENTCONTAINER' ).
    CALL METHOD CL_WD_INPUT_FIELD=>NEW_INPUT_FIELD
    EXPORTING
    BIND_VALUE = ATTRIBUTE
    ID = ATTRIBUTE
    RECEIVING
    CONTROL = LR_INPUT.
    lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_input ).
    lr_input->set_layout_data( lr_matrix ).
    LR_CONTAINER->ADD_CHILD( LR_INPUT ).
    ENDIF.
    Cheers,
    Kris.

  • Process chain program variant will not change from yellow...

    Hello,
    <b>Problem:</b>
    I have a process chain that has two branches with 3 process chain variants on each leg in a parallel configuration.  The process chain variants run different program variants.  I am using variant object called "ABAP Program with Success/Failure " which can have a yellow, green, or red status and has status arrows that can be either red or green that connect to other process chain variants.  The program executed with these variants is a customized BPS UPC_BUNDLE_EXECUTE program.  When I run this PC the first variant on each leg usually hangs indefinitley on the yellow status.  In the Backg tab log (double click PC variant in Log View) I can see the various SQL code that was ran.  The last line of the log is an SQL-END:...  Sometimes it will get past the first 2 varaints and hang on the next set of 2.  Other times it will just hang on the last variant of one leg.  It is very sporadic.
    <b>What I have observed and tried:</b>
    If I check my SM51 for the server the chain is running on I can see that the program in question is not running.  If I run the same program through SE38 that runs via a PC variant it runs sucessfully in an appropriate amount of time.  If I kill the process that has been running indefinitley through SM51 the process chain variant will go from a yellow status to a red as expected.
    I changed they way I ran the programs from running in parallel in 2 legs to running all of them in one leg serially.  That did not work.  At least one program variant will hang on the yellow status.
    I replaced all the variants using "ABAP Program with Success/Failure" to "ABAP Program" which has a red/green status but no red or green arrows, but black coming out of the variant forcing it to move down the chain on a sucess or failure.  The process chain variants also hung in the yellow status using the "ABAP Program" variant. 
    I have tried starting the process chain using both "Direct Scheduling" with "Immediate" and "After Event."  I have also kicked it off using "Start Using Meta Chain or API" so it was functioning as a sub process chain. Programs were still yellow in every case without changing to red or green. 
    I created new process chain variants for every single program/variant that I am using.  Still no luck.
    I have tried removing the chain from the schedule and re-activating and re-running and still no luck. 
    Thanks in advance,
    Gary Martins

    bump

  • Simple type values retrieving in dynamic programming

    Hello,
    Can somebody help me to get the values of a simple type in dynamic programming. I am using the following code:
    wdcontext.currentcustomergraph().getgraphstyle().
    After the values selected in the drop-down, I am not able to get the selected value in dynamic code. Please help.
    Thanks,
    Sunita.

    Hello Vishwas,
    I already did everything what you mentioned. When I use this in WdDoModifyView( )
    wdContext.currentContextElement().getCustomerGraphStyles()
    I am not able to retrieve the values inside customerGraphStyles().
    Thanks,
    Sunita.

Maybe you are looking for