Handling processed Filename in Xi

I am writing an EJB module for a Outbound file adapter to pick up the processed filename and send it to IE and ccBPM for writing audit files..but this requires that I need to alter my Outbound interface with an additional tag to accomodate the processed file name.
Is there any work around wherein I can directly pass the FileName Module parameter to ccBPM??

Hi,
Unfortunately, there is no way around this.  Unless you saved it in an external source and retrieve it in BPM.
You can add this new tag as optional, to have minimum effect on existing, already-developed objects.
Bill

Similar Messages

  • Handle Process Finish (TS40007947) step of WS40000014 ending in error

    Hi,
    We have implemented a process-controlled workflow for shopping cart on SRM 7. Schema evaluation and corresponding process level configuration has been done, including the responsible resolver and the enhancement implementation.
    When a shopping cart is created through external requisition, it goes to the approver however after the approval process the "Handle process Finish" (TS40007947) step of workflow template WS40000014 is ending in error because of the following:
    Work item 000000026346: Object /SAPSRM/CL_WF_PROCESS_MGR_SBWF method FINISH_PROCESS cannot be executed
    Termination triggered in '' - Rollback required
    Error handling for work item 000000026346
    Termination triggered in '' - Rollback required
    Note the same workflow is working fine when shopping cart is created through portal.
    I have checked the binding between the task and the class method, its fine. I am not sure what could be the problem.
    Could you please assist?

    Hi,
    in the following KBA we explain how to debug this:
    1625513 - Workflow without approval is Awaiting approval status - SRM
    https://css.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323535313326
    Thanks,
    Melina

  • Memdbg,  Weak handles proccessed and Hard handles processed means what?

    I have verbose gc logging running with memdbg on. I see lines in my logs that say:
    Hard handles: Processed 40789 handles during normal processing.     
    Weak handles: Processed 19954 handles during normal processing.     
    Weak handles: Processed 19868 handles during normal processing.     
    The number of handles keeps growing and all the documention I can find says about what this means is:
    "Lines 7 and 8 show information on weak and hard handles. This is mostly useful for advanced diagnostics and monitoring. "
    Is this how many handles left after GC or how many cleaned? Can anyone point me in the right direction?
    Thank you,
    Pat

    Hi,
    Your app specs are outside of what we recommend. But even with that taken into account, it does look a bit strange. Example:
    [gcpause][Tue Sep 18 19:50:32 2007][21873] old collection phase 4-5 pause time: 17653.675067 ms, (start time: 31020.348 s)
    [gcpause][Tue Sep 18 19:50:32 2007][21873] (pause includes wb processing: 17653.193 ms, compaction: 0.252 ms (external), update ref: 0.002 ms)
    17s time and most of it spent in "wb processing". One of the things happening here is processing of reference objects (soft, weak, phantom, finalizers). WLRT can currently not handle more than a few thousand such objects with good performance.
    A JRA recording would provide more info. See here:
    http://e-docs.bea.com/jrockit/tools/jmcpdfs/mc3/mcjra3.pdf
    Let us know how it goes. BEA does have specialists who can help you move forward as you evaluate WLRT; and we can loop one in here if needed.
    -- Henrik

  • Notification[s] for handling Complaing and CAPA handling process in Pharma

    SAP QM-QN facilitates work flow process, task monitoring, solution database and FMEA process for handling complaints and CAPA processes. BUT the current fields and reports configuration do not  support specific-requirements of regulatory/organization-.
    What are the implications of of customizing the "fields", "work flow" and "reports" inline with the FDA requirements. i.e.,
    1. huge number of fields have to added in the notification initiation section which are different for each CAPA process [complaint, deviation, incident]
    2. multiple work flow process for each category of CAPA process.
    3. multiple reporting requirements for each instance of CAPA record. etc.,
    request your comments/guidance on the impact during the life cycle viz., "while upgrading the current versions to next level" etc.,
    kindly enlighten.
    venugopal.

    Hi Venu
    MY rek. also same...
    Did you get any idea?
    If you find please give some detail about How did you design this..
    thanks
    Sami

  • Java.util.zip not handling Unicode filenames

    I have a zip file that contains files with Asian filenames. java.util.zip.ZipFile opens it, but the filenames are garbled. Is there any way to handle filenames that contain unicode characters?

    Of course, compression works on bytes, not some higher level constructs like Strings or files.
    You can use the ZipOutputStream or DeflaterOutputStream for compression.
    And the javadoc for Deflater even has a code example of compressing a String.
    Edited by: Kayaman on May 22, 2011 5:04 PM

  • Invoking a RFID Event Handler Process Manualy

    Hi,
    I have this unique scenario. For one of our test enviroinment the RFID scanners are sitting in a remote location and every time I have unit test I have to actually ask some one physically present there to help me with that.
    Can some one guide me how can I invoke a RFID process bind to a device without scanning the tags. Any examples. I have tried the contoso and other examples provided by MS but that is not helping me a lot. Any pointers please.
    Regards
    Pushpendra

    Each Page Maintenance has a routine/procedure ZA000-CALL-USER-EXIT (to execute COBOL or JAVA User Exits) along with XX000-CHECK-UEX-AT (checks for User Exits).
    For Field Activity, you have:
    CIPOFACP - Field Activity Page Maintenance
    1. BA000-CHECK-UEX-AT - Invokes CIPZUXLN, checks existence of COBOL or Java User Exits and adds it to the collection.
    2. ZA000-CALL-USER-EXIT - Invokes CIPZUXGN for Java User Exits
    CIPOFACR - CI_FA Row Maintenance
    1. DA000-CHECK-UEX-AT - Invokes CIPZUXLN, checks existence of COBOL or Java User Exits and adds it to the collection.
    2. ZA000-CALL-USER-EXIT - - Invokes CIPZUXGN for Java User Exits
    CIPZUXGN will dynamically invoke com.splwg.base.support.cobol.JavaRowUserExitHandler yourClassName and com.splwg.base.support.cobol.JavaPageUserExitHandler yourClassName for Row Maintenance and Page Maintenance programs respectively.
    CIPOFACP and CIPOFACR will pass the PAGE-ACTION-FLG and ROW-ACTION-FLAG to the Java User Exit respectively.
    Change Handler would be determined based on the entity specified in the code annotations.
    Haven't tried it, but this should work.
    Oracle discourages use of Triggers in any CC&B's Production system, due to performance and upgrade issues, although nothing stops from doing so.

  • Handling process in a remote system

    how to list processes,
    start processes,
    and kill processes in a remote system from a server. and how to get configuration information of a remote system.
    Return information regarding: logical memory configuration, physical and logical disk and partition configuration including free-space, processor information, network adapter configuration and information, page file configuration and information, OS information.

    Write a program that collects the information and sends it to another system. How to get the data: consult your operating system's programming manuals. How to send data through sockets: google for java socket tutorial.
    Much of the information you list can be accessed only using non-portable operating system and CPU dependent means. If you write the program in Java you may need to call C, C++, and assembly language code through JNI to gather some of the information. Unless your operating system offers a Java API for that information; most OSs only offer C or C++ APIs.

  • Error Handling , Process Wait and Continue

    I have BPEL process that performs many tasks and calls to multiple partnerlinks. If one of the partnerlinks is unavailable, I would like the process to hold in a wait state until the partnerlink's issue is resolved. (Worklist?) Once the issue is resolved I would like all processes in the wait state to re-invoke the partnerlink and move on through the process flow. Keep in mind that we are planning on running thousands of instances through this process. So it would be nice to be able to centrally start processes up again. Any ideas?

    hmm, first idea coming to my brain, is an exception block, and a receive with a jms listener, bound to a topic, say plnk up again .. If the plnk issue is resolved, send out an event to the topic and the processes could try again ..
    like it?
    clemens

  • Using screencapture - how to handle save & filenames

    Hello,
    i am trying to use screencapture from within applescript-code using do shell script.
    so a basic snippet would look like this:
    do shell script "screencapture -t png -S /Users/xy/Desktop/foo.png"
    Which results in a fullscreen png image on the defined path with the defined filename.
    I am wondering about two things right now:
    a) how would i manage to just write to filenames like apples shortcuts use for making screenshots ?
    Like first image is named: picture 1.png, second picture 2.png ......
    b) why is the code above only screenshoting the main screen in case of dual monitor setup. Based on the man page i would expect -m would limit my screenshot to main screen.
    Best regards
    fidel

    a) how would i manage to just write to filenames like apples shortcuts use for making screenshots ?
    Like first image is named: picture 1.png, second picture 2.png ......
    The first part is trivial - just provide the file name you want to save the file in. The tricky part is ensuring you don't overwrite an existing file. Typically this means you need to check for existing files before determining the filename to use, e.g. (untested):
    set file_num to 1
    tell application "Finder"
    set file_path to (path to desktop as text) & "Picture " & file_num & ".png"
    repeat until not exists (file file_path)
    set file_num to file_num + 1
    end repeat
    do shell script "/usr/sbin/screencapture - t png -S " & quoted form of POSIX path of file_path
    end tell
    The idea here is that you check if the file exists, incrementing the counter until there's no matching file name.
    b) why is the code above only screenshoting the main screen in case of dual monitor setup. Based on the man page i would expect -m would limit my screenshot to main screen.
    From reading the man page it states:
    SYNOPSIS
    screencapture [-SWCTMPcimswxt] file
    Here you can see the last parameter is files (not file), and furthermore:
    files where to save the screen capture, 1 file per screen
    I infer from this that you need to provide multiple file names if you have multiple monitors.

  • Handling Process chain

    Hi Experts,
    In my project Basis people are going to down the BW production server, in this project total 37 process chains are there, in this time what kind of action i have to take on process chains, .
    Please guide me......
    Thanks in advance
    Venkat

    1. Check if any process chains are going to start and still run during the down time.
    If so, stop them and schedule them after... so that no process will end in the middle....
    2. If there are some process chains scheduled to start during the down time.
    If possible run them in advance or you can schedule them after words since this schedule will be skipped.
    Hope it helps,
    Naveen Vytla

  • Best practice for handling errors in EOIO processing on AEX?

    Hi,
    I'm looing for resources and information describing the best practice on how to handle processing errors of asynchronous integrations with Exactly-Once-In-Order QoS on an AEX (7.31) Java only installation. Most information I've found so far are describing a the monitoring and restart jobs on AS ABAP.
    Situation to solve:
    multiple different SOAP messages are integrated using one queue with an RFC receiver. On error the message status is set to Holding and all following messages are Waiting. Currently I need to manually watch over the processing, delete the message with status holding and restart the waiting ones.
    Seems like I can setup component based message alerting to trigger an email or whatever alert. I still need to decide on how to handle the error and resolve it (ie. delete the errornous message, correct the data at sender and trigger another update). I still need to manually find the oldest entry with status waiting and restart it. I've found a restart job in Background jobs in configuration and monitoring home, but it can be only scheduled in intervals of 1 or more hours.
    Is there something better?
    Thank you.
    Best regards,
    Nikolaus

    Hi Nikolaus -
    AFAIK - For EOIO, you have to cancel the failed message and then process the next message in the sequence manually..
    Restart job only works the messages which are in error state but not in holding state.. So you have to manually push the message... So there is no other alternative.
    But it should not be that difficult to identify the messages in a sequence..
    How to deal with stuck EOIO messages in the XI ... | SCN
    Though it is for older version, it should be the same.. you should be able to select the additional columns such as sequence ID from the settings..

  • Fault Handling in BPEL process

    hi
    We have to develop an application which involves several BPEL processes and proxy service(OSB) and JMS queue etc.
    What is the difference between Fault Management Framework in SOA11g and normal fault handling(using catch and throw activities)?
    which one we should prefer for fault handling in our application n why?
    Plz help thanks in advance.

    Hi-
    In Normal Fault handling process, you will be able to catch the faluts only but in Fault Management Framework if a fault occurs the framework catches the fault and performs a user-specified action defined in a fault policy file associated with the activity. You can also have a human intervention prescribed in it, where you perform recovery actions from Enterprise Manager.
    Pls go throgh the below post for detailed description
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_faults.htm
    Fault Management Framework and non BPEL soap faults
    Edited by: 333333 on Mar 23, 2011 5:01 PM

  • File Adapter - Exception / Error handling

    We are using File Adapter in BPEL process to read multiple records from the file. Additionally, we have also handled rejectedMessageHandlers & fatalErrorFailoverProcess exception to lunch custom BPEL process. The process is running fine and also successfully launches custom handler processes too.
    Need help / direction in addressing following issues.
    1. While reading from file, if a records errors out, the custom BPEL process is launched (as specified in rejectedMessageHandlers property). In such instance, the previously read valid records are processed but remaining records are marked as errored out. Our requirement is to make entire record set as invalid and would like to perform rollback of entire process.
    2. Whenever an error occurs during reading the records using File adapter, the associated data file is being deleted from the input directory and also NOT available in archive directory also.
    Are we missing any set up ? We are on 10.1.3.1
    thanks
    -Yj
    Sample Log file:
    <2009-04-20 11:46:14,080> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::init - Initializing the JCA activation agent, processId='bpel://localhost/default/TestFileRead~1.0/
    <2009-04-20 11:46:14,080> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
    process='bpel://localhost/default/TestFileRead~1.0/'
    domain='default'
    WSDL location='Read.wsdl'
    portType='Read_ptt'
    operation='Read'
    activation properties={portType=Read_ptt, rejectedMessageHandlers=bpel://default|AdapterError2|initiate|payload}
    <2009-04-20 11:46:14,096> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - endpointActivation for portType=Read_ptt, operation=Read
    <2009-04-20 11:46:14,143> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Endpoint Activation called in File Adapter for endpoint: c:\temp\yj
    <2009-04-20 11:46:14,143> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - successfully completed endpointActivation for portType=Read_ptt, operation=Read
    <2009-04-20 11:46:30,580> <WARN> <default.collaxa.cube.activation> <File Adapter::Inbound> PollWork::run exiting, Worker thread will die
    <2009-04-20 11:47:14,158> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Translated inbound batch index 1 of file {testdata6.txt} with corrupted message count = 1
    <2009-04-20 11:47:14,158> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Sending message to Adapter Framework for rejection to user-configured rejection handlers : {
    fileName=C:\temp\yj\testdata6.txt, startLine=3, startColumn=1, endLine=-1, endCol=-1, Exception=ORABPEL-11168
    Error while reading native data.
    [Line=3, Col=5] Expected "|" for the data starting at the specified position, while trying to read the data for "element with name C2", using "style" as "terminated" and "terminatedBy" as "|", but not found.
    Ensure that "|", exists for the data starting at the specified position.
    <2009-04-20 11:47:14,158> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(Root-Element)]onReject: Sending invalid inbound message to Exception Handler: bpel://default|AdapterError2|initiate|payload
    <2009-04-20 11:47:14,315> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Setting last error record to : -1
    <2009-04-20 11:47:14,658> <ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound> onBatchFailure: Batch 'bpel://localhost/default/TestFileRead~1.0//testdata6.txt_1240205493408' (C:\temp\yj\testdata6.txt) has failed due to: ORABPEL-11168
    Error while reading native data.
    [Line=3, Col=5] Expected "|" for the data starting at the specified position, while trying to read the data for "element with name C2", using "style" as "terminated" and "terminatedBy" as "|", but not found.
    Ensure that "|", exists for the data starting at the specified position.

    Any light / idea on the following issue ?
    1. While reading from file, if a records errors out, the custom BPEL process is launched (as specified in rejectedMessageHandlers property). In such instance, the previously read valid records are processed but remaining records are marked as errored out. Our requirement is to make entire record set as invalid and would like to perform rollback of entire process. Even, if we do not configure rejectedMessageHandlers, the behavior is that valid rows are processed with the rest of BPEL process and for Invalid rows, the records are rejected. Our requirement, is that, even if there is one invalid record, the entire set of record should NOT move ahead with the BPEL process
    2. Whenever an error occurs during reading the records using File adapter, the associated data file is being deleted from the input directory and also NOT available in archive directory also. Note, in case of all valid record the file is available in archive directory

  • PHP & array processing

    Hello,
    Can PHP process more rows in ocifetch ?
    regards

    I did a little testing on Windows 2000 using SQL*Plus and client
    libraries from Oracle 9.2. The DB was a 9.2 release on a remote
    machine.
    The SQL script was:
      connect scott/tiger@mydb
      define AS = 1
      prompt Arraysize &AS
      set arraysize &AS
      set pagesize 0
      set linesize 200
      set termout off
      spool c:\temp\bmsp.log
      timing start
      select * from all_objects order by 1;
      spool off
      set termout on
      timing stopThe PHP file was:
      <?php
      require("ScriptTimer.php");  // from user comments on "microtime" man page
      $pfrc = 1;
      $filename = "c:/temp/bmphp.log";
      $conn = OCILogon('scott', 'tiger', 'mydb');
      Script_Timer::Start_Timer();
      if (!$handle = fopen($filename, 'w')) {
        echo "Cannot open file ($filename)";
        exit;
      $query = 'select * from all_objects order by 1';
      $stid = OCIParse($conn, $query);
      OCIExecute($stid);
      OCISetPrefetch($stid, $pfrc);
      while ($succ = OCIFetchInto($stid, $row)) {
        foreach ($row as $item) {
          fwrite($handle, $item." ");
        fwrite($handle, "\n");
      fclose($handle);
      $total_time = Script_Timer::Get_Time(3);
      echo "$pfrc Time was $total_time\n";
      ?>SQL*Plus 9.2 results:
       Time   Arraysize        
       2.1    1000             
       2.1    500              
       2.1    250              
       3.0    100              
       3.0    50               
       4.1    10               
       9.1    1                 PHP (CLI) 4.3.4 results:
       Time   Prefetchrowcount
       4.5    1000           
       4.5    500            
       4.6    250            
       4.7    100            
       4.8    50             
       5.7    10             
       9.2    1               This was a pretty rudimentary benchmark. There are a lot of areas of
    difference between SQL*Plus and PHP that could be debated and
    examined.
    Overall I'm comfortable that PHP's prefetchrowcount has a positive
    effect.
    -- CJ

  • Two FileName in Dynamic Configuration

    Hi All,
    I have a very rare problem. In an interface which uses BPM, where file is the sender and Proxy is the target,
    there is an ABAP Class in the mapping which uses Dyanmic Configuration to retrieve the FileName and create a Proxy structure and posts it to the ECC. In this scenario, Multiple files are picked from different folder using advanced Selection and sent to BPM which uses the ABAP Class.
    When i run the interface with 5 different files placed at source, In SXMB_MONI, I can see that after 3 files are processed successfully with a single filename in the Dynamic Configuration, the 4th or the 5th one wil have 2 filenames in the dynamic configuration out of which the first filename will be the copy of the earlier processed filename and the second one wil be the actual required filename. The above behaviour keeps on chainging.
    How can this be possible as the Context Object 'FileName' can have only single filename through out the interface instance, as there is no setting of the filename done in dynamic configuration.
    Please reply if anyone has a solution to the above problem.
    Thanks.

    Hi Jaideep..
    Thanks for the reply.
    Yes.. its a serial processing. Let me explain a bit more.
    as i said above, after the 3rd BPM instance (Just as an example.. keeps on chainging), the 4th instance has a unique filename compared to before 3. but after processing, the Dynamic Configuration in SXMB_MONI will have 2 fileNames. which will have a copy of any one of the earlier filenames along with actual filename.

Maybe you are looking for

  • SOAP Adapter in XI 3.0 SP11

    Hi, I do not see the SOAP adapter option in the integration directory for the WS communication channel. I also checked in the J2EE engine with visual admin and I do not see the SOAP adapter, but I have all other adapters. Do I need to download sepera

  • How to find the HEAP and CHUNK of memory in Oracle

    hi, Intermitently I'm getting some ora-00600 errors that indicate corruption in some heaps and chunks, as follow: Repeat 79 times Chunk 3e05a198 sz= 0 ERROR, BAD MAGIC NUMBER (0) Dump of memory from 0x3E059198 to 0x3E05B198 3E059190 00000000 00000000

  • System Config for ECC 6.0 IDES

    Hi all.. what's the  system requirement for ecc 6.0 ides ... okay  bye

  • IPhone 4 built in speakers won't work

    All media on the phone won't play sounds through the built in speakers but when I plug in the earphones I can hear it. When I connect the phone to the pc and it sync to iTunes and disconnect the sound comes back but after a while it just goes again.

  • I want to buy an iPad

    If I buy an iPad 2 at an apple store will they move everything over from my iPad 1?