Logical OR condition check in xpath - Documaker v 12.x

Hello,
We are looking to trigger images based on a logical OR condition between XML node values within the Xpath. This was possible using the flat file extract with offset referencing, say, Search mask (counter) - 10,31,12,(a,b). A similar change done for the Xpath reference does not seem to work. Thanks.

Hello,
If we give two manual triggers with 2 different Xpath conditions for applicable image, then documaker executes an OR condition between the conditions to trigger the image.
Thanks.

Similar Messages

  • How i can make in the same action 2 condition (check the exemple down)

    how i can make in the same action 2 condition (check the exemple down)
    this is an example and I really thank you for helping me(any body plz)
    http://www.2shared.com/file/DPpdgC_a/Exemple_Edge.html

    1. make each rectangle a symbol  (Symbol_1 and Symbol_2) and uncheck autoplay()
    2. Delete your code on the click event and put the following code in compostion ready:
    var toggle=true;
    function btnPlay(){
              if (toggle){
                        toggle=false;
                        sym.getSymbol('Symbol_1').play();
              else{
                        toggle=true;
                        sym.getSymbol('Symbol_2').play();
    sym.$('Ellipse').click(function(){
              btnPlay();

  • I want to create new popup block screen in CO11N SCREEN for condition check

    in standard CO11N screen after completing filling the required field , when i click the save icon I NEED TO CREATE THE POBUP BLOCK SCREEN FOR CONDITION CHECKING WHICH CONSIST
    YES    NO    CANCEL
    IS THERE ANY FUNC MODULES TO DO THIS? OR IS IT POSSIBLE BY CODING?

    Don't rely on 'Preview'.
    Share/Export as .ibooks file and then drag that to iTunes and sync to your iPad.
    Still no joy, find a pre-processing recipe ( that includes export for iPad) that doesn't spoil the quality in the process.
    Just keep in mind that low quality in means low or lower quality out, in this example.

  • Condition Checking

    Hi,
      Is there anyway i can ensure, let's say my "net income" is larger than 2 million before the user can submit the data? is there some sort of condition checking or locking mechanism that does this?
      any input on this?
    cheers

    You can have something like that for submission
    please check into help online the follow link
    http://name of your application server/osoft/help/admin/helpstart.htm#Setting_application_set_parameters.htm
    It is not exactly what you want but you can do something using this approach.
    You can change the work status settings for each application. Changing the work status settings involves identifying three to five 'work status dimensions,' and then defining specific members for the remaining non-work status dimensions used for validation purposes. You must determine which account you will use for validation of the data at the time the work status is changed. The validation account must be ”0u201D at the intersection of the 3-5 variable members and the members designated for the non-work status dimensions.  If the account is not ”0u201D then the owner/manager cannot set the work status.  This is an option feature.
    The dimensions you select as the work status dimensions are the variables in your business process. For example, the entity, category, and time might change based on who is submitting data, but the account, data source, reporting currency, etc., remains static. (Typically, Time is a work status dimension since data is usually segregated based on time.)
    For example, lets say that you set Entity, Category, and Timeas your work status dimensions for a given application. You then set your other current view members to the following:  Account: Validation; DataSrc: TotalAdj; Intco: All_Intco; and RptCurrency: LC. In addition to assigning work status dimensions, you also specify which dimension is the 'owner dimension.' The owner dimension includes the Owner property. The owner property determines who can edit a work status setting. The following figure shows this setup, where Entity is the Owner dimension.
    A user attempts to post data to the current view shown in the following table. The system checks the 'validation' account to make sure the intersection equals zero (0). If so, the data is posted, and a success message is displayed. The user can now set the work state to 'submitted' on that intersection. Subsequent submissions to that exact intersection will be rejected. Users can only send data to the same intersection if the Entity, Category, or Time member changes.
    Account
    <All>
    Category
    Actual
    DataSrc
    <All>
    Entity
    SalesNE
    Intco
    <All>
    RptCurrency
    <All>
    Time
    Feb.2007
    To change work status settings for applications
    From the Admin Console, expand the Application node.
    Expand the application for which you want to change the work status setting.
    Select Work Status Settings.
    In the Work State column, select Yes for each dimension you want to use to control the work status settings. Select Owner for the dimension that contains the Owner property.
    In the Member Validation column, select a member for each non-work status dimensions. (Use the browse button to open the Member Lookup.)
    From the action pane, select Save Work Status Settings.

  • Conditional Checking in Script Logic

    Could anyone please kindly enlightened me how I could code the following in the script logic?
    Scenario:
    IF A > 0, THEN B = C * D
    I have tried with SELECTCASE statement statement but all wouldn't work, I keep getting errors...
    SELECTCASE:
    *SELECTCASE [P_ACCT].[0005]
    *CASE > 0
             *REC(EXPRESSION= ([P_ACCT].[0004] * [P_ACCT].[0003]), P_ACCT=0001)
    *ENDSELECT
    Error:
    UJK_VALIDATION_EXCEPTION:Unknown or unimplemented keyword "*REC(EXPRESSION=IIF([MATERIAL].[LDG0005]=>0,([MATE"...
    Thank you very much in all advances.
    Best regards,
    Yen Li

    Hi Yen Li,
    Applying SELECTCASE - ENDCASE combination would not produce the desired results. Instead, use Validation Business Rules - by setting up Validation Rules and Validation Rules Details and run the Stored Procedure SPRUNVALID from the Default Logic to execute these validation rules. Call the Stored Procedure by the following syntax:
    RUN_STORED_PROCEDURE=SPRUNVALID(u2018applicationu2019,u2019categoryu2019,u2019currencyu2019,u2019%SCOPETABLE%u2019,u2019%LOGTABLE%u2019)
    Your command: u201CIf P_ACCT.0005 is > 0, multiply P_ACCT.0004 by P_ACCT.0005 and post the product in P_ACCT.0001. Otherwise do not do anything.u201D will be shown in result!
    Regards.
    Chakrapani

  • Condition check through BPM...............response from IDOC

    Hi All,
               I have a scenario like this:
    The data is coming from a system through a webservice and the SOAP data to be mapped to idoc.But the trick is the idoc is aasynchronous one and the webservice expects a response in return as its designed synchronous.  please suggest.
    Again the webservice data contains some specific data field and on checking the relevence of the data we need to post that to idoc otherwise we can rollback.can this be checked with BPM?
    if possible please suggest elaborately and if possible through another way suggest that also.
    Abhishek

    Use BPM. The Idoc Ack in the form of ALEAUD has to be configured at receiver. This Idoc can be caught in BPM in the form of acknowledgement idoc. Once received, u may use tranform step of BPM to map certain values to ur webservice response. Use Sync-Async bridge concept (many weblogs available on sdn)
    checking the relevence of the data
    What is the logic here. U may check certain conditions in mapping directly and raise an alert accordingly.
    Regards,
    Prateek

  • BPC Script logic : WHEN condition on two members of the same dimension

    Hello experts,
    my particular need is the following one ; I have to write an initialization logic for a planning application but I have to match 2 conditions to perform the initialization :
    (dimensions are PERIOD / RATIO and few other not interesting here)
    - SIGNEDDATA for member IB007 from dimension RATIO has to be not null
    - member IB009 (which is the the member I wish to initialize) has to be empty
    I have written the following code, but it always overwrite IB009 value :
    *WHEN PERIOD.LEVEL
    *IS "WEEK"
        *WHEN PERIOD
        *IS <> "Week.NA"
            *WHEN RATIO
            *IS "IB007"
    *REC(RATIO="IB009",NOADD,EXPRESSION=GET(RATIO="IB009",PERIOD="Week.NA",CAMPAIN="CA_000",SALES_BRANCH="CV_000",CONTRACT="CO_000",INTERCOS="I_NA",OFFER="O_000",RPTCURRENCY="LC",VERSION="Vers1")
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    In the GET instruction I fetch a data stored into a particular dimension cross as a  default value.
    I can't figure out how to perform a double test not to overwrte IB009 when a value already exists.
    Edit : in the second WHEN of the code part, it is     *IS different of "Week.NA" but the inferior superior sign does not appear because of the "code" markup I guess
    Thanks in advance for help, points will be awarded.

    I solved the issue on my side.
    It is possible tu use a GET in the WHEN
    *WHEN GET(RATIO=IB009)
    *IS 0
    I close.

  • Condition check (based on sender file name) at receiver determination step

    Hi,
    My scenario is File to AS2 (Sender side file adapter and receiver side AS2 adapter)
    We have 5 customers, but the source location is same to pick the files, Here we are not using any ESR objects.
    Based on the source file name PI need to determine to whoom this file need to send at receiver determination step
    Craeted objects
    1 Sender CC,
    1 Sender agreement,
    1 Receiver determination
    5 Interface determinations
    5 Receiver agreements
    5 Receiver CCs.
    Could you please provide me your valuable inputs.
    Thanks
    Ramesh

    Hi Venkataramesh,
    I understand your scenario as, picking files (different file naming standard for different target customer) from one source folder. Based on file name, that payload should be sent to corresponding target customer. You have mentioned u201CHere we are not using any ESR objectsu201D. I can see two reasons for this decision
    1. PI is used to route the messages, i.e., no need to transform the payload. OR
    2. Files can binary files like PDF, ZIP, JPG, GIFu2026
    Now I can see two possible solutions
    1.     Simple solution, as proposed by u201CPrabhu Rajesh Janardananu201D, make it into 5 different scenarios  (5 sender channels).
    2.     Bit complex solution, only one sender channel, using extended receiver determination
    Step 1:- In Sender File channel check u201CAdapter u2013 Specific Message Adapteru201D in Advanced tab. File Name should be checked.
    Step 2:- In Receiver Determination, Select Type of Receiver Determination as u201CExtendedu201D. http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce2a423a8e5430e10000000a42189b/frameset.htm
    Step 3:- Do a Graphical Mapping (use it Operation Mapping in Receiver Determination).
    Step 4:-
    Source and target of graphical mapping will be same (below), because you donu2019t want to access input payload (it can be XML, flat file, JGP, GIF and you donu2019t have its structure).
    <Receivers>
       <Receiver>
          <Party agency="" scheme=""></Party>
          <Service></Service>
       </Receiver>
    </Receivers>
    Step 5:- Write a UDF in Graphical mapping as below. http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/03612cdecc6e76e10000000a422035/frameset.htm Pay attention to method declaration
    public String Determine_Receiver( Container container) throws StreamTransformationException
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String valueOld = conf.get(key);
    //Put your logic here
    if (valueOld.equal(u201Cuser1u201D)) {
    return u201Cuser1u201D;}
    if (valueOld.equal(u201Cuser2u201D)) {
    return u201Cuser2u201D;}
    if (valueOld.equal(u201Cuser3u201D)) {
    return u201Cuser3u201D;}
    Step 6: Now use this UDF to map to u201CReceiveru201D and u201C Serviceu201D.
    This solution need more fine tuning.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Jan 8, 2011 5:56 PM

  • Negative Condition checking in read statement

    Hi,
    i have table, which i have to read,  key on which i am going to read that will be determined dynamically. now i have to check the value for the key field is initial or not. i can't use a loop here as it doesn't allow me to mention where condition field dynamically.
    thanks & regards,
    prabhu

    Hi use this:
    DATA: BEGIN OF it OCCURS 0,     "your dynamic table
            field1 TYPE c,
            field2 TYPE c,
          END OF it.
    it-field1 = '1'.
    it-field2 = 'A'.
    APPEND it.
    it-field1 = ''.
    it-field2 = 'B'.
    APPEND it.
    it-field1 = '2'.
    it-field2 = 'C'.
    APPEND it.
    FIELD-SYMBOLS: <struct> TYPE ANY,
                   <comp>   TYPE ANY.
    LOOP AT it ASSIGNING <struct>.   "loop at your dynamic table
      ASSIGN COMPONENT 'FIELD1' OF STRUCTURE <struct> TO <comp>.   "FIELD1 is determined dynamically
      IF sy-subrc = 0 AND <comp> is not initial.  
        WRITE <comp>.   "will write out <comp> for each entry which has non initial value in <comp> (here FIELD1)
      ENDIF.
    ENDLOOP.
    Please note that your <lfs> must hold name 'FIELD1' inside, than you can replace it with below code
      ASSIGN COMPONENT <lfs> OF STRUCTURE <struct> TO <comp>. 
    Regards
    Marcin
    One thing to be added here:
    You can't read table comparing its key field with negative condition NE , only comparison EQ are allowed in READ TABLE statement, that's why I chose above approach.
    Edited by: Marcin Pciak on May 26, 2009 4:51 PM

  • How to copy applications using script logic with conditions

    Hi,
    I have two copy data between application A to application B, but only i want to copy the March's Data of Application A. Dimensions are the same in both applications
    I'm going to use this script logic, ¿this script will work?
    *WHEN TIME
    *IS "2009.MAR"
    *DESTINATION_APP=B
    Thanks in advance
    Regards,
    Juan

    Hi all,
    Finally I solved the issue, the problem was that i haven't add this line in the script logic:
    TASK(Execute formulas,USER,%USER%)
    But now i need to pass in the script logic as an input: entity and time. Below is the code I prepare, it has no error but it doesn't work. ¿any idea?
    Thanks in advance
    Regards,
    Juan
    *SSIS PACKAGE *
    'DEBUG(ON)
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
    PROMPT(SELECTINPUT,,,"Please select entity and time to copy data from LegalAppNceu to LegalApp",%ENTITY_DIM%%TIME_DIM%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%..AdminApp%APP%CopyApplication.lgx)TASKTASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    TASK(Execute formulas,CHECKLCK,%CHEKCLCK%)
    SCRIPTLOGIC
    *DESTINATION_APP=LEGALAPP
    *SKIP_DIM= COSTCENTER
    *WHEN ENTITY
    *IS "%ENTITY_DIM%"
    *WHEN TIME_DIM
    *IS "%TIME_DIM%"
    *REC(FACTOR=1)
    *ENDWHEN
    *ENDWHEN
    *COMMIT

  • Condition checking in Message Mapping

    Hi
    My scenario has a IDOC coming in XI and gets converted into a flat file
    Idoc Structure
    ControlRecord
    ParentRecord
    Field1
    Field2
    ChildRecord
           Field3
           Field4
           Field5
    Condition is Field2 = 0500 and Field5=""
    If both the conditions are satisfied,then
    For every occurence of child record,parent record needs to be repeated.
    I used "useOneasMany" function to check ,but I am not able to check both the conditions.
    Help needed on how to check these conditions
    Thanks

    Hi,
      Try Like below.
    Field2-----------
       ChildRecord----Use One as many-->@
       Field5-----------
    @----equalsS("0500")----------and----if with out else---then(--@)----Target.
       Field5--length--equalsS("0")--
    If you required else condition then use "if" condition. As per above mapping any one condition fails target field will suppress.
    Regards,
    Prakasu.M

  • While loop condition check

    Dear All,
    attached is an NI that does the following.
    1. The user inputs a frequency and amplitude range to drive a speaker.
    2. A laser displacement sensor measure the speaker displacement, checks if it is in the desired range, and jumps on to the next frequency, if its not in the desired range it tries another drive voltage.
    The program works fine, the problem is, is that the while loop checks the condition in the beginning or the middle of the loop, therefore if it is in range instead of stoping at that particular amplitude and frequency, it goes to the next amplitdue before going to the next frequency. Since at the begining of the loop execution the condition was different that in the middle.
    How can I force the while loop to read the condition only after the sequence inside has completed.
    Thank you
    Ala
    Attachments:
    AmpFinder.vi ‏431 KB

    Dear All,
    I think this fixes the problem
    Cheers,
    Ala
    Attachments:
    AmpFinder.vi ‏431 KB

  • Condition check in PO

    Hi guys,
    I've a problem: I have a condition type defined "Required" in calculation schema and the condition appear in PO with value zero. How can I do to check if the value is greater than zero ?
    Regards
    Alberto

    when you mark a condition as "Required"  , it only means that  the  condition type must mandatorily appear in the procedure ,  it however does  not check the value at all   ,   in order to check the value  ,  you  need do define Limits for conditions  , you  can define this under customizing for conditions in purchasing.  apart from this, you can also define some routine and assign to the condition type.
    If  the value for that condition is  based on some parameters ( e.g.  plant/ p.org etc)  , then you can define an access sequence and maintain condition records to default the same.
    regards
    Raviraj

  • CSS load balancing, service dependancy condition check

    Hi,
    I would like to seek some advice regarding the CSS's service configuration.
    Is there a way to configure the CSS such that it check for the condition/status of a independant service (not involved in the load balancing algorithm) is alive/down (using service mode keepalive port/type), before deciding whether to/not to load balance to a group of services?
    Senario is as follwows:
    We process incoming HTTPS request and load balance to 2 HTTPS Servers (HTTPS service SSL1 and SSL2), on condition that a independent service (HTTPS service SSL3) is alive (using the keepalive type/port check in service mode).
    If the independant service (HTTPS service SSL3) is not alive, remove the HTTPS Servers (HTTPS service SSL1 and SSL2) from the load balancing algorithm.
    Thanks in advance for assistance
    !************************** CIRCUIT **************************
    circuit VLAN1
    ip address 192.168.103.35 255.255.255.192
    !************************** SERVICE **************************
    service SSL1
    ip address 192.168.103.53
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    service SSL2
    ip address 192.168.103.54
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    ? This is the service condition that CSS will check before deciding to/not to load balance to SSL1 and SSL2.
    ? If SSL3 is down, do not load balance to SSL1 and SSL2. If SSL3 is up, load balance to SSL1 and SSL2
    service SSL3
    ip address 192.168.103.55
    protocol tcp
    port 443
    keepalive type tcp
    keepalive port 443
    active
    !*************************** OWNER ***************************
    owner CISCO
    content L5Rule_SSL
    vip address 192.168.103.37
    application ssl
    protocol tcp
    port 443
    url "/*"
    add service SSL1
    add service SSL2
    active
    !*************************** GROUP ***************************
    group SSL
    vip address 192.168.103.37
    add destination service SSL1
    add destination service SSL2
    active

    maybe this?
    circuit VLAN1
    ip address 192.168.103.35 255.255.255.192
    ip virtual-router 10 priority 100
    ip redundant-vip 10 192.168.103.37
    ip critical-service 10 SSL3
    if I'm not mistaken the vip 192.168.103.37 will stop working when the service SSL3 goes down. I'm not sure that this is what you want though...

  • ABAP & Java conditional checks

    Hi folks,
    I'm running the IDM 7.1 Identity Centre, and when I assign a business role that has an ABAP and a Java privelege in it (And also when I unassign it...) the condition that checks whether the user has any priveleges in the system (and decides whether to delete him or not) seems to fail.
    That means my ABAP and Java users both are left in the repository with no roles/groups assigned.
    It seems to use the mxpt_check_account Stored procedure, which I've looked at, but cannot figure out why the condition is failing this check, and my users are not getting properly created/deleted.
    Any insight? Thanks im advance!
    Troy Shane

    Ok, I think you have it now, except for the exact order of things.
    Here's what I face right now:
    I assign a Business Role, with those 5 priveleges assigned to it, to my user, Larry.
    Larry gets created ok in ABAP and Java, and actually, the roles get assigned just fine there. If i change the role he's assigned to (Manager West, instead of East for example) I see them get updated with no problems (Very smoothly, in fact) in both the ABAP and the Java. For example, if I simulate a promotion for Larry through the IDM User Interface, and assign him a VP role, I see the roles updated properly. (Besides some SPML Date format warnings on the MX_VALIDFROM & MX_VALIDTO, but those I can live with for now.)
    However, I still, have two problems:
    1. It seems that NOW...(sorry, different behaviour now than when I first posted this message, due to the recommendations I've implemented) when I remove the Role assignment in IDM, the user's roles get removed properly in the repository systems. Then the tasks to delete the Java and ABAP users run, but they BOTH error out. It seems that the jobs that modify the role/profile assignments for both my ABAP and Java system (Standard SAP Prov Framework tasks - SetJavaRole&GroupForUser & SetJavaRole&GroupForUser ) also effectively deletes the users, because by the time the delete tasks run, the users are no longer there. These tasks throw the errors:
    Pass: DeleteJavaUser
    Error in delete: Can not delete object with id SPML.SAPUSER.Larry because Could not delete object as id seems to be invalid SPML.SAPUSER.Larry
    (...makes sense)
    Pass: DeleteABAPUser
    User Larry does not exist
    (...also makes sense)
    Ok, admittedly, this one is low impact, and I don't really need to get it fixed, I just want to understand why it is throwing an error...should it really be deleting the users when it first removes the roles, and then checks that there are no more privelege assignments for that system? (When I have 2 priveleges for the same system assigned through roles, it doesn't delete the user, just removes the role, as expected...no errors
    Ok, this one is my real issue now (Thanks for reading this far):
    2. I have the role configured as above, including priveleges from all 3 of my repositories (I hit "post" too early above):
    Role = ROLE:BUSINESS:SALES_EAST
    5 Priveleges total :
    - Z_INNOTECH_EAST-Group (JV1)
    - Eastern Region-Group (LABS)
    - Sales-Group (LABS)
    - Z_INNOTECH_SALES_EAST-Role (CR7)
    - Z_INNOTECH_SALES_EAST-Role (JV1)
    JV1 = AS Java 7.01 SP4 (EHP1 SP4)
    CR7  = SAP CRM ABAP 7.01 SP2
    LABS = Active Directory OU
    The ABAP & Java tasks faithfully fire now, every time I assign or unassign a Business role to my user Larry. (Yay!)
    There are also 2 AD groups (privelege) assigned to Larry through the role: Eastern Region group and Sales Group.
    There is also an inherited "Employee" Business Role, which has the AD "Employees" Group - for base employee access.
    The idea is that, a member of the Eastern Region Sales group would automatically be an Employee, so it is a Child Role of most of my major roles.
    When I assign this Business Role, the Active Directory tasks very rarely and very inconsistently fire...I am watching th results in the Job Log and also through my AD tools...
    I am using IDM 7.1 SP2 (Patched on Monday past)
    Using individual tasks through the IDM UI, I can create Users, and enable them...but the Provisioning seems not to work. I have the tasks set properly in the Repository definition and am using the SAP delivered ones (I have tried using modified copies with limited success, and am now back to basics) This proves it isn't the repository definition, or permissions on the repository. I'm always using the same Administrative user to assign/unassign these users, so now I'm stumped!
    Phew, ok that's enough for now...I'll post more error messages once I've investigated the AccountRepoName that you suggest...I haven't seen that Attribute and don't know if it is defined here.
    TIA (and so far...),
    Troy
    (Ok...how come I don't have any line returns in my message?)

Maybe you are looking for