Reg: Idoc inbound posting

Hi Experts,
I am trying to post an Idoc into SAP system from PI. There are almost 50 tables in sap, based on the table name one of the field length should be changed. How to check the table name...is it possible to save those table names in PI and compare and then change field length. Please help me....
Thanks,
Srinivas.

>>some tables which accept only of field length 9 others will accept 18
Ideally speaking, this is a constraint on ECC side and they need to handle this. Today, you are posting data via one interface, tomorrow you might have other application/interfaces which post data to same table, how many interfaces need to be tweaked?
We had a similar requirement and changes were made in ECC side to trim down the incoming IDOC as per the ECC table lengths, in this way, any application (not just PI) can post data to ECC without worrying about field lengths.
Having said that, if they still want you to handle this in PI, it can be handled via RFC lookup on ECC.
You can hard-code these values in Message mapping as well, but in that case, if field length changes in ECC, you have to modify PI Message Mappings.
Thanks
Aamir

Similar Messages

  • How to send Internal table records to Idoc Inbound posting FM to create Ido

    Hello Experts,
    I have all the data necessary to create shipments in one internal table inside my ABAP program.
    I can use BAPI_SHIPMENT_CREATE to create shipments. But associated with this BAPi there is one ALE message type SHIPMENT_CREATEFROMDATA. Now my requirement is to use this message type to cretae my shipments via idocs for one scenario for some of the records in the internal table.
    For this message type, I got the inbound function module IDOC_INPUT_SHIPMENT_CREATEFROM from TBDBE table.
    Can anybody please let me know how to send the data from the internal table to this inbound function  module?
    Becasue it has mandatory parameters INPUT_METHOD, MASS_PROCESSING. What values should be passed to these parameters if the data has to be sent to this function module?
    Regards.

    Hi Ravikanth,
    Thankyou very much for your quick reply.
    So If I split my internal table data and populate IDOC_DATA and IDOC_CONTROL and pass to the inbound function module directly in my ABAP program, will that be going to create idocs and post shipments?
    I mean is it enough to call the Inbound posting function module directly in my ABAP program or any other FMs to be called to take care of ALE settings and shipment creation?
    Please confirm.
    REgards.

  • Idoc inbound posting program for CRMXIF_PARTNER_SAVE_M02

    Hi Abapers,
            Im working on datamigration for Business partner using Lsmw idoc method and getting Idoc status 53 with message crmxif_partner_save function module generated successfully with BP number but some of the entries of the fields is not getting inserted into master table BUT000,can any one put a tip of light what exactly is going wrong as i have taken all necesscary steps if any one can share their views like how to trace the posting program for inbound idoc crmxif_partner_save_m02 and where exactly the data is getting inserted into database table BUT000.
    Will  appreciate all your help.

    Hello,
    at first, that would be very useful if you could say which fields/segments exactly are not transfered...
    there can be lot's of reasonsd why the fields are not inserted with 53 result status, but in general you can try several points:
    1. check if all the fields you want to transport are properly mapped
    2. you can try to debug, if indeed your mapping rules are working during convertion
    3. do you want to fill this fields in insert (to create new BP) or update mode (udate already created BP)?
    etc.
    regards,

  • IDOC inbound Posting Error no 51

    Hi Friends,
      I am triggering Inbound error using XI.
    I am getting Error no 51(Application document notposted), when i am checking in WE05.
    Can any one guide me how to trace further error???
    Cause of Error????
    If data is incorrect in IDOC how can i check, that error is due which field record????
    Please guide me and give some T.Codes to trace error in inbound IDOCs
    Thanks & Regards
    Umesh

    the hint with the status record is correct: If you double-click it, you may have a button 'application log' - but only if the inbound processing creates a log.
    SAP knows thousands of IDOC basic types, message types, process codes and almost nothing is handled the same way.
    So first get the details about Idoc and message types, find out how the inbound IDOC is processed, get the function modules name, use the debugger to see where what error is issued.
    You may also have a look at the IDOC's segments contents and see if some data is obviously wrong.
    Or just tell the readers here what business process you try to handle using what IDOC - experience may be just one click away.
    regards,
    Clemens

  • Reg : IDOC - inbound function module

    HI guys,
    I have an ....list of error inbound idocs .......(presently using function module X)......
    but recently we made lot of changes in  inbound function module and release as "Y"...hence presently all idocs Uses the inbound function module 'Y'.
    In this scenario i wanted to re-process the old idocs.....(which were in error state 51).......Which should use the old function module 'X'.....(it should not use Function module 'Y') 
    In short 'based on the date ....my inbound function module should be assigned while processing idocs.
    idoc date <   01.01.2011   then old function module  (I.E  FM  "X")
    idoc date > = 01.01.2011  then new function module (i.e. FM "Y")
    regards
    Girish

    You can't do that via the standard config.  You can, however, embed the call to your 'X' function in your new 'Y' function based on your date criteria.  Whether that date is hard-coded or stored in TVARVC is up to you.

  • Urgent: Automate IDOC Inbound/ Outbound

    Hi all,
    I need to automate the whole IDOC process, inbound and outbound.
    For inbound, I need to run or schedule a program that will read all files in a given directory as separate idocs. Note that the filename is not constant, whatever file is in the given directory should be consumed. I don't know if I can use we16 for this still. If I could do this, I just need to schedule RWPOS_PARA_ENQUEUE and I' finished.
    For outbound, what do I do for the system to automatically generate IDOCs? I thought if I activate change pointers, IDOCs will automatically be generated if a change is detected. I am using SAP Retail, one of the idocs is similar to matmas but I cant use BD10 for this. The other two idocs are still problems for me.
    In short, what do I do to automate eveything?
    Thanks so much,
    Kenny

    Hi Kenny Martinez ,
    For Inbound Automation
    First attach your idoc to a process code.
    In the process code you can tell the system that the specified program should be triggered whenever an idoc of that type comes to the system.
    Then you want to have a Z-function module for your idoc processing, if I understand correctly.The steps should be:
    1. Create a z function module for idoc inbound posting (copy from a function module idoc_input_*).
    2. Set Function Modules as Inbound: - Transaction BD51
    3. Assign Function Modules to Logical Messages and Idoc types:- Transaction WE57
    4. Create process codes : Transaction WE42, and link the z-function module.
    5. Create partner profile: transaction WE20 and attach the message type and process code.
    6. In the Z- function module, extract data from the idoc segments, do whatever processing you want to do, and then call BAPI_CREATE_SALES_ORDER_FROMDAT2.
    Good Luck and Reward me for the same.
    Thanks
    Ashok.N

  • Inbound IDOC to post goods receipt with inbound delivery as reference

    Kindly let me know the message and IDOC type for
    Inbound IDOC to POST GOODS RECEIPT  with inbound delivery as reference
    I tried using WMMBXY but it didn;t work.
    Pls let me know asap.Your help is appreciated.
    Thanks and Regards
    Priti
    Edited by: Priti Adukia on Feb 11, 2008 4:48 AM

    Hi Nicole,
    What I've to do is quite the same as the case. Outbound and Inbound are in the same SAP system. If I've good understanding, I must set partner profile as follows :
    INBOUND - Parter LI with
                            Message DESADV
                            Operation code DELS
    OUTBOUND - Partner KU
                            Message DESADV
                            Operation code ???
    Please advise
    Suchart

  • EDI / IDoc : While posting inbound IDocs, IDocs gets into status 56

    EDI / IDoc : While posting inbound IDocs, IDocs gets into status 56 with message "EDI: Sender port in control record is invalid".
    But if I reprocess the same idoc without doing any changes using RBDINPUT and select radio button to processs idocs for status 56, then it gets successfully posted.
    So not getting why this stucks for the first time.
    Thanks in Advance..........

    i fixed this my self

  • UserExit or Badi for inbound posting idocs after commit

    Hello Folks,
    I want to know the User Exit/Badi that can be used after inbound idoc gets posted-iam using FM IDOC_INPUT_HRMD for posting idocs, as i want to use perform on commit statement.
    Thanks & Regards,
    Nishanth Kumar

    Hi Nishanth
    Dont sure about the question actually.Can you elaborate.
    see the [thread|Re: User Exit or BADI   for ME21N or ME51N;
    it may help you
    Regards
    Sachin

  • Inbound IDocs to post credit memos??

    Hi All,
    I have a scenario. I have to accommodate EDI SAC codes into SAP through IDocs(inbound vendor invoice (FB60)). I have around 4 to 6 SAC codes which have values that will be either credited or debited to GL accounts. some are at header level and some are at detail level.
    How come I implement this scenario. I have no clue to implement this scenario.
    Plz do reply.
    Thanks very much,
    Creasy

    Hi VJ,
    thank you very much.
    Is it possible to create credit memo without any reference to document in SAP.Because the third party system only sends very small amount of data
    (customer number, amount, paymentmethod, date).
    Can i be able to create the credit memo with the above information
    Please help me..
    Thanks
    Raju

  • IDoc - Inbound delivery

    Hi Experts,
    Inbound EDI message order acknowledgments:
    When we cancel a purchase order item with IDoc message 'ORDRSP', this leads to an error message in the IDoc inbound processing.
    There is note 890812, but i guess it is till release 5.0
    Can anybody please guide me for the solution.
    Thanks,
    Sourabh Kothari

    Hi Experts,
    When we tested for the note, it is giving the status that this cannot be implemented.
    Could any one give me the alternate solution for the IDoc inbound processing.
    When the vendor sends the quantity 0 against any of the line items, the other line items are also not posted. There error message is ME794.
    As per the above note implementing the corrections & when the item is deleted in PO, again processing the idoc would be successful. But the note is not valid for ECC 6.0
    Please guide.
    Thanks,
    Sourabh Kothari

  • IDOC is posting with Errors in File to IDOC scenario

    Hi,
       I did the File  to IDOC scenario for CREMAS  . IDOC is posting with Errors .. i.e. in the status record it was showing  56- EDI: Partner profile inbound not available  ..
    If I manually process that IDOC in WE19 , then it was processing successfully..    and in the  we19 it was showing Inbound Processing : Port Not Maintained    but even though manually it was posting fine...
    any ideas regarding this will be appriciated..... 
    Regards
    Babu

    Please check whether you had done the following assuming your doing File to Idoc
    Settings in your Business service for the receiving system
    Please specify the RFC detination, SAP System and Client of the Receiving System in the adapter specific detials.
    Settings in R/3
    WE20 - Add the partner profile for the particular message type cremas and process code.
    Your statement
    " and that same logical system name  had given as Message Specific Attributes in the Sender Business Sevice parameters in I.D "
    Please do mention R/3 Details in the receiver business service or system.
    Thnz

  • Need IDOC inbound and outbound programs

    hi,
    i am new to xi.
    i want IDOCs , inbound and outbound / function module  programs for    PURCHASE ORDER
    and GOODS RECEIPT.
    ex:  BD10 for material master (matmas01).
    thanks and regards
    v ijender

    for purchase order.
    ORDERS / ORDERS04
    ORDCHG / ORDERS04
    ORDRSP / ORDERS04
    Programs
    RBDMIDOC – Creating IDoc Type from Change Pointers
    RSEOUT00 – Process all selected IDocs (EDI)
    RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
    RSARFCEX - Execute Calls Not Yet Executed
    RBDMOIND - Status Conversion with Successful tRFC Execution
    RBDMANIN - Start error handling for non-posted IDocs
    RBDSTATE - Send Audit Confirmations
    FOr testing you can use WE19.
    and also check the below link
    http://www.erpgenie.com/sapedi/message_types_masterdata.htm
    regards
    kummari

  • Error : Pre Settings for IDoc inbound processing are missing error

    Hi Experts,
    There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error?
    Thanks in advance.
    Madhurima.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    [iTunes for Windows: "Registry settings" warning when opening iTunes|http://support.apple.com/kb/TS3299]

  • IDoc Inbound Processing for CREMDM & DEBMDM

    Hi experts,
    I'd like to gather some feedback from you regarding the topic ERP IDoc Inbound Processing for CREMDM & DEBMDM. As you all know, there's currently no option to directly process CREMDM/DEBMDM IDocs in ERP. Currently you have to use PI for splitting the CREMDM/DEBMDM message into its related ADRMAS and CREMAS/DEBMAS IDocs.
    My areas of interest are:
    1) How satisfied are you with the current situation? Does the split work? Are there issues or problems in the current message handling? What are the Pro's and Con's from your point of view?
    2) What would be the requirements for a CREMDM/DEBMDM handler? What would you expect? Maybe you have implemented  something similar on project basis and could post some feedback?
    One painpoint I'd see with a CREMDM/DEBMDM inbound is that you'll lose the IDoc Monitoring capabilities. The message split allows a single record tracing in the IDoc Monitor (as there is a 1:1 relation between IDocs and records). This changes for the mass processing. The monitor would display only the status of the IDoc and you'd need some other monitoring capabilities to check the results on record level. What are your thoughts about that? Is the monitoring important? Would the application log be a feasible solution for that challenge?
    Additional comments are welcome, of course.
    Best regards
    Michael
    PS: @ Matt, please contact me by mail. thanks.

    Hello ,
    Here are some other pain areas regarding the message split :
    1. Complicated monitoring proess & reprocessing error idocs : We have to monitor ADRMAS & CREMAS or ADRMAS & DEBMAS during inbound processing. Also we could not find any best practices to reprocess error idocs. E.g. If ADRMAS fails & CREMAS succeeds what is the impact . Also the impact if it is reveresed. We know for sure that if CREMAS fails , vendor will not be created / updated. But we could not find specific pointers for ADRMAS failures.
    2. It is a tedious process to link CREMAS with corresponding ADRMAS idoc specially when SAP maintains internal number range for vendors.
    3 . The process is complicated if you are managing customer or vendor contact information with contact address . We could succesfully implement the integration but it took us a while to reach end-point.
    4. Splitting really does not seem to support if ERP maintains internal number range.
    5. Another major issue we observed is , if ADRMAS is under process & corresponding DEBMAS or CREMAS is posted , it fails raising the message that Account is locked. Default serialization does work in ERP system . But overlap of few microseconds also cause this error.
    Hope this helps !!
    Please let me know if you need any other specific details since we have used MDM - ECC integration using PI to its maximum extent .
    Regards
    Yogesh

Maybe you are looking for

  • Iphone 6 speaker having echoes! And camera keep freezing. Help!

    My one month old iPhone 6 having some problem. First the camera tends to lag or sometimes blackout when I want to take photo. Secondly, the speaker has echoes. Please assist. Am I eligible to exchange for a new unit?

  • Computer not recognizing my Nano(1st) Gen

    Usually when I plug in my nano my computer will make a noise, then it will update my iPod if I have put on any new songs, well for some reason my compuer no longer recognizes my nano, although it will still charge, anyone know what the problem is or

  • I cancelled my Creative Cloud and now my Production Premium CS6 won't work!

    When I cancelled the Creative Cloud membership by phone, I informed the Adobe rep that I intended to use our Production Premium CS6 suite instead (which we have had longer than CC.  Now I can't open anything in my CS6 suite.  It's treating it as if i

  • Older MacBook Pro put away while on holidays now won't power or wake up.

    Hi all, my MBair is working just fine (luckily I haven't had any of the problems noted here)  but we left for holidays with my MBair and I put my MBP away asleep, but probably ought to have powered off, for 10 days and now I can't wake it or power it

  • Mounting dvd image

    hi, I have this dvd image I'd like to loop mount. Unfortunately all I get is this error: [root] $ mount -t iso9660 -o loop DISC1.ISO files/ mount: wrong fs type, bad option, bad superblock on /dev/loop0, or too many mounted file systems (could this b