File to RFC/IDOC with a set of business rules applied on every record

Hi experts,
i have a scenario where the following happens
checks need to be performed
1. Technical validations on the file picked up (Can be done through java programs)
2. Business rules to be applied on every record (Am not sure if this can be done in PI)  Sample business rules - record id already present in the SAP system, check if some manadatory fields are missing in the record etc..quite a lot to be applied
I assume we use the File>PI>IDOC/RFC scenario for this..
However am not sure on how we apply the complex business rules on every record in file using PI.
Any suggestions??
Regards,
Kalyan

Hi My requirement as follow,
ELEMICA(CIDX)--->sap xi->SAP ECC,i receive CIDX Ordechange document from source system,when it is order change , the similr Order Chnage document available in DATA BASE,i need to retrive it from data base using some key fileds, i need to compare some of the fileds like PO Number,Buyer sequence number..like many fileds.if there is any change while validating then i need to send it SAP ECC Orders IDOC,IF TEH Values are same then i need to exit the process with mail to admin .
How i done my requiremnet i already explained,if you looking for any info let me know,but i never faced any problems like perfromace issues ...but writing JAVA Maping code is bit tough.
Regards,
Raj

Similar Messages

  • File to RFC scenario with no BPM

    I want to create File to RFC scenario with no BPM. I want to invoke RFC synchronously to verify that I'm getting correct response back, but i dont wanna process the response. So, In SXMB_MONI i can check the response back from RFC right? Or do I need to have BPM if want to see the response back from RFC?
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK?
    Thanks,
    Deepesh

    Hi,
    I need to have BPM if want to see the response back from RFC? ... yes
    The BPM will help you find the response very comfortable.
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK? ..Yes you can .
    Regards
    Agasthuri Doss

  • Problem with two of my business rule triggers

    Good morning every one,
    I have a small problem with two of my business rule triggers.
    I have these tables:
    pms_activity
    csh_cash
    csh_integrate_leh
    csh_integrate_led
    and my process goes like this:
    upon approval of a row in my pms_activity table I have a trigger that insert a row in my csh_cash - and in the csh_cash table I have a trigger that will insert in the csh_ingerate_leh and csh_integrate_led.
    my problem is pms_activity does generate a row in csh_cash but the trigger in the cash does not fire to generate a row in the csh_integrate_leh and led tables.
    I have generated in the following order after I created my business rule:
    I have generated the table from the designer (server module tab)
    I have generated the CAPI from the head start utility
    I have generated the API from the designer
    I have generated the CAPI from the designer
    I have run the recompil.sql
    I have checked that my business rule trigger is enabled and should run on insert and no where restriction
    === this is my business rule logic ======
    l_rule_ok boolean := true;
    begin
    trace('br_csh001_cev (f)');
    csh_gl_pkg.csh_gen_integ_jvs(p_id
    ,p_ref_num
    ,p_own_id
    ,p_trt_id
    ,p_value_date
    ,p_description
    ,p_amount
    ,p_cur_id
    ,p_gla_dr
    ,p_gla_cr
    ,p_gla_pl
    ,p_gla_rev
    ,p_gla_eqt);
    return l_rule_ok;
    exception
    when others
    then
    qms$errors.unhandled_exception(PACKAGE_NAME||'.br_csh001_cev (f)');
    end br_csh001_cev;
    ==== end =======================
    Any help will be appreciated as I have struggled with this for two days.
    Thanks

    hmmm...
    Try resetting it again and restoring with the same backup file...
    Does the phone work properly once you've reset it before you try restoring? A lot of people here have experienced problems restoring from backups... could be worth forgetting about it and starting from scratch.
    You could try contacting your nearest Nokia Service Centre (www.nokia.com/repair) and see if they can do anything - it may need the firmware reinstalling or upgrading... possibly... give them a call though and see.
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • Set of Business Rules - BPC 10.0 Consolidation

    Hi experts,
    I´ll need help to work with two scenarios on BPC 10.0 (Consolidation) as following: 01- The scenario 01 has four entities: 1001, 1002, 1003 and 1004 and four business rules: ELIM01, ELIM02, ELIM03 and ELIM04. I need only rules ELIM01 and ELIM02 are performed for entities 1001 and 1002 and rules ELIM03 and ELIM04 are performed for entities 1003 and 1004. Is it possible in BPC? How can I do it? 02 - The scenario 02 has two entities: 1005 and 1006 and I´ll need to perform a set of rules with business rules ELIM05, ELIM06 and ELIM07 until 2014.03 and I´ll also need to perform other set of rules with ELIM05, ELIM06 and ELIM08 from 2014.04. In thi scenario I want to create a new set of business rules without the rule ELIM07 but I don't want to delete this. Is it possible in BPC? Can I work with two or more set of rules in BPC? How can I do it? Is it possible work with time dependent on set of rules?
    Thanks a lot! Madhuk

    Hi,
    01
    The scenario 01 has four entities: 1001, 1002, 1003 and 1004 and four business rules: ELIM01, ELIM02, ELIM03 and ELIM04. I need only rules ELIM01 and ELIM02 are performed for entities 1001 and 1002 and rules ELIM03 and ELIM04 are performed for entities 1003 and 1004.
    Are we talking about the eliminations and adjustments business rule? Those rules have an entity property filter which you can use.
    02
    The scenario 02 has two entities: 1005 and 1006 and I´ll need to perform a set of rules with business rules ELIM05, ELIM06 and ELIM07 until 2014.03 and I´ll also need to perform other set of rules with ELIM05, ELIM06 and ELIM08 from 2014.04. In thi scenario I want to create a new set of business rules without the rule ELIM07 but I don't want to delete this?
    Are we talking about the eliminations and adjustments business rules? They work based on the method based multipliers. So one possible solution would be to have different methods and therefore different method based multipliers in your ownership cube.
    BR,
    Arnold

  • File-PI-RFC scenario with extraction of contents in the filename

    Hi All,
    I am working on File to RFC scenario.
    Here the file name is like 'ABCD_XYZ_1234_DATE' where the date is in yyyymmdd format.
    I have to read this filename & the date in the filename is to be mapped with one of the RFC parameter.
    Also how would I trigger the Interface if the file resides in PI server or on local mchine.
    How to configure the processing parameters in sender comm channel if I want to read the file after every 15 mins?
    Thanks,
    Amit Patil

    Hi,
    By writing simple UDF in your mapping you can Acheive this
    Try this Once
    DynamicConfiguration dynamicconfiguration = (DynamicConfiguration)param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    String MyFileName = dynamicconfiguration.get(key);
    String str[] = MyFileName.split("_");
    return str1[1];
    Map this to the date parameter(RFC) in the mapping .
    If the file resides on Local machine then you can use FTP and if it is on PI server then NFS as Transport protocol.
    If you want read the file for every 15 min there are 2 options
    1) Set the poll interval time to 900 sec
    2) Configure ATP in RWB
    Configuring ATP in RWB :
    http://www.dataxstream.com/2010/11/configuring-availability-time-planning-in-sap-pi/
    Thank & Regards,
    Deepthi

  • File to RFC/IDoc

    Hi all
      In any scenario suppose File system is sender system in that if the file is READ-ONLY file then how to process that file.

    Hi,
    Set the File adapter Processing Mode for "Set to Read-Only"
    this will change the file property to read-only.
    This will cause only new files to be processed.
    This set to read only mode for sender file communication channel will process the fiels have write permission and change it to Read only to not to modify it later on.
    this option is available for NFS only (Native file system)
    Please reward points if it helps
    Thanks
    Vikranth

  • Problem with balance carry forward business rule and automatic adjustments

    Hi All,
    I faced with issue when run BCF business rule and consolidation process. According sap courses BPC440 members with A(automatic adjustments) type should carry forward automatically, and I(imputable), M (adjustments) members should carry forwarded by bcf business rule.
    When I set up my BCF business rule I use property "Category_for_ope" in Category dimension. But this rule not work properly, then I use notes:
    1784365 - Category_for_ope property should not effect Consolidation.
    1902677 - The property category_for_ope shall work for consolidation
    After applying those notes, system work as I aspect. After i run consolidation first time system carry forward my automatic adjustment from Category "Expected" to "PLAN_Y0" and this is correct!!!. But when i run consolidation process second and third time system duplicated automatic adjustments in Category "PLAN_Y0".
    Someone can help me with this Issue?
    And sorry for my english

    Hi,
    Can you try as follows :
    *RUN_PROGRAM COPYOPENING
    CATEGORY = %C_CATEGORY_SET%
    CURRENCY = %RPTCURRENCY_SET%
    TID_RA = %TIME_SET%
    *ENDRUN_PROGRAM
    hope it helps...
    regards,
    Raju

  • Syntax for using AND with a variable in Business Rule Source

    I've never fully gotten my head around the AND/OR syntax of calc scripts. What I'd like to do is as follows in some basic pseudo code:
    FIX( ("A97" AND [Selected_Entity]) OR ("B76" AND [Selected_Entity]) OR ("C63" AND [Selected_Entity]) ).
    I want my webform's business rule to execute on the selected Entity in the form (eg. A97) ONLY if that entity is part of a restricted list of members (in this case, 3 entities out of 200).
    Thanks for any advice!

    Hi,
    I am not sure if I have totally understood what you are trying to achieve so sorry if I have misread it.
    But what you could do is set up a variable in the Bus Rule, lets call EntVar.
    It is set up as a local variable of type member and dimension Entity with a run time prompt "Enter Entity"
    Now in your script it could look something like this....
    FIX(&CurrentYr, "Working".......)
    "AccMember"(
    IF(@ISMBR([EntVar]) AND ([EntVar]=="A97" OR [EntVar]=="B76" OR [EntVar]=="C63") )
    AccMember=.......;
    ENDIF
    ENDFIX
    Once you have tested the business rule, you can get your form to pass through the entity into the variable.
    Is this what you are trying to do?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem with FIX-Statement in Business Rule

    Hello,
    ich have a business rule with two nested FIX-Statements.
    I calculate depending on the month in the runtime-prompt a forecast for this month. After that i fix on that month an clear some specific accounts. But some of these accounts still have data.
    they are in the cleardata section and they are children of FiBuKonten from the first fix. When i leave out the @CHILDREN("FiBuKonten") in the first fix the accounts are cleared as excepted, but i need that fix because not all accounts are part of this forecast.
    I changed everything to work as a calc-script and the same problem appears, on dev and prod database.
    Why are some accounts cleared while others not ? Really misterious!
    Here is the rule
    FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M",@CHILDREN("FiBuKonten"))
    [TEBIT_RTP_Period](
    IF(@ISMBR("Jan"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Feb"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Apr"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
    ELSEIF(@ISMBR("May"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
    ELSEIF(@ISMBR("Jul"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
    ELSEIF(@ISMBR("Aug"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
    ELSEIF(@ISMBR("Oct"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
    ELSEIF(@ISMBR("Nov"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
    ENDIF;)
    FIX([TEBIT_RTP_Period])
         CLEARDATA "41000000";
         CLEARDATA "41100000";
         CLEARDATA "41200000";
         CLEARDATA "41990000";
         CLEARDATA "41000900";
         CLEARDATA "41096000";
         CLEARDATA "41196000";
         CLEARDATA "41296000";
         CLEARDATA "41940000";
         CLEARDATA "42000000";
         CLEARDATA "42100000";
         CLEARDATA "42200000";
         CLEARDATA "42099000";
         CLEARDATA "42199000";
         CLEARDATA "42299000";
         CLEARDATA "42990000";
         CLEARDATA "41918000";
         CLEARDATA "41100900";
         CLEARDATA "42091000";
         CLEARDATA "42918000";
         CLEARDATA "54000000";
         CLEARDATA "54009000";
         CLEARDATA "54009900";
         CLEARDATA "54009600";
         CLEARDATA "54130200";
         CLEARDATA "93541175";
         CLEARDATA "54001000";
         CLEARDATA "54001900";
         CLEARDATA "54014000";
         CLEARDATA "54019000";
         CLEARDATA "54021000";
         CLEARDATA "54021900";
    ENDFIX
    ENDFIX
    Thx for your help.
    Greets
    Kevin

    Does it make a difference when a dimension has dynamic calc members and i dont fix on that dimension to fix on the Level 0 members of that dimension ? The result should be the same in my eyes.
    SGF is dense. I found out that everytime i the fix includes that first member M_124100 the error occoured.
    I changed the rule in the form that i split the FIX Statement. And now it works without the error and with all data cleared. Even when i don`t reorder the dimension SGF.
    Again thanks for your help.
    Greets
    Kevin
    FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M")
    FIX(@CHILDREN("FiBuKonten"))
    [TEBIT_RTP_Period](
    IF(@ISMBR("Jan"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Feb"))
    Actual_kum = Budget_kum;
    ELSEIF(@ISMBR("Apr"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
    ELSEIF(@ISMBR("May"))
    Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
    ELSEIF(@ISMBR("Jul"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
    ELSEIF(@ISMBR("Aug"))
    Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
    ELSEIF(@ISMBR("Oct"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
    ELSEIF(@ISMBR("Nov"))
    Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
    ENDIF;)
    ENDFIX
    FIX([TEBIT_RTP_Period])
    CLEARDATA "41000000";
    CLEARDATA "41100000";
    CLEARDATA "41200000";
    CLEARDATA "41990000";
    CLEARDATA "41000900";
    CLEARDATA "41096000";
    CLEARDATA "41196000";
    CLEARDATA "41296000";
    CLEARDATA "41940000";
    CLEARDATA "42000000";
    CLEARDATA "42100000";
    CLEARDATA "42200000";
    CLEARDATA "42099000";
    CLEARDATA "42199000";
    CLEARDATA "42299000";
    CLEARDATA "42990000";
    CLEARDATA "41918000";
    CLEARDATA "41100900";
    CLEARDATA "42091000";
    CLEARDATA "42918000";
    CLEARDATA "54000000";
    CLEARDATA "54009000";
    CLEARDATA "54009900";
    CLEARDATA "54009600";
    CLEARDATA "54130200";
    CLEARDATA "93541175";
    CLEARDATA "54001000";
    CLEARDATA "54001900";
    CLEARDATA "54014000";
    CLEARDATA "54019000";
    CLEARDATA "54021000";
    CLEARDATA "54021900";
    ENDFIX
    ENDFIX

  • Issue with creating/Launching a Business Rule

    Hi All,
    I'm using Hyperion version 11.1.2. When creating Business Rule in EAS console, we can't use admin user right ? Is there any specific reason for that ? I've created one other user called "BRadmin" and given admin privileges to all areas. I've logged in EAS console with the new user ID BRadmin and under "Business Rules" i'm trying to create a new Business Rule BR1. In the associated outline area when i'm trying to select "Select outline" no applications are showing under planning and the planning applications are available under Essbase node. For Business Rules, i should select Planning Application under Planning node right ? Why it is happening. I'm unable to select the Planning application from Planning node and due to this, i'm unable to see the Business Rule in Data Forms in Work Space. Pls. advice

    I did Stop the following services, planning, EAS, hyperion RMI.
    & Started them up RMI, EAS, Planning.After this have you logged in the planning application, before selecting business rules in EAS?
    1. Have you selected Calculation module as Business Rule during outline creation? if not select Calculation module as BR.
    2. Right click on the business rule node and select refresh user list.
    Cheers..!!!

  • File - XI/RFC - Idoc

    My scenario is I get a file with multiple records. I need post these into R3 using Idoc. Since File doesn't have all the fields required, I have to get missing fields from R3 to which I'm ultimately posting.
    I get StateCode from inpu file record. Based on this state code I will get plants. For each plant I need to post input file record onto Idoc. So for each file record there will be multiple Idocs ( one Idoc per plant ).  What is the best possible solution for this kind of situation. Thanks for any suggestions..

    Hi Bhavesh,
    thanks for your reply. Why should I use RFC? I get StateCode from payload. If I use Statecode to get plants, for every call I will get same plants. Instead I want to maintain these State Code and Plant references in a static file on Xi server or Ztable on XI.
    I will have 2 input messages. 1. Flat File . 2. State/Plant xreference File.
    From these 2 files I can use Standard node function to map.
    Example:
    Flat File
    FL,1234,4567
    FL,8495,8975
    2nd File
    FL,100
    FL,200
    FL,300
    and Outbound file from XI:
    100,1234,4567
    200,1234,4567
    300,1234,4567
    400,1234,4567
    100,8495,8975
    200,8495,8975
    300,8495,8975
    400,8495,8975
    So for each occurance of StateCode from File 2, I need to create those many recs of file 1.
    I hope I did not confused. Similarly I will have other states with some plants.
    Would you please let me know what Node function and mapping I should use. Thanks a lot..

  • Step by step File to RFC Scenario with BPM

    hi
    for the following scenario i m following the webblog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    i have successfully created the design phase
    in the configuration stage
    i need to create a business system or business service will do to create the communication channel
    i have not created the systems so i feel i should not create the business systems
    i would like to create the business service
    so in only one business service can i assign all the communication channel
    useful answers will be rewarded
    Regards
    JM

    There are 3 parts of communication: Sender service to Integration Process (Asynch.), Integration Process to RFC (Synch.), Integration Process to Receiver Service (Asynch.)
    The configurations should be like as follows:
    <b>Sender Service to IP</b>
    Receiver determination:
    Sender Service->Request Outbound Message Interface->Integration Processs.
    Interface Determination:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface. (No interface Mapping is required as the interfaces share the same structure.)
    Sender Agreement:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface>FileRFC_Send
    <b>IP to RFC</b>
    Receiver determination:
    Integration Process->Request Outbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC Structure->Corresponding Interface Mapping between file structure and RFC structure.
    Receiver Agreement:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC_Receiver
    <b>IP to Receiver Service:</b>
    Receiver determination:
    Integration Process->Response Inbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Response Inbound Abstract Interface->Business service->Response Inbound Message Interface. (No interface Mapping is required as the interfaces share the same structure)
    Receiver Agreement:
    Integration Process->Response Inbound Abstract Interface->Business service->FileRFC_Receive.
    Hope you find this useful.
    Regards,
    Amitabha

  • Guarantee EOIO Processing in File-RFC-RFC-IDoc Scenario

    Looking for some opinions on the following set up we've got.  We're trying to build QoS EOIO on a scenario that goes File Sender->RFC and then RFC->IDoc.  My question is basically have we effectively ensured that our scenario will be EOIO from file to IDoc.  We want the first record in the file to always be the first created IDoc, the 10th record in the file to always be the 10th IDoc created etc.....  We also want to make sure that if we encounter an error at any point that all subsequent processing stops and waits until the problem is resolved.  We've successfully completed some steps but my biggest concern is in the area between where XI sends the data to SAP1 via RFC and the resulting return RFC from SAP1.  I'm thinking we may not be quite there yet and would be interested to hear what others thought.
    We're on SP15.  The scenario goes like this (no BPM):
    1) We have a legacy system LEG1 that we pick files up from using the Sender File adapter.  This step will take the file from LEG1 into XI and map it to an SAP remote function on SAP system SAP1.  We set QoS on the file adapter to EOIO.  Our interface determination for the File to RFC component is set to QoS of "Maintain Order at Runtime".
    2) XI makes the RFC call to SAP1 (6.20) using an RFC receiver adapter.  The called function then processes the data and returns the data back to XI using another remote function call.  This function call is of type tRFC where we call the function "in background task" and issue a commit after the RFC call.
    3) We receive the data into XI from SAP1 using the RFC sender adapter.  XI maps it to our IDoc layout and sends it onto another SAP system called SAP2.  Again here our interface determination QoS is set to "Maintain Order at Runtime".
    4) XI passes the IDoc onto SAP2 (7.00) using a receiver IDoc adapter. The paramter Queue Processing is turned on.

    About EOIO in qRFCs, actually this is quite a polemic topic.
    There is something you could do, allright, but it is controversial whether you could properly call it "EOIO" or not.
    Refer to this thread for further discussion: use EOIO on Sender RFC and outbound ABAP proxy calls
    Supposing you call the other RFC before you commit work in the receiver RFC, and supposing you could have EOIO at 2nd RFC (sender RFC), all these assumptions could mean that you would guarantee EOIO end-to-end. But they are just assumptions.
    You have to try it and stress test the scenario to guarantee the validity of this design.
    One other approach would be a BPM with all steps in one single transaction (check BPM transaction handling). The steps would be:
    File -> sync RFC -> Idoc
    where the response of RFC should be the necessary information for triggering the IDoc, and all send steps would be in EOIO mode (set queue name in Send steps). Also, file sender adapter QoS should be set to EOIO.
    But I'm also not sure that this will guarantee EOIO end-to-end (possibly not...)
    Good luck.
    Regards,
    Henrique.

  • File To RFC without BPM

    Dear Friends,
      My scenario is File to RFC , file is picking from third party and that file parameters are updated in ecc  and response is updated in third party system
    using XI.
    For this one I created data types,message types,message interfaces and message mapping for sender , receiver and response.
    In interface mapping I have small doubt i.e how many  interface mappings needed for this scenario.
    In integration directory how many receiver determination and interface determination needed.
    please suggest me.
    Regards,
    Shalini Shah

    Hi Shalini,
    U need to create 2 interfaces at sender side(1 is for file request & 2nd for file response) and one interface at ur receiver side for RFC.
    Refer File to RFC blogs with out BPM u may find lot of stuff to ur requirement.
    Regards,
    Edited by: farook shaik on Sep 20, 2008 7:53 AM
    Edited by: farook shaik on Sep 20, 2008 7:55 AM

  • How to isolate error with a record/segment in IDOC with multiple records

    I have an IDOC with multiple records/segments (typically 1000 records/segments). Sometime XI can not process the IDOC because of some control characters in data.
    1. How can I pre-processed the IDOC to remove those control characters?
    Can I use XPATH expression/Java class to do it? How can I configure the XPATH expression/Java class in XI to pre-process the file?
    2. Until I have answer to 1st question. I would like to find out the error is exactly for which record? What configuration can I do in XI to isolate the error is with which record/segment in IDOC?
    Thanks in advance.

    Split the IDoc.
    with in the UDF, after the validations if every thing fine, pass as successful records to success_MT and pass it to target system using Branching in BPM.
    if errors found in the record, then store the error records in Hash table with in UDF, get the IDoc number, frame as a string and raise alert.
    U have to do this in the context of IDoc.
    If U wanna get the IDoc Number, Segment Name and field name for every failure, U can pass the expected error field name as constant to UDF, frame the sentence in the UDF like -> <b>IDoc 1234321 segment – SEG001 – field – FLD03 has a special character ‘*’</b>.
    If U wanna pass this string to source/target, U can do in error messages branch in BPM.
    U must use BPM for splitting the IDoc, since it is multi-mapping.
    reg.,
    Yallabandi.

Maybe you are looking for

  • IDVD 8 Performance?

    I would like to know how iDVD 8 performs on a G5 Quad burning a DVD with 2 hours of video. iDVD 5 could do it in about an hour but iDVD 6 took twice as long. I would like to know if 8 is as fast (or at least close to) 5. I'm eagerly awaiting some fee

  • How do I create a 3D rotating images animation

    Hi, I'm trying to create an animation like the one on www.ibuypower.com I have 4 images that I would like to array in a similar 3d animation that users can manipulate like the one on this site. Any tips? Thanks

  • My iPod touch 4g won't charge of the wall or computer?

    My 4th gen. iPod touch will not charge off the wall or connect to a computer to charge. The computer doesn't even recognize my iPod but it does recognize an iPhone on both the wires we have. Neither wire works on my iPod though. I've tried all the ap

  • How to search in a table according to search criteria for many fields ??

    Hello all, I required any suggestion regarding easy method for searching a table according to search criteria. I have 7 dropdown list in the userinterface and user can select 1 dropdown or many according to his choice. After selecting 1 or many dropd

  • Trying to restore 5s from cloud.  Need help!

    I started at 8:30.  Everything seemed fine.  Two hours in (is it supposed to take this long?) i started getting random error message popups.  ""verification failed the request timed out" and a similar one saying the "unable to connect to the server."