Use of chain and Endchain

Hi,
Iam having 3 fields on my input screen. My doubt is If i enter any one of the field value incorrectly then all the three fields will be input enabled if i use the following code.
chain.
field f1 , f2 , f3.
module validate.
endchain.
the chain and endchain will automatically take care of enabling the three input fields or we have to explicitly write code for input enabling by using the module validate.
Thanks...

Hi,
chain and endchain are used for validations in the flowlogic itself.
chain and end chain are used for multipe validation on
module pool programing and for saingl we use the below
syntax feild feild feild name module module name
module keyword give the place where you write your opiece of code
If you want to ensure that more than one field is ready for input following an error dialog, you must list all
of the relevant fields in the FIELD statement, and include both that and the MODULE statement in a
CHAIN … ENDCHAIN block.
You can include individual fields in more than one CHAIN … ENDCHAIN block.
Note that the FIELD statement does not only make the field ready for input again; it also means that field
contents changed during the current PAI processing are only visible if the field in question was also included in the FIELD statement of the current CHAIN block.
PROCESS AFTER INPUT.
FIELD A MODULE check_A.
FIELD B MODULE check_B.
CHAIN.
FIELD: C,D.
MODULE check_CD.
ENDCHAIN.
CHAIN.
FIELD: C,B.
MODULE check_CB.
ENDCHAIN.
If the system sends an error or warning message, the current screen is sent again, but the PBO is not
processed again.
Only the fields to which the module is assigned are ready for input again.
After the user has entered new values, the PROCESS AFTER INPUT module is not completely
reprocessed, but restarted somewhere within the processing block.
The system finds out which field the user changed and resumes processing at the first corresponding
FIELD statement.
If the user merely confirms a warning message (without changing the field’s contents), the system
restarts the PAI processing after the MESSAGE statement where the error was triggered.
chain and end-chain
Regards.
Eshwar.

Similar Messages

  • How to use chain and endchain keywords?

    Hi i have got a requirement where i have to use chain and endchain keywords can anyone help me with the sample code how to use this keywords?

    Hi,
       Within a chain block, you must use ON CHAIN-INPUT addition. The module is then called if the conteents of at least one screen field within CHAIN block have changed from their intial value.
    Also, there is ON CHAIN-REQUEST addition, this module is called if user changes changes contents of atleast one screen field within CHAIN block..
    ON CHAIN-INPUT--
        PROCESS AFTER INPUT.
            CHAIN.
                FIELD : <Field name 1>,
                             <Field name 2>.
                 MODULE <module> ON CHAIN-INPUT
             ENDCHAIN.
    ON CHAIN-REQUEST--
         PROCESS AFTER INPUT.
            CHAIN.
                FIELD : <Field name 1>,
                             <Field name 2>.
                 MODULE <module> ON CHAIN-REQUEST
             ENDCHAIN.
    I hope u find this helpful..
    write brief about ur requirement??
    Regards,
    Vikram

  • Why and how do we use CHAIN and ENDCHAIN

    Why and how do we use CHAIN and ENDCHAIN

    Hi,
    To ensure that one or more PAI modules are only called when several screen fields meet a particular condition, you must combine the calls in the flow logic to form a processing chain. You define processing chains as follows:
    CHAIN.
    ENDCHAIN.
    All flow logic statements between CHAIN and ENDCHAIN belong to a processing chain. The fields in the various FIELD statements are combined, and can be used in shared conditions.
    CHAIN.
      FIELD: <f1>, <f 2>,...
      MODULE <mod1> ON CHAIN-INPUT|CHAIN-REQUEST.
      FIELD: <g1>, <g 2>,...
      MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The additions ON CHAIN-INPUT and ON CHAIN-REQUEST work like the additions ON INPUT and ON REQUEST that you use for individual fields. The exception is that the module is called whenever at least one of the fields listed in a preceding FIELD statement within the chain meets the condition. So <mod1> is called when one of the fields <fi> meets the condition. <mod2> is called when one of the fields <f i> or <g i> meets the condition.
    Within a processing chain, you can combine individual FIELD statements with a MODULE statement to set a condition for a single field within the chain:
    CHAIN.
      FIELD: <f1>, <f 2>,...
      FIELD  <f> MODULE <mod1> ON  INPUT|REQUEST|*-INPUT
                                  |CHAIN-INPUT|CHAIN-REQUEST.
      MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The module <mod1> is called when screen field <f> meets the specified condition for individual fields. <mod2> is called when one of the fields <fi> or <f> meets the condition. If you use the addition ON CHAIN-INPUT or ON CHAIN-REQUEST with FIELD <f>, the condition also applies to the entire chain and module <mod1> and <mod2> are both called.
    In cases where you apply conditions to various combinations of screen fields, it is worth setting up a separate processing chain for each combination and calling different modules from within it.
    Regards,
    Ferry Lianto

  • What is CHAIN and ENDCHAIN?

    Give some examples.

    Hi,
    In PAI if you want to validate group of fields put in
    chain and End chain statement .
    You can declare fields in the chain enchain .
    CHAIN.
    FIELD chk_ABC.
    FIELD chk_DEF.
    FIELD chk_GHI.
    FIELD CHK-JKL.
    MODULE CHK_screenfields.
    ENDCHAIN.
    below is an example:
    CHAIN.
    FIELD: <f1>, <f 2>,...
    MODULE <mod1>.
    FIELD: <g1>, <g 2>,...
    MODULE <mod2>.
    ENDCHAIN.
    all of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.
    Also,
    Check the below link
    [http://help.sap.com/saphelp_46c/helpdata/EN/9f/dbaa4735c111d1829f0000e829fbfe/content.htm]
    The statements CHAIN and ENDCHAIN of the dynpro flow logic define processing chains. Between CHAIN and ENDCHAIN, the statements FIELD and MODULE can be executed. The statements between CHAIN and ENDCHAIN form a processing chain. Processing chains cannot be nested. The CHAIN statement can be specified in the event blocks at PAI and PBO , however, in the event block at PBO it has no effect.
    A processing chain allows the joint processing of all the screen fields stated between CHAIN and ENDCHAIN after FIELD statements:
    The contents of all screen fields combined to a processing chain by the FIELD statements can be checked in the shared conditions ON CHAIN-INPUT and ON CHAIN-REQUEST of the MODULE statement.
    A warning or error message in a module called within a processing chain resets all input fields whose screen fields are combined in this processing chain using FIELD statements to ready-for-input. After a user input, the PAI processing resumes at the CHAIN statement at the latest.
    Example
    Call dialog modules to check input values. The screen fields input1 and input2 are checked in individual dialog modules check_1 and check_2. The screen fields input3 to input5 are checked in a processing chain in a shared dialog module check_chain. Warning or error messages in the dialog modules either make only one input field input1 or input2 ready for input again or all three input fields input3 to input5.
    PROCESS AFTER INPUT.
    MODULE leave_dynpro AT EXIT-COMMAND.
    FIELD input1 MODULE check_1 ON REQUEST.
    FIELD input2 MODULE check_2 ON REQUEST.
    CHAIN.
    FIELD input3.
    FIELD input4.
    FIELD input5.
    MODULE check_chain ON CHAIN-REQUEST.
    ENDCHAIN.
    MODULE handle_user_command.
    HTH
    Regards,
    Dhruv Shah

  • Functionally of CHAIN and ENDCHAIN

    Hi all.
    Please explain Fuctionally of CHAIN and ENDCHAIN ?
    when can we use ?
    How  is it Works?
    Advice me.
    Regards.
    Raju

    Hi,
    The statements CHAIN and ENDCHAIN of the dynpro flow logic define processing chains. Between CHAIN and ENDCHAIN, the statements FIELD and MODULE can be executed. The statements between CHAIN and ENDCHAIN form a processing chain. Processing chains cannot be nested. The CHAIN statement can be specified in the event blocks at PAI and PBO , however, in the event block at PBO it has no effect.
    A processing chain allows the joint processing of all the screen fields stated between CHAIN and ENDCHAIN after FIELD statements:
    The contents of all screen fields combined to a processing chain by the FIELD statements can be checked in the shared conditions ON CHAIN-INPUT and ON CHAIN-REQUEST of the MODULE statement.
    A warning or error message in a module called within a processing chain resets all input fields whose screen fields are combined in this processing chain using FIELD statements to ready-for-input. After a user input, the PAI processing resumes at the CHAIN statement at the latest.
    Example
    Call dialog modules to check input values. The screen fields input1 and input2 are checked in individual dialog modules check_1 and check_2. The screen fields input3 to input5 are checked in a processing chain in a shared dialog module check_chain. Warning or error messages in the dialog modules either make only one input field input1 or input2 ready for input again or all three input fields input3 to input5.
    PROCESS AFTER INPUT.
    MODULE leave_dynpro AT EXIT-COMMAND.
    FIELD input1 MODULE check_1 ON REQUEST.
    FIELD input2 MODULE check_2 ON REQUEST.
    CHAIN.
    FIELD input3.
    FIELD input4.
    FIELD input5.
    MODULE check_chain ON CHAIN-REQUEST.
    ENDCHAIN.
    MODULE handle_user_command.
    Reward all helpful answers
    Regards,
    Pankaj Singh

  • CHAIN AND ENDCHAIN

    hI FRIENDS,
    I am writing module pool programming .. in that for validation i have used chain end chain in PAI modules . but that is not triggered by program..
    ex:
    in program
    MODULE check_chain INPUT.
      IF bldat = '' or  budat = '' or reqby = '' or  xblnr = '' or frbnr = '' or bktxt = ''.
        MESSAGE e008.
        ENDIF.
    ENDMODULE.  
    PROCESS AFTER INPUT.
      MODULE control AT EXIT-COMMAND.
    CHAIN.
        FIELD: bldat,budat,reqby,xblnr,frbnr,bktxt.
        MODULE check_chain ON CHAIN-REQUEST.
      ENDCHAIN. 
    please let me know if any one knows.
    regards,
    diana

    Hi,
    If you use ON REQUEST  addition in a MODULE Statement,
    After field,the MODULE is called Only if the user Enters a new value in that field.
    So if the new entered value is different from the previously entered value then only this module will be triggered.
    So check the program by entering the different value in each field.
    Regards,
    Sujit

  • How to use management chain and escalation hierarchies with LDAP

    Hi,
    I have experienced now with the management chain pattern and escalation feature. I have used the standard file-based security provider (JAZN and user-properties.xml). You can easily define a user hierarchy using the user-properties.xml file to define the escalation path and the management chain in terms of hierarchy levels.
    In a production environment in most cases you will use LDAP as the security provider. I wonder if it is possible to define such an user hierarchy in LDAP. I now you can create a role-based hierarchy, but in cases this will be to much and you need user based hierarchy.
    Another issue is that you can also define a highest level op approval. Hower you onlyonly define manager/director/ceo, used in the user-properties.xml file. How can you tell jdeveloper to use other custom roles?
    Does anyone has experience of suggentions om this issue?
    Kind regards,
    -Tom

    Tom,
    I can address parts of your question, please see below:
    How can you tell jdeveloper to use other custom roles?JDeveloper picks up users from the Integration Server connection. So, if the server is configured with the LDAP configured server, you will see users and groups from that registry. JDeveloper (the human task editor dialog) does not go directly against the LDAP.
    I wonder if it is possible to define such an user hierarchy in LDAPYes. That is the way it has been designed.
    I now you can create a role-based hierarchy, but in cases this will
    be to much and you need user based hierarchy.Making a user specific hierarchy has problems - what if a user leaves the company? The role based hierarchies solve this problem very well. May be I misunderstand your question.
    I will have a colleague, who works on identity management, look at your question.
    Regards,
    Sidda.

  • Could you please explain about the  chain and end chain and module

    hi experts
    could you please explain about the  chain and end chain and module keywords?

    Hi Naresh,
    Conditions for Multiple Screen Fields
    To ensure that one or more PAI modules are only called when several screen fields meet a particular condition, you must combine the calls in the flow logic to form a processing chain. You define processing chains as follows:
    CHAIN.
    ENDCHAIN.
    All flow logic statements between CHAIN and ENDCHAIN belong to a processing chain. The fields in the various FIELD statements are combined, and can be used in shared conditions.
    CHAIN.
    FIELD: <f1>, <f 2>,...
    MODULE <mod1> ON CHAIN-INPUT|CHAIN-REQUEST.
    FIELD: <g1>, <g 2>,...
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The additions ON CHAIN-INPUT and ON CHAIN-REQUEST work like the additions ON INPUT and ON REQUEST that you use for individual fields. The exception is that the module is called whenever at least one of the fields listed in a preceding FIELD statement within the chain meets the condition. So <mod1> is called when one of the fields <fi> meets the condition. <mod2> is called when one of the fields <f i> or <g i> meets the condition.
    Within a processing chain, you can combine individual FIELD statements with a MODULE statement to set a condition for a single field within the chain:
    CHAIN.
    FIELD: <f1>, <f 2>,...
    FIELD <f> MODULE <mod1> ON INPUT|REQUEST|*-INPUT
    |CHAIN-INPUT|CHAIN-REQUEST.
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The module <mod1> is called when screen field <f> meets the specified condition for individual fields. <mod2> is called when one of the fields <fi> or <f> meets the condition. If you use the addition ON CHAIN-INPUT or ON CHAIN-REQUEST with FIELD <f>, the condition also applies to the entire chain and module <mod1> and <mod2> are both called.
    In cases where you apply conditions to various combinations of screen fields, it is worth setting up a separate processing chain for each combination and calling different modules from within it.
    The functions of the FIELD statement for controlling data transport also apply when you use processing chains. Within a processing chain, screen fields are not transported until the FIELD statement. Processing chains also have another function for the FIELDS statements that they contain. This is described in the section on validity checks.
    Ex:
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CHAIN.
    FIELD: INPUT1, INPUT2.
    MODULE MODULE_1 ON CHAIN-INPUT.
    FIELD INPUT3 MODULE MODULE_* ON *-INPUT.
    MODULE MODULE_2 ON CHAIN-REQUEST.
    ENDCHAIN.
    FIELD INPUT1 MODULE C1 AT CURSOR-SELECTION.
    CHAIN.
    FIELD: INPUT2, INPUT3.
    MODULE C2 AT CURSOR-SELECTION.
    ENDCHAIN.
    MODULE CURSOR AT CURSOR-SELECTION.
    Regards,
    Sunil

  • Process chains and event collectors

    Hi All,
    I need help in Process chains and event collectors.I joined in new project and this client using process chains and event collectors and they ask me to work on these areas.I didnt work on this as of now So please send any docs on this area and explain the procedure and technology methods behind this concept.I would really appreciate If someone can send me the full documentation on this concept as I couldnt find any  any docs on this.
    Thanks,
    Ras

    Hi Ras,
    Process chains are a sequence of processes to be performed. The are put together in a chain with the necessary dependancies (process A needs to finish before B can start) and conditions (if A and B are successful then C else send an email), and then scheduled. They usually revolve around processes related to data loading: Load, activate, roll up, compress etc.
    Please take a look at this links/threads for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    process chains
    process chains
    Process chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    Process Chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    Re: Ho to make a variable mandatory or optional?
    There are lot of threads available in the SDN....go through them.....hope it really helps you in getting understand what are process chains and Events included in that.
    Assign points if it helps you.
    Regards,
    Sreedhar

  • N7K F1 TCAM limitations ("ERROR: Hardware programming failed. Reason: Tcam will be over used, please enable bank chaining and/or turn off atomic update")

    Platform/versions:
    # sh ver
      kickstart: version 6.2(2)
      system:    version 6.2(2)
    # sh mod
    Mod  Ports  Module-Type                         Model              Status
    1    32     10 Gbps Ethernet Module             N7K-M132XP-12      ok
    2    48     1000 Mbps Optical Ethernet Module   N7K-M148GS-11      ok
    3    32     1/10 Gbps Ethernet Module           N7K-F132XP-15      ok
    4    32     1/10 Gbps Ethernet Module           N7K-F132XP-15      ok
    5    0      Supervisor Module-1X                N7K-SUP1           ha-standby
    6    0      Supervisor Module-1X                N7K-SUP1           active *
    I recently tried to add a couple of "ip dhcp relay address" statements to an SVI and received the following error message:
    ERROR: Hardware programming failed. Reason: Tcam will be over used, please enable bank chaining and/or turn off atomic update
    Studying this page I was able to determine, that I seemed to be hitting a 50% TCAM utilization limit on the F1 modules, which prevented atomic updates:
    # show hardware access-list resource entries module 3
             ACL Hardware Resource Utilization (Module 3)
                              Instance  1, Ingress
    TCAM: 530 valid entries   494 free entries
    IPv6 TCAM: 8 valid entries   248 free entries
                              Used    Free    Percent
                                              Utilization
    TCAM                      530     494     51.75 
    I was able to workaround it be disabling atomic updates:
    hardware access-list update default-result permit
    no hardware access-list update atomic
    I understand, that with this config I am theoretically allowing ACL traffic during updates which shouldn't be allowed (alternately I could drop it), but that's not really my primary concern here.
    First of all I need to understand why adding DHCP relays are apparently affecting my TCAM entry resources?
    Second, I need to understand if there are other implications of disabling atomic updates, such as during ISSU?
    Third,  What are my options - if any - for planning the usage of the apparently relatively scarce resources on the F1 modules?

    Could be CSCua13121:
    Symptom:
    Host of certain Vlan will not get IP address from DHCP.
    Conditions:
    M1/F1 Chassis with Fabric Path Vlan with atomic update enable.
    On such system if configured SVI with DHCP is bounced that is if we shut down and bring it up may cause DHCP relay issue.
    Workaround:
    Disable Atomic update and bounce the Vlan. Disabling Atomic update may cause packet drops .
    Except that ought to be fixed in 6.2(2).

  • How to create process chains,and how to use process like and or xor

    Hi,
    How to create process chains,and how to use process like and or xor.
    can any one please give me a example in each.
    Thanks,
    cheta.

    Hi Cheta,
    Here is step by step procedure to create process chains
    Process chain is nothing but executing a process ..(or) loading the data any process we can do in background.. that means.. automatically we can execute our process based on Time or any event..
    Creating Process Chains
    Prerequisites
    If you want to include a load process in the process chain, you need to have already created an InfoPackage.
    You cannot load flat file data from a client workstation in the background. For this reason, you have stored your data on an application server.
    Creating Process Chains
    You have the option of creating a process chain in the process chain maintenance screen directly or by using a maintenance dialog for a process:
    Creating a Process Chain Directly in the Process Chain Maintenance Screen
    You are in the BW Administrator Workbench.
    1. Click on the Process Chain Maintenance icon in the AWB toolbar.
    The Process Chain Selection dialog window appears.
    2. Choose Create.
    3. Enter the technical name and a description of the chain, and confirm your entry.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    5. Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    Hope this helps
    Regards
    Karthik

  • Process Chain that uses a DTP and locks up with CX_RSBK_REQUEST_LOCKED

    Hello Experts,
    I am making a program to start a PC inside a loop. This Loop has several dates and ODS ID's. The problem is that inside the loop I make a call to FM RSPC_API_CHAIN_START, after this I have a WAIT UNTIL 30 SECONDS command so that the process has enough time to finish loading data. Each time the loop starts I change the name of the .txt flat file that te PC is going to load and store it inside a Z table with a rutine inside the DTP calling it every loop cycle. And so every time the Process Chain starts it should load a different file into a specifyc ODS. The problem comes at the second loop in which through the RSA1 transaction I find out that the chain is locked with an exception CX_RSBK_REQUEST_LOCKED and the subsequent calls to the Process Chain simply don't start at all. One solution I found was to delete the last Petition Request ID in the table RSSTATMANPART.
    I use RSSM_DELETE_REQUEST to delete that request using that ID and the cube name.
    Now this doesn't work either.
    PROGRAM SUMMARY:
    LOOP WITH ODS THAT NEED LOADING INTO BW ODS
        DELETE PETITION REQUESTS FROM RSSTATMANPART WITH YELLOW OR RED STATUS.(So that PC can start)
        CHANGE FILE THAT DTP ROUTINE WILL LOAD
        START PROCESS CHAIN
        WAIT A CERTAIN AMOUNT OF TIME FOR PC TO FINISH
    ENDLOOP.
    Edited by: Antonio Alejandro Ortega Vergani on Apr 12, 2011 12:05 AM

    Hi saveen,
    I've checked the transaction sm50 to check the available processes and I have 8 BTC(batch), 5 DIA(dialog), 2 UPD(update), 1 ENQ(enqueue) and 1 SPO(spool). Are these the ones you are asking about? I assume you refer to BTC which I believe 8 is enough....correct me if Im wrong here as Im starting out with this please.
    Thing is that Im trying to automate this whole process (for loading various file types(headers.txt, details.txt, payments.txt, etc), for various centers and several months...this is why I want to automate the whole process, so I dont have to go manually through all this data loading. So what I did was try to start the chain inside a loop for every new combination of dates that DIDN'T EXIST in the ODS tables. The process chain is supposed to call a DTP that uses a routine to see which file is going to upload to BW but only does it the first time.
    The problem comes with the second cicle of the loop in which the petition request for the DTP is already green, nevertheless the next start of the chain doesn't come as there seems to be no creation of another request and the exception CX_RSBK_REQUEST_LOCKED in the transaction RSPC.
    Appart from this whenever I try to delete the last request so that this way it does create another request(rnr) in RSSTATMANPART through the use of RSPC_API_CHAIN_START the data in my ODS does not stay and is deleted.

  • Can I daisy chain two mac pros so that I'm using one monitor and keyboard

    Can I use two mac pro's with one monitor, keyboard & mouse? The two different machines have two different operating systems (Snow Leopard / Lion). One machine is brand new and the other is 5 or 6 years old.
    I want to use both machines in tandem so that I can leave something to render while I work on something else.

    KVM is an answer -- maybe.  I use one for two machines to share one of my monitors (a VGA) and my keyboard (the second older machine seems to have sleep problems if I share a usb mouse on the kvm however).
    The trickiest part of choosing a kvm is trying to find one that can handle the video; one that can handle the required bandwidth, and the connections.  If one computer uses, say DVI, and the other mini-displayport, then you need to figure out which kvm can handle that with one (or both) of the machines using adapter(s). 
    You said one of the machines is brand new.  Then it probably has thunderbolt.  So you would need a mini-displayport, dvi, or vga adapter depending on the monitor.  That means the older machine will need a similar connection since whatever kvm you get will have the same kind of ports for both inputs and its output.
    A wild card here (at least in my mind) is if the newer machine has thunderbolt.  While a mini-displayport display can be plugged into a TB connection, it is not clear that such a thing will work through a kvm.  That is unknown territory I think at this point.

  • Create Process Chains and add Process Types using ABAP

    Does anyone in here have experience in creating or changing a full Process Chain including the Process Types?
    The reason is, that we have a lot of source systems with "similar" loads.
    We already have an ABAP that can copy the chain and replace the InfoPackages. But we can't find a way to create/change a process, e.g. 'Hierarchy Save', 'PSA Delete' etc.
    Any ABAP samples is highly appreciated!
    Best Regards Jakob

    Hello Jakob
    did you find already this how to paper: "How to ... Implement custom process types" ?(https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/72e0e1ed-0c01-0010-74bc-b397c8c4dadc)
    It has a code sample in the appendix.
    Hope it helps,
    regards
    Martin
    Message was edited by: Martin Lehmann

  • Problem with porcess chain and request

    Hi experts, I need help!!
    Description of the problem:
    There are three ODS that load daily information through process chain to a Infocubo. The information is loaded to BW from View generated for a data base of Oracle.
    Process chain for the three ODS is equal, I explain the one procedure to them:
    1- It initiates the chain .
    2- Blocks the View.
    3- Load of data through of infoPackage.
    4- If the load finishes well, then the data is delete of the View, the data is activte in the ODS and it arises to InfoCube, and if it finishes bad so unblocks the View and finishes process chain.
    5- Then, reconstruct the Index.
    Happens that in the three ODS when we loaded the information erase request loaded previously, then the historical one of the loads in the ODS does not stay. The three infopakages used to load the information to the ODS does not have labeled the option to erase the destiny of data, and it does not have it marked. The ODS do not have marked that option.
    When I do it manually east problem does not happen. I erased process chain and I returned to create the chain porcess but it did not solve the problem.
    Thank you

    I just checked the documentation and found that your code is incorrect. IAlternativeName::StrValue contains value for an email address, a Domain Name System (DNS) name, a URL, a registered object identifier (OID), or a user principal name (UPN). It doesn't
    contain string value for directory name (and other non-mentioned types). Instead, you need to instantiate an IX500DistinguishedName interface and initialize it from an alternative name value:
    class Program {
    static void Main(string[] args) {
    String RequestString = "Base64-encoded request");
    CX509CertificateRequestPkcs10 request = new CX509CertificateRequestPkcs10();
    request.InitializeDecode(RequestString, EncodingType.XCN_CRYPT_STRING_BASE64_ANY);
    Console.WriteLine("Subject: {0}", request.Subject.Name);
    foreach (IX509Extension ext in request.X509Extensions) {
    if (ext.ObjectId.Name == CERTENROLL_OBJECTID.XCN_OID_SUBJECT_ALT_NAME2) {
    CX509ExtensionAlternativeNames extensionAlternativeNames = new CX509ExtensionAlternativeNames();
    string rawData = ext.RawData[EncodingType.XCN_CRYPT_STRING_BASE64];
    extensionAlternativeNames.InitializeDecode(EncodingType.XCN_CRYPT_STRING_BASE64, rawData);
    foreach (CAlternativeName alternativeName in extensionAlternativeNames.AlternativeNames) {
    switch (alternativeName.Type) {
    case AlternativeNameType.XCN_CERT_ALT_NAME_DIRECTORY_NAME:
    IX500DistinguishedName DN = new CX500DistinguishedName();
    DN.Decode(alternativeName.RawData[EncodingType.XCN_CRYPT_STRING_BASE64]);
    Console.WriteLine("SAN: {0}", DN.Name);
    break;
    default:
    Console.WriteLine("SAN: {0}", alternativeName.strValue);
    break;
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

Maybe you are looking for