Pls suggest  the BPM  design .

Hello,
We are in PI7.1. The requirement is 1:N mapping the file to IDoc ACC_DOCUMENT01. Before calling the Idoc we need to check the Duplicate Invoice BAPI, if the bapi return error code "11" calling Idoc should be skipped. Could you suggest the design for this requirement in BPM. We would like to collect all the messages which returned "11" to dump into a file.
I'm new to PI...any help would be appreciated. I started something like this...but, condition is not working to filter out the messages.
1. receive the file.
2. start the block
2. transform the file to Bapi  (1:N)
3. transform the file to Idoc (1:N)
4. check the message exception.
4. cancel the process.
5.end the block
6. start the for block.
7. made the sync call to BAPI.
8. check the response error code is "11".
9 if yes, store the duplicate doc req interface into the container.
10.end the for block.
12. start the for block.
13. check in the switch condition Idoc belnr is the same as container reponse error code 11 belnr. This step is not working.
14 otherwise call the Idoc.
15.end the for block.
16. transform the container req to file.
Thanks,
Santha Kumari

You might have to insert another For Block in the final comparison section. Because you have to check the current belnr with all the error returned belnrs. Then only you would know if you have to send the idoc or stop it.
VJ

Similar Messages

  • Can u someone pls suggest the accesspoint model

    hi all i am new to cisco wireless and also to wireless. i am looking for 2 acces-point which can function as bridges also in workgroup. plus i am ubying a wireless controller for pushing qos,vlans,rf band management,security,802.1x, wep and ids features on to the accesspoints. i am basically requiring this for lab purposes only and not for production.
    can anyone pls suggest me which accesspoint will give this features which will be economical also.
    regards
    sebastan

    Sebastan,
    If you need AP's that can function as a bridge, and be associated to a controlle, you should go with the 1030. It can run as a bridge, to another 1030, or it can be a regular access point.

  • String problem..See and pls suggest the solution

    Hi all,
    suppose There is a string
    suppose
    Error Value does not EXIST or is not active. Value in Frame Field [$1] MUST Exist in Table [$2]..
    Now [$1] will be replaced by paramArray[l_param_counter]
    and [$2] will be replaced by paramArray[l_param_counter + 1]
    and message in the start which is "Error " will be removed
    Can you help me like how should i proceed.

    see http://java.sun.com/docs/books/tutorial/i18n/format/messageFormat.html for lots of usefull explanation

  • I am using Active X component in web application, In IE it works fine but in Firefox 3.6.11 it shows the error "Object fail to load" . Pls suggest the solution

    If this error appears in IE,the error will resolved by registering the component. But not in FF 3.6.11

    You can use an extension like IE Tab or IE View to use the IE rendering engine in Firefox.
    * IE Tab 2 (FF 3.6+): https://addons.mozilla.org/firefox/addon/92382
    * IE Tab Plus (FF 3.6+): https://addons.mozilla.org/firefox/addo
    * IE View: https://addons.mozilla.org/firefox/addon/35
    * IE View Lite: https://addons.mozilla.org/firefox/addon/1429

  • Suggest the best mapping into SAP

    Hi gurus
    pls suggest the best solution
    THE END CUSTOMER WILL FIRST GIVE AN OPEN PURCHASE ORDER TO MY CLIENT WHICH CONTAINS THE RATE WHICH IS CONSTANT, IT CAN BE FOR ANY NUMBER OF YEARS.
    THEN THE CUSTOMER WILL RAISE SCHEDULED ORDER WITH A UNIQUE NUMBER. FOR EXAMPLE HE WILL RAISE ORDERS FOR
    MATRERIAL      NOS      DATE
    M00001          100      JAN10TH  FOR CONTROL PANEL DIVISION
    M00002           200     JAN 15 TH  FOR PLASTICS DIVISION
    M00003            150     JAN 20 TH FOR CONTROL PANEL DIVISION
    M00004            30     JAN 25TH FOR METALS DIVISION
    EACH DIVISION WILL ENTER THEIR RESPECTIVE SALES ORDERS AND WILL  DELIVER THE GOODS.
    LIKE WISE THE CUSTOMER WILL RAISE ANOTHER SCHEDULED ORDER WITH REFERENCE TO THE MAIN OPEN PURCHASE ORDER (SO THE RATES ARE CONSTANT WITH OPEN PURCHASE ORDER )
    REGARDS
    RAJESH

    1. Is the customer giving orders to multiple divisions within the company or is he giving order to the company which has multiple divisions ?
    If he is giving order to multiple divisions within the company, then you have to create all of them as independent divisions and extend cusotmers to many sales areas. This is a tiresome and big work to do.
    If he is giving order to the company which has multiple divisions then go with item level division and one common division for sale area purpose so that you can have a single sale order with multiple item level divisions which will go to your LIS.
    Now you have completed the Org structure and Master Data
    Coming to actual order from the customer, you can go with a schedule agreement.
    Book the material, qty, rates and validity period in this schedule agreement.
    Raise a sale order referring the schedule agreement whenever you have to dispatch goods to the customer.

  • Need suggestion for the following Design

    Hi All,
    I have the following requirement to be implemented.
    | |
    | < Start Day << Start Week ---- End Week >> End Day > |
    |____________________________________________________________________|
    The above has to be on top of a table.... (i.e a table action region)
    Table action allows us to have either "rowLayout" or "flowLayout" to begin with...
    The "Start Day", "Start Week" and so on are actions...
    Pls suggest me how to align " End Week >> | End Day > " to right (end of the table)....
    PS... I am unable to plot the image properly... the " ---- " in between is just spaces.
    Putting it simple, In a table action I want a button on the left most and right most corner...
    Regards,
    Santhosh.
    Edited by: Santy on Jan 21, 2011 4:09 AM

    Hi All,
    I have the following requirement to be implemented.
    | |
    | < Start Day << Start Week ---- End Week >> End Day > |
    |____________________________________________________________________|
    The above has to be on top of a table.... (i.e a table action region)
    Table action allows us to have either "rowLayout" or "flowLayout" to begin with...
    The "Start Day", "Start Week" and so on are actions...
    Pls suggest me how to align " End Week >> | End Day > " to right (end of the table)....
    PS... I am unable to plot the image properly... the " ---- " in between is just spaces.
    Putting it simple, In a table action I want a button on the left most and right most corner...
    Regards,
    Santhosh.
    Edited by: Santy on Jan 21, 2011 4:09 AM

  • Hi  urgent pls suggest when i press enter the data disappears...

    hi
    i have develop,ed a module pool for table maintianece
    in which  there are theree fields
    customer number name  email id
    now when i dont press enter at first field ie customer number after entering all data
    and save the data is saved properly for all three fields
    but if after e ntering the customer number i press enter and then enter name and email id
    and save the data for email is not saved and also if i just press enter again the data in email id column which i entered disappears
    can anyone suggest reason and solution for it
    regards
    Arora

    hi
    here is my code
    PROCESS BEFORE OUTPUT.
      LOOP   WITH CONTROL TABLE_ZCUST_EM_CREATE."AT T_ZCUST_EM_CREATE
        MODULE STATUS_0200.
      ENDLOOP.
    *Process after input
    PROCESS AFTER INPUT.
      MODULE CANCEL_200 AT EXIT-COMMAND.
      LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_zcust_em_CREATE ." .".
       MODULE USER_COMMAND_0200.
        CHAIN.
          FIELD t_ZCUST_EM_create-ship_to .
         MODULE set_field_validation ON CHAIN-REQUEST.
        ENDCHAIN.
        MODULE USER_COMMAND_0200.
      ENDLOOP.
    here ship_to is customer number
    ship_to_name is name
    and email id is email id field
    pls suggest on this code also if u want i can give code for the module validation and user commarnd 2000
    as below
    MODULE STATUS_0200 OUTPUT.
      w_lines_200 = sy-loopc.
    *Reading table t_zcust_em_create for screen 200.
      read table t_zcust_em_create
        index table_zcust_em_create-current_line.
    *Refreshing The Internal table 't_zcust_em_temp'
      refresh:t_zcust_em_temp.
    ENDMODULE. 
    MODULE set_field_validation INPUT.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                   INPUT         = t_zcust_em_create-ship_to
                IMPORTING
                    OUTPUT       = t_zcust_em_create-ship_to.
      select single kunnr from kna1 into v_kunnr
              where kunnr = t_zcust_em_create-ship_to.
          if sy-subrc = 0.
           select single name1 from kna1 into t_zcust_em_create-ship_to_name
           where kunnr = t_zcust_em_create-ship_to.
          else.
          t_gui1-fcode = 'BACK'.
          append t_gui1.
          t_gui1-fcode = 'EXIT'.
          append t_gui1.
          t_gui1-fcode = 'SAVE'.
          append t_gui1.
          SET PF-STATUS 'AIMS_200' excluding t_gui1.
          message E002 with t_zcust_em_create-ship_to.
             endif. "kna1
    ENDMODULE.                 " set_field_validation  INPUT
    MODULE USER_COMMAND_0200 INPUT.
    *Setting it for select/deselect entries
      move:t_zcust_em_create to t_zcust_em_create_sel.
      append t_zcust_em_create_sel.
      clear:t_zcust_em_create_sel.
    *Getting internal table t_zcust_em_create with control
      read table t_zcust_em_create
             with key ship_to = t_zcust_em_create-ship_to.
    *Getting internal table for create entries: screen-200
      if sy-subrc ne 0 and t_zcust_em_create-ship_to ne space .
        append  t_zcust_em_create     .
        move:t_zcust_em_create to t_zcust_em_create_tmp.
        append t_zcust_em_create_tmp .
        clear:t_zcust_em_create_tmp  ,
              t_zcust_em_create      .
      endif.
      clear:t_cols.
    *Getting the value of  w_fill_200.
      describe table t_zcust_em_create lines w_fill_200.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    PLEASE SUGGEST
    REGARDS
    ARORA
      module read_table_value_0200.

  • HT201272 I was re-charged for an app that I re-installed at the game designer's suggestion.  How can I get my money back.\?

    as above, I was re-charged for downloading an app (game) I had already paid for.  This was done at the game designer's suggestion to reset the results. Why was a I charged a second time?  What can I do to get a refund?

    Unlress you changed it in Settings>General>Restrictions, there is a ten minute window for making additional purchases once you entered you password.
    Also, could the charge be for an in-app purchase in the free app?
    You can try to get a refund by:
    How to report/refund an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase

  • Pls suggest is there any free application to Lock the selected folder on new I pad

    Pls suggest is there any free application to Lock the selected folders on new I pad

    There won't be any. iOS is a sandboxed OS and third-party apps won't be able to prevent access to other apps.

  • Hi I am using iphone 4, since last few days i am facing problem in touch screen at times it doesn't work at all for 5-10 mins and then it works out itself. Can anyone pls suggest what the problem is and how it can be sorted out?

    Hi I am using iphone 4, since last few days i am facing problem in touch screen at times it doesn’t work at all for 5-10 mins and then it works out itself. Can anyone pls suggest what the problem is and how it can be sorted out?

    Did you recently updated to 7.0.4? Even for me same also issues.

  • I'd like to remove a thin line that is part of the page design in one of Aperture's photo books.  I can't seem to make it happen.  Any suggestions?

    I'd like to remove a thin line that is part of the page design in one of Aperture's photo books.  I can't seem to make it happen.  Any suggestions?

    The mouse that came with my Mac does not have a right click feature. When I try to highlight and click, it just opens the link I don't want anymore. What I want to do is remove unwanted links from the top bar. For example, I no longer use GoodSearch or myEarthLink, but I can't delete them. There are also some links that never should have found their way up there, and I don't know how they ended up there, and I can't remove them either. I've read through a ton of questions and answers, and I can't find one that addresses the problem. With my Safari browser, all I have to do to remove an unwanted link is to click and drag it to the trash. It doesn't appear to work that way with Firefox, to my chagrin. I hope this better explains my question. Maybe that will give you a better insight into a solution.

  • Pls suggest me to improve the perfomance

    Hi all,
    Pls Suggest me to improve the perfomace of the following query
    problem :
    I have a table say cusotmer that contain hierarchy relation
    customer_id parent_id
    1 2
    2 3
    3
    if i input customer_id =1 then i should get all the hierarchy like
    2,3,
    solution i have taken is
    select /*+ parallel (a,8) */ parent_id from cusotmer a
    start with select customer_id in ( select child_id from leaf)
    connect by prior parent_id=customer_id
    The leaf contains 6.5 million entries and customer contains 75 million entries ..
    currently above query is taking 2 hrs to exceute .
    can some one suggest ways to improve the perfomance..
    Thanks,
    Aneesh A

    Have you tried removing the parallel hint and executing the query? Sometimes forcing a parallel hint can degrade performance.
    HTH!

  • The Current Design oA suggestion about the desigh of the  Shuffle 2 's clip

    The Current Design of theclip:
    ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
    ···························■■■■■··■······
    ····························■■■··■■■·····
    ·····························■··■■■■■····
    ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
    My Suggestion:
    ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
    ················■■■■■·············■······
    ·················■■■·············■■■·····
    ··················■·············■■■■■····
    ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
    Message was edited by: phiree

    You can leave feedback at this link: Apple Product Feedback

  • BPM Design suggestion needed....

    Hi Friends,
    I am doing a BPM Sync interface. My secnario is, i am getting two files and i need to compare the two files and send it to the proxy through sync step and getting the response from proxy and send the response to the file. I have done this by using BPM. Initially it was working fine, now i am facing issue in the coorelation. If i execute a small file ex. 300 records, it is going well. When i test with 7000+ records, in the monitoring it is showing status as "message being sent". I have waited more than 2 hours, but the result is not coming out. After some time if i run a small file with 300+ records, this time both earlier file as well the new file gets processed and i am getting result for both interfaces.
    I just wish to check with you, is there anyway to stop the BPM process while running?
    Pls advise me..
    Regards
    Bala

    Hi Bala,
    Since your 300recors is working fine and 7000 is having issues, if possible in dev system try to increase the records from 300 to 1000 and do a test. If 1000 works smooth then increase to 2000 and see where exactly you are having with number of records. That would be the maximum records your system can take. This is usually a hardware, tuning and sizing issues. Please invovle basis guys and let them increase the tuning parameters etc.
    Regards,
    ---Satish

  • BPM Design - JDBC

    Hi members:
    I have a BPM scenario - IDOC-to-JDBC
    I have to delete a record in the db after checking certain conditions. Lets say my IDOC has Field A etc..My db has
    Row 1 : field B, Field C, Field D
    Row 2 : field B, Field C, Field D
    etc..
    after i receive my idoc in the bpm,i have to check which row of FieldC in my db matches field A in my IDOC.There may be 1 or more matches. If there are more than 1 match or no matches at all, i have to cancel the process, if there is only one match, i have to take the corresponding row`s FieldB and pass it on to my next step.
    I am not sure how can i fetch the fields, do the count and execute it in my BPM. any suggestions would be appreciated.
    Thanks

    Hi,
    ><i>Also, i have this basic Q: i always thought that
    when we want to read from a db we use sender JDBC adapter
    when we want to update/insert/delete into a db we use receiver JDBC adapter , right?
    From your blog, i can see that we can also use receiver JDBC adapter to read from a db, did i understand it correct?</i>
    sender JDBC adapter can be used to select data from the DB. Sender JDBC adapter is used when you want JDBC adapter to initiate message processing in XI>
    Receiver JDBC adapter can be used to select , insert , update , delete and call stored procedures using the JDBC adapter.
    In your case, as an IDOC will trigger flow of message in XI, using a Receiver JDBC adapter would be better design.
    ><i>just 1 time the FiledB or several times the FieldB,is there a way to count my return?</i>
    Sure is possible using the Statistical function COUNT in your Mapping.
    Can you give the entire process flow so that all / exact steps in the BPM can be discussed.
    Regards,
    Bhavesh

Maybe you are looking for

  • Can not update error 1602 and can not restore error 1604 what is the solution

    Have a IPod touch 4, can't update (error 1602) and can't restore (error 1604) any solution?

  • Stripchart sweep/block mode not working in 2010

    These two modes on the strip chart control stopped working in my software with the 2010 upgrade.  Continuous mode still works.  I even loaded the NI example 'autoscaling.cws' that uses a strip chart control and modified it to default to sweep mode in

  • SharePoint Designer Reuse Field Data from Prior Task Process

    So, I have a SP2013 WF. One of the actions in the WF is to "Assign a Task Action" to permit any one of the assignees (yes, it's going to multiple people) to Approve, Reject, or Request Clarification on the item. I've added a text field to the custom

  • Retriggerable buffered counting edge task

    Dear all, I have been working on "Retriggerable buffered counting edge task" on a single counter input channel, let me describe what I want to achieve: Create a CI to count finite rising edges with external sample clock (eg. Dev1/di/SampleClock) at c

  • Profile access?

    I have a contract with 3 lines. One of those lines have been suspended but the carrier of that phone has my SSN for changing the number to that phone the other day. I am wondering if that user can access my Verizon profile with my SSN? if so how woul