BPEL implement while-continue logic

Greetings,
In java, one could use the continue statement to skip current iteration within a while, for or do-while loop.
Is it possible to implement similar flow control in BPEL within in a while activity?
Thanks.

Sure, in my case, I have a variable list of elements that I am dealing within the while loop activity.
E.G. I have an array of addresses. In the while loop, for each address, I want to execute some logic only if the address is valid. I check if the address is valid first thing inside the loop. If the address is invalid, then I want to skip current iteration and proceed with rest of the elements.
Alternatively, I could iterate over the array first, pick only valid address assign it to a temp array and then reiterate again on all valid addresses in the temp array. This will involve iterating over the array elements twice, which I was tying to avoid.
It would be nice to have a "continue" statement in BPEL!
Thanks.

Similar Messages

  • Error while creating logical file using transaction FILE

    Hello there,
    I am facing an error while creating Logical File name definition using transaction FILE
    This is the input which I'm trying to give
    Logical file name: ZTEST
    Name : ZTEST
    Physical file : ZTEST_1<DATE><TIME>.csv
    Data format: ASC
    Application area: BW
    Logical path:ZTEST_1_DATAOUT
    when I tried to save it throws me an error like  ASSIGN_SUBSTRING_NOT_ALLOWED
    Please help.

    Hi,
    Please check the OSS Notes :
    Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
    SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
    Hope this solves the problem.
    -Vikram

  • Error while creating logical port for Consumer Proxy in SOAMANGER

    Hi,
    While creating logical port for my consumer proxy in SOAMANGER, I am getting the error shown below
    SRT Framework exception: HTTP: Current user does not have the required authorization to access the HTTP destination
    I have searched in the forums but none of the answers helped me.
    I have specifed my PI user ID and password and the user has the followwing roles assigned to it.
    SAP_BC_WEBSERVICE_SERVICE_USER
    SAP_BC_WEBSERVICE_ADMIN_TEC
    SAP_BC_WEBSERVICE_CONSUMER
    SAP_BC_WEBSERVICE_ADMIN
    Current user in the error message refers to the PI user that i have specified or the user with which i have logged in the backend ABAP system?
    Please help me reslove this issue.
    Thanks and regards
    Sreehari Nambiar

    Hi,
    Please add the following roles as well.
    SAP_BC_WEBSERVICE_ADMIN_BIZ
    SAP_BC_WEBSERVICE_DEBUGGER
    SAP_BC_WEBSERVICE_OBSERVER
    Also make sure that you are doing the role comparison  after adding all SAP* roles in your profile.
    Let me know if this works?
    Thanks,
    Sridhar

  • While intending to perform a clean install of Mountain Lion while continuing with old apps and files, is it a waste to restore a backup that was made while running Mountain Lion as an UPgrade from Lion?

    While intending to perform a clean install of Mountain Lion while continuing with old apps and files, is it a waste to restore a backup that was made while running Mountain Lion as an UPgrade from Lion?
    Originally I was running Mountain Lion as an UPgrade from Lion. I created a backup in Time Machine, performed a clean install of Mountain Lion, then I proceeded to use Time Machine to restore the back up.
    When thinking about the essence of a back up restore, it occurrs to me that for all I know, I may have just wated my time IF Time Machine also restores all the old unneeded files that remain from Lion after an upgrade.
    Since the backup was made while running Mountain Lion as an upgrade from Lion, did restoring this backup defeat the purpose of a clean install by reinstalling old Lion files?
    If so, how can I re-do the last portion of the process so that I get all my home-folder files and apps back without the full bulk of old Lion files? Migration assistant I'm guessing?
    -Chris

    Hello John!
    Thank you for your response which solved my problem. For other users who may stumble upon this, I'll clear up the confusion and share how I solved the problem with your help; When looking for answers to my computer problems, finding unresolved questions where person B offers a solution and person A never comes back and says "That worked, thank you.", it demonstrates a "k-thnx-bye" user mentality that leaves others with the same problem lost. Without further ado:
    It is not clear what you did because the meaning of "clean install" is vague. You can erase a volume and install an OS which leaves none of its previous content intact,
    This is what I did: I erased the volume leaving no previous content intact, while then installing OS X Mountain Lion.
    or you can upgrade an existing OS (or reinstall the same one) which does not alter your user - installed files.
    An upgrade to Mountain Lion from Lion is what I started with initially before erasing anything. This was undesirable. Since this can cause Macs to run slower (especially whereas I'm using a mid-2011 Mac Mini), my goal was to go from operating within an upgrade to Mountain Lion, to operating within an installation of Montain Lion that was not preceded by any other oprating system.
    Hence a "clean install of Mountain Lion while continuing with old apps and files" is confusing.
    Well put and understood. What I should have said was:
    1.Erase the volume
    2.Install Mountain Lion clean
    3.Confirm that Mountain Lion is functioning properly
    4.Proceed to use either Time Machine or Migration Assistant to Import/Migrate/Copy over only two things; My old apps (That had been stored originally in the designated Applications folder) and all files and folders originally stored in the home folder under users.
    If you restore from a Time Machine backup then all modifications that occurred subsequent to that backup become erased. It renders moot any OS X upgrade performed subsequent to that backup.
    That makes sense and is just as I later suspected.
    If so, how can I re-do the last portion of the process so that I get all my home-folder files and apps back without the full bulk of old Lion files? Migration assistant I'm guessing?
    Yes.
    This is what I did and everything works perfectly. Thank you so much once again!
    -Chris

  • How do I record an audio source outside of Logic while in Logic?

    Hi everyone, I have a question I would like to address to the forum.
    How do I record an audio source outside of Logic while in Logic? For example, I would like to record the audio off a youtube video or dvd to be then used in Logic. I am using a Dididesign M-Box Mini for both my audio input and audio output i.e. all sound is coming in and out of the M-Box. I hope this is an easy question to answer (I am a new Mac user). Thanks in advance.
    Mac Pro   Mac OS X (10.4.9)  

    Use the 3.5mm audio out jack on the back of your computer. Connect it to your audio interface, and record like normal. You need an adapter cable. ( 3.5mm stereo to two 1/4 inch mono) see link.
    http://www.musiciansfriend.com/product/Live-Wire-3.5M-TRSDual-14-Y-Cable?sku=330 481&src=3WBZ4DS

  • How to implement this complex logic on rpd

    How to implement following sql logic on OBIEE 10g RPD...whole thing to be implemented as single column on presentation layer.
    to calculate numerator===
    select sum(flag) as ap_account_no,exp from                                                                                           
    (select a.invoice_id as invid,a.payment_no, max(a.payment_dt) as payment_dt,max(a.due_dt) as due_dt,b.expenditure_type as exp,                                                                                          
    case when max(a.due_dt)+ 3 > max(a.payment_dt)                                                                                           
    then 1                                                                                           
    else 0                                                                                           
    end As Flag                                                                                          
    from Supplier_inv_pymt_map a, po_invoice_map b                                                                                          
    where a.invoice_id= b.invoice_id and a.invoice_dt!=a.due_dt and a.usd_gross_AMOUNT >0 and a.PAYMENT_STATUS!='VOIDED' and to_char(a.payment_dt,'MON-YYYY')='JUN-2011'                                                                                          
    group by a.invoice_id, a.payment_no,b.expenditure_type) GROUP BY exp                                                                                          
    to calculate denominator===
    select count(invid),exp from                                                                                      
    (select a.invoice_id as invid,a.payment_no, max(a.payment_dt) as payment_dt,max(a.due_dt) as due_dt, b.expenditure_type as exp                                                                                     
    from Supplier_inv_pymt_map a, po_invoice_map b                                                                                     
    where a.invoice_id= b.invoice_id and a.invoice_dt!=a.due_dt and a.usd_gross_AMOUNT >0 and a.PAYMENT_STATUS!='VOIDED' and to_char(a.payment_dt,'MON-YYYY')='JUN-2011'                                                                                     
    group by a.invoice_id, a.payment_no,b.expenditure_type) GROUP BY exp                                                                                     
    tables n column used in sql r available on physical layer....
    can anyone help

    Hi
    if you don't want to aggregate try to define a user function
    analytic_sum($(value))
    implémented by
    sum($(value))
    after that
    replace your
    sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)
    by
    analytic_sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)

  • How to implement this aggregate logic at target column in odi inteface mapp

    sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)
    how to implement this aggregate logic at target column in odi inteface mappings

    Hi
    if you don't want to aggregate try to define a user function
    analytic_sum($(value))
    implémented by
    sum($(value))
    after that
    replace your
    sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)
    by
    analytic_sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)

  • Error while determining logical Port

    Hi
    This is a ECC to SRM scenario:
    I get this error in the Call Adapter step. I am using WS Adapter at the receiving side.
    "Error while determining logical port Cannot find logical port for agreement abc and interface xyz"
    Why do I get that error and any suggestions ?
    Regards
    Harish

    Baskar,
    I didn't fix any issue. I was trying tofind out why the error happens. There is a proxy created at ECC side. I saw that. But target is using WS Adapter and it's that adapter which is throwing errors about logical port.
    I read the blog but couldn't figure out. Does WS Adapter need proxy code? Can it work without proxy code? I don't see any proxy code for receiver WS Adapter. I was wondering whether the absence of the proxy code gave this error about logical port
    Regards
    Harish

  • Implementing Custom Validation Logic for Payment Disbursements

    Hi All,
    Is there anyone here, who has implemented Custom Validation Logic for disbursements in Oracle payments.
    Theory: Under Payments Setup Administrator -> Formats -> Formats, we can setup a payment format and even attach a XML template. Apart from this we can setup Pre-defined validations or user Defined validations.
    For Pre-defined validations / seeded validations, Oracle has provided an API
    IBY_VALIDATIONSETS_PUB.evaluateCondition. We can use this API, and call a custom package by using the keyword 'CUSTOM' in the call.
    Has anyone played around with this package and successfully implemented custom validations. Does anyone have a sample code on how to implement this. The Payment Manager Implementation guide is of little help.
    Thanks

    This document was very helpful to me in creating a custom validation.
    http://docs.oracle.com/cd/E18727_01/doc.121/e13416/T387353T419293.htm

  • LPCONFIG Error while activating logical port

    Hi
    While creating logical port to a proxy class via LPCONFIG, I get the following error message
    Message no. SRT_LPREG029
    Configuration is valid but messages exist
    I am able to save it but not able to activate it.
    Please let me know the solution.
    Thanks & Regards
    Madhu

    Hello Inaki.
    it occurred after EHP3 upgrade on CRM 7, before it was working properly.
    Thx
    Matus

  • Regarding problem while assigning logical system

    Hi Friends,
    I had a problem while assigning logical system to the client where in both of my systems are having same client number which belong to 2 different systems.
    while assigning the sender and receiver logical system to the same client i am facing problem stating that an entry has already been made for the same key.
    could any one plz give me a clear idea...while assigning logical systems (cross clients) for 2 different systems having same client number.
    Regards,
    Madhu

    Hello Madhusree,
    I'm running with same problem. I've created two logical systems and assigned them to two different clients. But here pops up the issue while generating partner profiles, throwing error "No active plan version exists". Later when I researched about the issue, I came to know that T77S0 table doesn't have any entries regarding plan versions. Basically, I created two clients by doing "client copy" from source client (800 & 100). And I could see plan version entries in the T77S0 of client 800. So, I thought of assigning just defined logical system to the source client 800 itself. But it throws error saying "entry already exists"; as client (800) is already assigned with other logical system.
    By coming across your post, gives me leap of hope that two logical systems can be assigned to same client. Could you please share me those troubleshooting steps concerning this issue. Points will be awarded.
    Regards, Anil. 

  • Will you loose songs in garageband while downloading logic pro 9?

    will you loose songs in garageband while downloading logic pro 9?

    Definitely not. I downloaded LP9 and had several songs in GB. They stuck around and I was easily able to open & convert them in Logic.

  • MBP Display flicks off while using Logic Pro and external monitor

    Hi there
    I have the MBP conected to my external 19" monitor. While running Logic Pro 7.2 the MBP will, for no apparent reason, turn its diplay off and logic will crash. The external monitor will still be on. And I can still move the mouse onto this monitor.
    I then have to hold down the start button to force the machine to restart. This only started to happen after 3 months, but now it happens twice a week or so.
    Anyone else experiencing similar problems?
    Mbp   Mac OS X (10.4.6)  

    You may want to check these threads to see if they match your problem
    http://discussions.apple.com/thread.jspa?threadID=570540
    http://discussions.apple.com/thread.jspa?threadID=539425
    http://discussions.apple.com/thread.jspa?threadID=546601
    Reverting to 10.4.6 solved my issues.

  • BPEL implementation design suggestions

    Hi all,
    Being new to SOA, I'm not really sure whats best practice regarding BPEL and certain problems. I just think that the way I have implemented a BPEL solution is "ugly" and was hoping there was a better solution. So I hope some of you may have some design experience you would share. :-)
    We have a legacy system that gives us some unique document ids that we need to use when creating new documents. The problem is that the new system has to be up 24/7 and the legacy system is down for maintenance every night for about 6 hours.
    As we are using SOA for the document creation, I have created a BPEL process that retrieves 20000 ids from the legacy system. When we need an id we ask the BPEL process for an id. When there is under 100 id's left, I retrieve 20000 more from the legacy system.
    I have implemented this as following:
    1. Load 20000 id's via a webservice.
    2. Save the 20000 id's in a local database via a database adapter (allows me to get id's from a local database when legacy system is down).
    3. Load 1000 id's via a database adapter (into memory).
    4. Assign the 1000 id's into a Global variable of the same message type as the Collection used by the database adapter.
    5. Each time the BPEL process is called, return the first id and mark it as used (couldn't find out how to delete an entry).
    Step 1 and 2 are only called if there are less that 100 id's left in the local db.
    The problem is that since the BPEL process returns each time (synchronized webservice process). Its not really a in memory queue system as it will load 1000 id's from the database each time instead of using the memory. I might as well just load one id from the db each time.
    If this was Java, I would just load 1000 id's into an arraylist and add more to the arraylist from the db when needed. This would avoid to many db calls.
    So how would you implement this i BPEL?
    many thanks,
    William

    Ok guys, Here is one quick example of what i would ideally like to achieve.
    [http://i279.photobucket.com/albums/kk128/ziggy_76/onelayerprocess.jpg|http://i279.photobucket.com/albums/kk128/ziggy_76/onelayerprocess.jpg]
    Everything above the shaded line already exists so i will be developing new components below the shaded line. (i.e. there is already a process that reads from the database and writes to the relevant queue.
    The diagram shows that each ftp server will have two processes associated with it. An INftp and OUTftp process. The IN process will be polling the relevant ftp server and writes whatever it reads back into the queue. The OUT process will be checking the queue to see if there are any new items that need to be transffered to a server. Each item in the queue has an IN or OUT flag.
    I am wondering whether it is more efficient to use the above approach, or include a new process that reads from both queues and sends the requeust to either the IN or OUT processes which a normal objects.
    How would a plugin be used in this situation? If there is a generic class for putting files into an FTP server, does this mean all the PUT processes will need to extend this class? How would i deal with situations where the "putting" requires different logic for each server?
    I am thinking that maybe only the logic for "putting" and "getting" should be generic but the preparation should be independent?
    And also, what is more efficient to use in terms of performance a java thread or an instantiated object?
    Thanks
    Edited by: ziggy on May 5, 2009 1:52 PM

  • Problem while creating Logical System Connecting Portal to ECC (Backend)...

    Hi
    - I am trying to connect portal to ABAP so that from portal's iView i could access any ABAP T-Code (e.g. SE37).
    - Secondly, just wanted to let you know that i am not implementing SSO.
    - I used iView's SAP GUI Type = SAP GUI for HTML.
    I made following 3 tests, out of which ITS connection is failed. and while previewing my iView i m not able to connect with ABAP and giving error:  "The URL http://192.168.1.104:8001/sap/bc/gui/sap/its/webgui was not called due to an error."
    Could u pls guide me what to do....  And i mentioned everything at the bottom in detail.
    Thanks & looking forwarded for your replies.....
    SAP Web AS Connection (Successful)
    Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Checks if the host name of the server can be resolved.
    6. Pings the server to see if it is alive.
    7. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
    8. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (192.168.1.104:8001)
    5. The host name 192.168.1.104 was resolved successfully.
    6. The server 192.168.1.104 was pinged successfully.
    7. The Web AS ping service http://192.168.1.104:8001/sap/bc/ping was pinged successfully.
    8. An HTTP/S connection to http://192.168.1.104:8001/sap/bc/bsp/sap was obtained successfully.
    ITS Connection (Failed)
    Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether the system object has a valid system alias
    4. Check whether a SAP system is defined in the system object
    5. Validate the following parameters: ITS protocol; ITS host name
    6. Checks if the host name of the server can be resolved.
    7. Pings the server to see if it is alive.
    8. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ITS Protocol (http) ITS Host Name (192.168.1.104:8001)
    6. The host name 192.168.1.104 was resolved successfully.
    7. The server 192.168.1.104 was pinged successfully.
    8. User mapping is valid
    9. An HTTP/S connection to http://192.168.1.104:8001/sap/bc/gui/sap/its/webgui/ was not obtained successfully; this might be due to a closed port on the Firewall.
    Test Connection with Connector (Successful)
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results
    1. Retrieval of default alias successful.
    2. Connection successful.
    I am getting following error while Previeiwng iView.
    Error when processing your request
    What has happened?
    The URL http://192.168.1.104:8001/sap/bc/gui/sap/its/webgui was not called due to an error.
    Note
    The following error text was processed in the system D10 : Template interpretation cancelled, syntax error.
    The error occurred on the application server eccdcs1s_D10_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          SYSTEM-EXIT of program SAPLSFUNCTION_BUILDER
          Function: RS_FUNCTION_INITIAL_SCREEN of program SAPLSFUNCTION_BUILDER
          Method: IF_WB_PROGRAM~PROCESS_WB_REQUEST of program CL_FB_FUNCTION_INITIAL_SCREEN=CP
          Method: DO_THE_NAVIGATION of program CL_WB_NAVIGATOR===============CP
          Method: DO_THE_NAVIGATION of program CL_WB_NAVIGATOR_VIS_AS_DYNPRO=CP
          Method: PROCESS_WB_REQUEST of program CL_WB_MANAGER=================CP
          Method: PROCESS_REQUEST_QUEUE of program CL_WB_MANAGER=================CP
          Method: IF_WB_MANAGER~SET_WORKSPACE of program CL_WB_MANAGER=================CP
          Method: START_INTERNAL of program CL_WB_STARTUP=================CP
          Module: MANAGER_START of program SAPLWB_MANAGER
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the   system D10 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server eccdcs1s_D10_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server eccdcs1s_D10_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 001 -u: SAPUSER -l: E -s: D10 -i: eccdcs1s_D10_01 -w: 0 -d: 20090924 -t: 202054 -v: RABAX_STATE -e: ITS_CANT_LOAD_INCLUDE
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Edited by: Harpal Singh on Sep 24, 2009 4:55 PM

    Hi,
    > Goto SE80, Select "Internet Service". Give service name as WEBGUI and enter. Right click on the WEBGUI and select Publish -  > Complete service.
    Source : http://wiki.sdn.sap.com/wiki/display/BI/BiAdminCockpit+Issues
    Or call transaction SIAC_PUBLISH_ALL_INTERNAL to publish all services.
    [Note 964521 - Short dump ITS_CANT_LOAD_INCLUDE w/ call of SAP GUI for HTML|https://service.sap.com/sap/support/notes/964521].
    Regards,
    Pierre

Maybe you are looking for