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,

Similar Messages

  • Posting Program for Incoming Invoice

    Hello,
             I have a requirement to develop an Inbound Interface for Incoming Vendor Invoice which needs to be posted into SAP. Is IDOC_INPUT_INVOIC_MM the Posting Function Module which is used for this Purpose? Or do I need to develop a Custom Posting Program for Posting Invoices in MIRO? Please suggest the available BAPIs & FMs for MIRO Transaction if I need to go for a Custom Development.
    Thanks,
    Venkata Phani Prasad K.

    Hi,
    The posting program for Posting an Vendor Invoice is IDOC_INPUT_INVOIC_MRM which is associated with the process code INVL.
    I have used the above FM only to post the Vendor invoice idocs and it was successful.
    Thanks,
    Mahesh.

  • IDOC Posting Program for Vendor Master

    Hi Guys,
    Please give me the Sample Posting Program Vendor master Idoc.
    Thanks a lot in advance.
    Prabhu.r

    search with BD* in SE93
    BD14 - Outbound program for vendor master
    BD10 - Outbound Material master
    BD12 - Outbound customer master

  • 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.

  • 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

  • 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

  • Selection program for HR Idocs

    Hi experts,
         If we generate the Idocs for HR master data using PFAL, and configure the partner profile ( No message Control ), do we have any selection program or posting program for the generated idocs to be posted ??
    Please clarify this.
    Thank you in advance.

    data : wa_0041 type p0041.
        CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
          EXPORTING
            number        = wa_0041-pernr
            validitybegin = wa_0041-begda
           IMPORTING
              return        = wa_enque_return. " type bapireturn1
       CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                EXPORTING
                  infty                  = '0041'  " as per your infty
                  number                 = wa_0041-pernr
                SUBTYPE                =
                OBJECTID               =
                LOCKINDICATOR          =
                 validityend            = wa_0041-endda
                 validitybegin          = wa_0041-begda
                RECORDNUMBER           =
                  record                 = wa_0041
                  operation              =  'INS"
                TCLAS                  = 'A'
                DIALOG_MODE            = '0'
                NOCOMMIT               =
                VIEW_IDENTIFIER        =
                SECONDARY_RECORD       =
               IMPORTING
                 return                 = lw_return  " type bapireturn1
                KEY                    =
         CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
            EXPORTING
           number        = wa_0041-pernr
              validitybegin = wa_0041-begda
            IMPORTING
          return        = wa_deque_return. " type bapireturn1
    you can call the FM inside loop of your internal tabale.
    reward points if helpful

  • Outbound idoc posting program Creation

    Hi,
    i want to create a posting program for my new idoc/segment, can anybody give some standerd posting program.

    HI,
    use FM: IDOC_OUTBOUND_WRITE_TO_DB
    Fill int_edidd with your IDoc Data and int_EDIDC with the IDoc control.
    maybe it´s useful!

  • 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

  • Creating IDOC from ABAP  Program

    Hi folks,
              Could any one tell me the procedure how to process IDOC form ABAP program. for example i want to send MATMAS idoc to other system. now we are able to send through Tcode BD10 to XI.  we jsut want to send through ABAP program. is it possible to do so..if so  could u pls let me know the procedure..thanks in advance.
                   santosh.

    Just check abap program RBDSEMAT.
    In short:
    - select the materials you want to send.
    - call following function module:
                    CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT'
                      EXPORTING
                        rcvpfc       = ' '
                        rcvprn       = receiver_prn
                        rcvprt       = receiver_prt
                        sndpfc       = ' '
                        sndprn       = ' '
                        sndprt       = ' '
                        message_type = mestyp
                      TABLES
                        marakey      = t_matkeypack
                      EXCEPTIONS
                        OTHERS       = 0.

  • INBOUND program  For custom IDOC

    Hi ,
          i have a one  senario on creation of IDOC,that is interface for the transmission of the Acknowledgement of check Remittance and Supplemental interface,once the message is received Successfully through OUTBOUND program it triges the Acknowledge other wise it send one mail to respective team for that i need to create a one inbound program please explain me i am new in the area of ALE/ IDOC please give in deatials.
    Thanks,
    Harinath

    Hi Harinath,
    In your case SAP is sending <b>Check Remittance and Supplemental</b> data to legacy system which in turn need to send acknowledgement for that. And its going to be in form of an idoc. for this we dont have an idoc you need to create one from scratch. please find the steps to be followed to create a custom idoc.
    1) Create ‘Z’ segment with required fields(fields coming towards you) using WE31
    2) Create ‘Z’ idoc using segment created in step 1 using WE30.
    3) Create ‘Z’ message type using WE81.
    4) Link idoc created in step 2 with message type created in step 3 in WE82.
    5) Create ‘Z’ function module to post the idoc in SE37. Include all validations, updations to tables, Error handling in source code tab of this FM.
    6) Maintain Inbound process code using the FM in WE42
    Coming to sending a mail, It can only be done using workflow. But i think in your case it is not required. so it need to be done manually.
    Get back if you have any doubts.
    Regards,
    Younus
    <b>Reward Helpful Answers!!!</b>

  • Standard IDOCS, Programs for posting FI & bank related data.

    Hi,
    (1)Are there any idocs available for posting FI documents, Vendor master?
    (2)Are there any outbound idocs, programs for sending data to banks. EG:positive pay etc?
    Kindly reply to these questions. Correct answer will be awarded points.
    Regards,
    Akshaya.

    Hi,
    There is message type BANK_CREATE for posting the FI related Bank details. Using the change pointers you can trigger the idocs for posting the bank related data.
    Regards,
    Uday

  • 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

  • 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

  • This Applescript will correct links & programs for posting

    Since I have been posting to these forms, I have been annoyed by the conversions that are done to my posts. A word surrounded by asterisks gets bolded. When I decide to make a link to a post, I can never remember the exact format. When I posted AppleScript code, I found that it is squish to the left. The AppleScript I have posted here gets around these problems.
    Robert
    The first thing that you need to do is to make the text into an AppleScript program.
    start the AppleScript Editor
    /Applications/AppleScript/Script Editor.app
    copy the text to the Applescript editor.
    save the text to a file as an application and do not check any of the boxes below.
    !http://farm4.static.flickr.com/3544/3390737677_645a847e28.jpg?v=0!
    now, let's build a link to a post.
    get the link to a reply.
    Goto this Webpage:
    http://discussions.apple.com/post!reply.jspa?messageID=9003196
    Copy the Web page address from the top of your Web browser page. This is the standard highlight the address then do a command+c
    Now you should run my AppleScript program by going back to the Script Editor. Optional, click the words event log to see the debug information. Click on the run icon.
    !http://farm4.static.flickr.com/3423/3391549168_9ce8b6fcd9.jpg?v=0!
    The link has been modified. Paste the link onto your Web page. This is the standard command+v.
    For a more typical usage, placed the program on the dock or make an alias on the desktop.
    Robert
    Name: alter-clipboard
    Input: Clipboard
    Output: Clipboard
    This AppleScript program is designed to convert a forum-reply web address  to a link to a forum post, to convert special characters to their HTML symbols, and to convert programming language code to a  form that does not get mangled.
    1)   When you wish to reference another Apple discussion forum post, I found the process convoluted.  The Apple form software does not provide for the display of a form post link.  Instead, you must  construct the link from a reply post.  This AppleScript simplifies the process.
      When the clipboard contains a link to a forum reply page, do the conversion.
      Here is that way:
      a) Find the particular post you wish to reference.  
      b) Click on the reply icon.  
      c) Copy  the Web address to the clipboard  (command+c).  
      d) Run this AppleScript to convert the Web address.  
      e) Paste (command+v) the converted Web address into your post.
       For example, you:  
       • Want to reference a post on how to improve the performance of Tiger.  You find a post by Texas Mac Man with a list of possibilities.  
       • Click on the Reply option and highlight the Web address because you know the address contains a reference to this post.
       • Type command+c to copy the address to the clipboard.  The clipboard now contains:
         http://discussions.apple.com/post&#033;reply.jspa?messageID=9124252
       •  Run this AppleScript to convert the Web address. The clipboard now contains:   
               http://discussions.apple.com/message.jspa?messageID=9124252&#035;9124252
       • Type command+v to paste the address   into your new post.
    2)  Assume that the clipboard contains  special symbols or formated programming language code to convert.  
      The simpleFormatting property switch in the code selects teletype text ( tt ) when true and selets preformated text ( pre ) when false.      
      This AppleScript will converted special symbols used in these forums to a form not used by the forum software in order to preserve the original characters.
      For the symbols, see:
      See "Other formating tags are available as shown below" in
      http://discussions.apple.com/help.jspa&#035;format
      An alternative to using these symbols is document in this post:
      http://discussions.apple.com/thread.jspa?messageID=607563
      Also, this AppleScript preserves indentation used in programs or Terminal output.
      a) Copy  the text to the clipboard .  
      b) Run this AppleScript to convert the text
      c) Paste the converted text into your post.
      For example,  the asterisks will be preserved:
         mac $ ls *oup*
         Youpi Key Editor.plist  Youpi Key.app alias  
      For example,  the indentation will be preserved:
         on adding folder items to this_folder after receiving dropped_items
            repeat with dropped_item_ref in dropped_items
               display dialog "dropped files is " & dropped_item_ref
            end repeat
         end adding folder items to
      Author: rccharles
      Copyright 2009 rccharles
      GNU General Public License
       This program is free software: you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published by
       the Free Software Foundation,  version 3
       This program is distributed in the hope that it will be useful,
       but WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       GNU General Public License for more details.
       For a copy of the GNU General Public License see <http://www.gnu.org/licenses/>.
    property simpleFormatting : true -- when true use tt tag to enclose; when false use pre tab to enclose
    on run
      -- Write a message into the event log.
      log "  --- Starting on " & ((current date) as string) & " --- "
      set theClip to the clipboard
      if length of theClip > 33 and characters 1 thru 33 of theClip as string = "http://discussions.apple.com/post" then
           http://discussions.apple.com/post&#033;reply.jspa?messageID=9003196
       convert to:
           http://discussions.apple.com/message.jspa?messageID=9003196&#035;9003196
         set theClip to alterString(theClip, "post!reply", "message")
         set {frontPart, postNumber} to textToList(theClip, "=")
         set theClip to theClip & "#" & postNumber
      else
         --  see http://www.asciitable.com/ for the ASCII translations
         -- must be the first change so as not to cause problems.
         set theClip to alterString(theClip, "#", "&#035;")
         --  You need to use either the numeric form of the HTML symbol or
         --  translate HTML character enties as seen below.
         set theClip to alterString(theClip, "&amp;", "&amp;amp;")
         set theClip to alterString(theClip, " ", "&amp;nbsp;")
         -- Preserve blanks
         -- converts two spaces to a space and non-breaking space
         set theClip to alterString(theClip, "  ", "  ")
         set theClip to alterString(theClip, "!", "&#033;")
         set theClip to alterString(theClip, "[", "&#091;")
         set theClip to alterString(theClip, "]", "&#093;")
         set theClip to alterString(theClip, "<", "&#060;")
         set theClip to alterString(theClip, "*", "&#042;")
         set theClip to alterString(theClip, "+", "&#043;")
         set theClip to alterString(theClip, "_", "&#095;")
         set theClip to alterString(theClip, "--", "&#045;&#045;")
         set theClip to alterString(theClip, tab, "   ")
         -- suggested by red_menace from the Mac forums
         set theClip to alterString(theClip, "-", "&#45;")
         set theClip to alterString(theClip, "^", "&#94;")
         set theClip to alterString(theClip, "~", "&#126;")
         if simpleFormatting then
            set theClip to "<tt>" & theClip & "</tt>"
         else
            set theClip to addWrapper(theClip)
         end if
      end if
      set the clipboard to theClip
    end run
    on alterString(thisText, delim, replacement)
      set resultList to {}
      set {tid, my text item delimiters} to {my text item delimiters, delim}
      try
         set resultList to every text item of thisText
         set text item delimiters to replacement
         set resultString to resultList as string
         set my text item delimiters to tid
      on error
         set my text item delimiters to tid
      end try
      return resultString
    end alterString
    -- textToList was found here:
    -- http://macscripter.net/viewtopic.php?id=15423
    on textToList(thisText, delim)
      set resultList to {}
      set {tid, my text item delimiters} to {my text item delimiters, delim}
      try
         set resultList to every text item of thisText
         set my text item delimiters to tid
      on error
         set my text item delimiters to tid
      end try
      return resultList
    end textToList
    -- suggested by red_menace from the Mac forums
    -- some constants and switches
    property TextColor : "#000000" -- black  (see http://www.w3schools.com/tags/ref&#095;colornames.asp)
    property BackgroundColor : "#FFEE80" -- medium/canary yellow -- "#FFDDFF" -- a light plum/purple
    property BorderColor : "#000000" -- black
    property TheWidth : "width: 720px; " -- a width attribute
    property UseWidth : true -- use the width attribute?
    property LineCount : 25 -- the number of lines before including the height attribute
    property TheHeight : "height: " & ((LineCount * 13.6) as integer) & "px; " -- a (rough) maximum height for the formatted box
    on addWrapper(SomeText)
      fix up some formatting and add a tag wrapper  (see http://www.w3schools.com/tags/default.asp)
         parameters -      SomeText  text to add the wrapper to
         global items -   LineCount, TheHeight, UseWidth, TheWidth,  KeepFormatting,                         
                     BorderColor, TextColor, BackgroundColor
         returns [text]:      the wrapped text
      set {Height, Width} to {"", ""}
      if (count paragraphs of SomeText) is greater than LineCount then set Height to TheHeight
      if UseWidth then set Width to TheWidth
      -- hack...
      -- seems like the apple forum software doubles the returns in a pre tag
      set SomeText to alterString(SomeText, return, "<br>")
      -- change the style properties as needed
      set SomeText to "<pre style=\"
         font-family: Monaco, 'Courier New', Courier, monospace;
         font-size: 10px;
         font-weight: normal;
         margin: 0px;
         padding: 5px;
         border: 1px solid " & BorderColor & ";
         " & Width & Height & "
         color: " & TextColor & ";
         background-color: " & BackgroundColor & ";
         overflow: auto;\"
         title=\"\">" & SomeText & "</pre>
      return SomeText
    end addWrapper

    Hi,
    There is message type BANK_CREATE for posting the FI related Bank details. Using the change pointers you can trigger the idocs for posting the bank related data.
    Regards,
    Uday

Maybe you are looking for