Response for successful Idoc post

Hi,
Curerently we are in the designing specifications phase of a project where there is a requirement which i am not sure if it can be achieved or not, hope i can get some help here.
The interface flow would be an File to Idoc scenario where multiple Idocs will be posted in the ECC system. The requirement that our client wants is to get an acknowledgement from the ECC system for the log of the number of Idocs posted. Say that there are 4 Idoc data present in a single file and gets posted in the ECC system, i believe there will be 4 entries in the ECC system and is there a possibilty that i could get a single acknowledgement for the 4 Idocs posted ?
Please let me know if this can be achived and how it can be done or is there an alternate suggestion for this requirement.
Thanks & Regards,
Sherin Jose P

Hi Sherin Jose P,
You could have used "Idoc Acknowledgements" feature provided by SAP. But this is possible with Idoc to Idoc scenario. Since you have File to Idoc, check if you can adapt the Idoc Acknowledgements for the file part of the interface.
Idoc Acknowledgement basically sends an acknowledgement Idoc (ALEAUD) to the sender which contains details about all Idocs posted in the target system. Check if you can map ALEAUD Idoc structure to your file structure.
- Netrey

Similar Messages

  • Enhancement for inbound idoc posting(idoc_input_ordrsp)

    hi,
    please find solution for the below.
    business senario: when the vendor send purchase order confirmation through idoc a automated acknowledgement has to be send.
    technical: when vendor send idoc (orders05) it updates with FM (idoc_input_ordrsp) our system.
    but in the idoc a segment E1EDP19 will have the field IDNLF which has to be filled to send a  acknowledgement .
    in my case:
    the user  some times will fill the segment so to get automated acknowledgement we have to write an enhacement to populate the segment in inbound  FM.
    i have written code in EXIT_SAPLEINM_007. and populated the data in internal table. but the changed data in internal table  is not reflecting in processed idoc(in we02 direction 2).

    idoc_data is the intenal table which hold all the segment data in run time.
    now i fetched matnr from ekpo table populated E1EDP19
    and modified the internal table by adding idoc_data-sdata when idoc_data-segnam is E1EDP19 .
    ultimately the sdata is reflecting in the idoc_data-sdata for the segment.
    but when we check in  we02  for the processed idoc the changes are reflecting.
    give me a solution for the data to reflect in processed idoc.

  • How to get Get IDOC Number for Inbound IDOCS

    Hi,
    I am using the FM -- IDOC_INPUT_HRMD for creating Inbound IDOCS.
    I populate the values for Control Record and Data Record and the IDOC is posted successfully and i get the status 53 in the status Table.
    But the problem is the field for IDOC number(DOCNUM in IDOC_STATUS Table of the FM ) is empty.
    How can i get the DOCNUM for the IDOC posted as a result of this FM ?
    regards,
    Siddhartha

    Hi Siddhartha,
    I think you cannot call IDOC_INPUT_HRMD fm directly from the external program as this fm only handles the application logic part and not the idoc number generation and save part.
    So I think you have to call IDOC_INBOUND_SINGLE from your external program and then get the IDOC number.
    Then if you need the status records then you need to call another fm and feed IDOC number that you have got from IDOC_INBOUND_SINGLE (there is one IDOC_READ_COMPLETELY but it is not a remote enabled fm)
    <b>OK, I just found one RFC enabled fm which you can use,
    <b>EDI_DOCUMENT_READ_ALL_STATUS</b></b>
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • IDOC Posting _Outbound

    Hi XI Experts,
                 I am doing an idoc to file scenario and i have an abap report which used the FM master_idoc_distribure to send the idoc. The idoc gets posted with status 03, but in sxmb_moni i donot see any thing.There is no entry in idx5 for the idoc posted by the report.
    If i use we19 with the same idoc number then my interface works and i see an entry in moni.
    Any inputs? What has possibly went wrong?
    Regards,
    Anirban

    Hi Anirban,
    After you call FM master_idoc_distribute, you need to add the following code:
      COMMIT WORK.
      CALL FUNCTION 'DEQUEUE_ALL'
        EXPORTING
          _SYNCHRON = ' '.
    This should then send your idoc.
    Hope that this helps,
    Thanks,
    Miguel

  • Why is audio specified for success invalid?

    Captivate 7 on Macbook
    I created a click box over an image, and imported a short mp3 file to the slide (or thought I did). On success, I chose play audio. I moved the audio to the middle of the slide right after the clickbox on timeline. When I try to preview the slide, I get:
    The audio specified for 'Success Action' is invalid. Your changes cannot be saved.
    I've done this many times over many days; I go read Help some more, and watch adding audio videos, then come back and continue to fail. Over and over. I'm missing something seriously basic. Can someone identify it for me? Thanks for any help.

    What I really need is to hire someone (for $$, of course) to teach me how to do two or three very small interactions (I'm talking two words, click on one, audio responses for success and failure), to find out what is possible. Then I can have other people make the slides for me while I create the learning workflow. I teach kids who can't read, and have seriously game-changing ideas, but I'm not someone who will ever understand this Captivate/audio/interactive stuff. Massive #fail.
    I'm very smart in my own field; and am also smart enough to know that after a month of trying to get a few crude rudiments of this with zero success and tons of humiliation, further months reading and watching the same limited number of free and purchased videos and books won't get me there either. I'm not built for it. And all the while, I'm wasting time when I could be getting this program out there.
    My best success so far has been creating tons of very successful Mac Keynote presentations using effects and hyperlinks, testing them with children, and having failing kids and their parents going wild for them, succeeding after years of painful struggle, and begging for a full program. But I can't do it!
    I teach very short bits in a brief, entertaining video, then provide a tiny assessment using hyperlinks, and on they go, in Keynote. But I can't figure out a way to provide it online--hence this disastrous attempt to learn Captivate.
    I searched for an answer to: is mp3 exported from garageband as 16 bit PCM or 24bit or 32 bit, but didn't find an answer. I tried rephrasing several times, but still didn't find what I need to tell you.
    It's all so alien to me that I don't even know how to check on your suggestion. I exported the audio as an mp3 from Garageband (which I also don't understand, and never will. Does that help any? I also tried putting it in iTunes and exporting as an mp3. Same result.
    I'd give anything to find a person to help me make this happen. Is anybody out there?
    Message was edited by: dowbright

  • Error 'No tax code found for difference' in Posting Vendor Invoice IDOC

    Hi All,
    I am getting error message 'No tax code found for difference' while posting Vendor Invoice IDOC into SAP. IDOC type is INVOIC02. There is no difference in PO price, Invoice price and even Standard price. then why this  error message? Other Vendor EDI settings are done ( OBCA, OBCD, OBCE etc). Is there any thing specific to be done in the config for this error?
    IDOC has PO  as reference document.
    I looked into several threads in SDN forum but could not find proper solution
    Can any ine help me with this issue?
    Thanks in advance
    Hari

    Hi
    You might be  missing the tax code for uploding through IDOC
    so you can use the t.code we02 and give the doc and find the error
    go to the WE19 to edit the tax  code
    and USE the t.code  BD87  to select the doc and process it
    thanks
    Madhu

  • /SAPTRX/IDOC_INPUT_EVMSTA IDoc posting only works for single BAPI call

    Although the settings and code imply that the function /SAPTRX/IDOC_INPUT_EVMSTA can handle multiple events in a single IDoc the fact is that the code does not have a refresh statement on the BAPI internal tables with the loop through the IDoc control record. This means that we end up posting multiple events for the the same event during Idoc posting.
    Is SAP going to fix this situation? PS: The same applies with the EHPOST Idoc function module.
    Thank you
    Kevin

    Dear,
    I just debugged my Z-function, after adding all input parameters as in the standard BAPI function.
    All parameters seems to be passed correctly except from the table parameters from
    CLASS_OBJECTS
    So all I_parameters are passed :
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_INT} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_ISO} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_KEY_DATE} = Date (2011, 08, 05) and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSNUM} = "DSWTEST" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSTYPE} = "001" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CHARACTS_OF_CLASS_ONLY.BAPIFLAG} = ""
    but the table parameters aren't coming through:
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
    these are 'blanco' in the function.
    also after the function is executed and all data is retrieved, when passing the data back to Crystal reports, once again, the table result isn't passed to Crystal Reports.
    please advise

  • How long does it take to get a response for a post?

    I just wanted to know how long do I have to wait to get a response for my post. 

    I answered your other topic for you

  • IDOC posted successfully from XI but not reflecting in Receiver R/3 system

    Hi All,
    My scenario is File-XI-IDOC.
    I am getting successfull message for outbound IDOC in XI.
    But when I search in receiver R/3 system I am not getting any inbound IDOC in R/3.
    I have checked all the parameters in SM59,ports and partner profile,but still not working.
    Please help.

    hi Bhavesh,
    This authorization problem is related to XI user or the one I mentioned in RFC destination?
    Whose autorizationa I should change XI user or R/3 user?(I am bit confused.)
    Because if problem was in RFC destination user I should not get my metadat also,I am getting message as "No authorization to send IDocs with message type MATMAS" is it related to XI user id or R/3 user id.
    Thanks,need ur help.

  • Outbound output type & Idoc type for MIRO (Invoice Posting)

    Hi Gurus,
    I have requirement like , I want to send the outbound IDoc to a external system containg the invoice detials after Saving in MIRO.
    I am not able to find any output type & Idoc type for the same.
    By going through varios threads , I found that there tell there is no Idoc type & output type for sending Idocs after MIRO.
    Kindlt let me know, if it so, or how this req can be fullfiled by other ways.
    Thanks
    Amresh

    Hi,
    Create Custom Idoc type with required fields,custom output type and assign it to partner profiles.(If there is no std idoc type or output type)
    Use Funtion module MASTER_IDOC_DISTRIBUTE to generate Idocs while saving MIRO, for this you need to find exit or implement implicit enhancement while saving MIRO.
    Regards,
    Ashok.

  • Inbound IDOC Posting

    I am developing a function module in ECC that will be used to post inbound IDOC for customer creation DEBMAS07
    The logic is as follows -
    The function receives an IDOC structure
    It then invokes function module 'IDOC_INPUT_DEBITOR'
    IDOC_INPUT_DEBITOR takes care of creating a new customer in table KNA1. But I was expecting IDOC_INPUT_DEBITOR to also handle the IDOC posting. This way I can go to WE02 and see a new IDOC record. What am I missing? Is there some more code I need to write after the function module call?
    Thank you.
    * IDOC structures for using ALE
         data       lc_no_display         type bdwfap_par-inputmethd value ' '.
         data       lt_idoc_control       type standard table of edidc.
         data       ls_idoc_control       type edidc.
         data       lt_idoc_data          type standard table of edidd.
         data       lt_idoc_data_knvi     type standard table of edidd.
         data       lt_idoc_status        type standard table of bdidocstat.
         data       ls_idoc_status        type bdidocstat.
         data       lt_return_variables   type standard table of bdwfretvar.
         data       lt_serialization_info type standard table of bdi_ser.
         data       lv_workflow_result    type bdwf_param-result.
         data       pi_idoctyp            type edi_iapi00-idoctyp.
         data       pt_segments           type standard table of edi_iapi11.
         data       lw_segments           type edi_iapi11.
         data       ls_idoc_data          type edidd.
         data       ls_e1kna1m            type  zdebmas07_e1kna1m.
         data       e1kna1m               type e1kna1m.
    *** CONTROL DATA
         ls_idoc_control-mandt  = input-idoc-edi_dc40-mandt.
         ls_idoc_control-status = input-idoc-edi_dc40-status.
         ls_idoc_control-doctyp = input-idoc-edi_dc40-idoctyp.
         ls_idoc_control-direct = input-idoc-edi_dc40-outmod.
         ls_idoc_control-rcvprt = input-idoc-edi_dc40-rcvprt.
         ls_idoc_control-rcvprn = input-idoc-edi_dc40-rcvprn.
         ls_idoc_control-stdmes = input-idoc-edi_dc40-stdmes.
         ls_idoc_control-outmod = input-idoc-edi_dc40-outmod.
         ls_idoc_control-sndpor = input-idoc-edi_dc40-sndpor.
         ls_idoc_control-sndprt = input-idoc-edi_dc40-sndprt.
         ls_idoc_control-sndprn = input-idoc-edi_dc40-sndprn.
         ls_idoc_control-mestyp = input-idoc-edi_dc40-mestyp.
         ls_idoc_control-idoctp = input-idoc-edi_dc40-idoctyp.
         append ls_idoc_control to lt_idoc_control.
    *** READ SEGMENTS
         pi_idoctyp = ls_idoc_control-idoctp.
         call function 'IDOCTYPE_READ_COMPLETE'
           exporting
             pi_idoctyp         = pi_idoctyp
           tables
             pt_segments        = pt_segments
           exceptions
             object_unknown     = 1
             segment_unknown    = 2
             relation_not_found = 3
             others             = 4.
         loop at pt_segments into lw_segments.
           case lw_segments-segmenttyp.
             when 'E1KNA1M'.
               ls_idoc_data-segnam = 'E1KNA1M'.
               ls_idoc_data-mandt  = sy-mandt.
               ls_idoc_data-segnum = lw_segments-nr.
               ls_idoc_data-psgnum = lw_segments-parpno.
               ls_e1kna1m          = input-idoc-e1kna1m.
               move-corresponding ls_e1kna1m to e1kna1m.
               move e1kna1m to ls_idoc_data-sdata.
               append ls_idoc_data to lt_idoc_data.
               exit.
           endcase.
         endloop.
    *** IDOC INPUT CALL FUNCTION
         data: response type zsi_create_customer_is_res_tab.
         data: response_lwa type zsi_create_customer_is_respons.
         data: lwa_error_message type string.
         call function 'IDOC_INPUT_DEBITOR'
           exporting
             input_method          = lc_no_display
             mass_processing       = space
           importing
             workflow_result       = lv_workflow_result
           tables
             idoc_contrl           = lt_idoc_control
             idoc_data             = lt_idoc_data
             idoc_status           = lt_idoc_status
             return_variables      = lt_return_variables
             serialization_info    = lt_serialization_info
           exceptions
             wrong_function_called = 1
    others                = 2.

    Hello Megan,
    Check with the function modules
    EDI_DATA_INCOMING
    IDOC_WRITE_AND_START_INBOUND
    Program:
    RBDAPP01
    I guess this would answer your query.
    Regards,
    TP

  • Work items creating for GoodsMovement IDOCS

    Hi Friends,
    We have IDOC to File and File to IDOC scenario, we are able to post GRN files  into SAP successfully, but for some idocs , work items are creating  for some line items where there is error . After analysis we have come to know that there is some error in article or price is missing.
    what i would like to know is instead of creating idoc for some items success and some with work items ,can we restrict if there is error in any line item.
    for example:
    let us say if i have one  GRN file with 10 line items.when i post this File into SAP .. It post 7 items as success and for 3 items it creates workitems.
    1) Is there anyway i can restrict the entire idoc , instead of posting 7 items once and after re-processing 3 items in second one.?
    2) how to avoid creating work items?
    one more thing I have created a backgrounduser for PI while posting to SAP. Some articles are showing as article is locked by piuser.
    can anyone suggest how to overcome this..
    Regards,
    Suman

    Suman
    What is the Message type / IDOC type your are using? You should be able to create one single IDOC with multiple line items instead of one IDOC for each item, provided the header information for the material document is the same for all the line items. In most cases this is possible.
    Check your mapping in XI and see if you can club all the items in one single IDOC. Doing so will also prevent the material locked issue. But, point to note with this design is that you will be penalizing good records in your file just because one line item was in error.
    KK

  • Multiple message types for an idoc type

    Hi all,
    I created one custom idoc type with six segments. I heard that one idoc type can have any number of message types
    if it is so pls tell me how to assign these two message types for my idoc .
    i want to create multiple message types because i want to send same idoc type to diff legacy systems.
    My requirement is message type one is only for first three segments and message type two is for another three segments .
    The outbound program 1 for mess type 1 should fill fill the data for only first three segments and second outbound program corresponding to mess type 2 should fill the data for last three segments
    how should i design for my requirement. suppose if the idoc has two message types then it has two outbound programs?

    Hi Kunal,
    Below are my thoughts from a design perspective,
    My requirement is message type one is only for first three segments and message type two is for another three segments .
    The outbound program 1 for mess type 1 should fill fill the data for only first three segments and second outbound program corresponding to mess type 2 should fill the data for last three segments
    Before you look upon the no. of message types you need, i guess you need to look at the business requirement. Per your requirement you want to send send two sub sets of data. The first subset in the first 3 segments and other three segments for the second subset of data.
    Is the structure of the first subset of data similar to the second subset If not, better to create two IDOC Types. If they are similar, then create one IDOC Type with three segments and have two message types for each subset of data.
    For Ex: ORDERS05 is the IDOC type for Orders, this IDOC type provides capability to carry data related to any type of orders
    but the action on the data is facilitated by the message type like ORDERS for create, ORDCHG for change, ORDRSP for Order response etc.
    OR
    Are these two subsets of data related to each other, if yes understand the relation? If not related at all then you might be better of creating two separate IDOC Types.
    Like in the above example A purchase order is related to a sales order so you can use the same IDOC type, but in case of a order response and ASN that data sent is different and hence you will need different IDOC types (even though a SO is related to a DN).
    how should i design for my requirement. suppose if the idoc has two message types then it has two outbound programs?
    The above again depends on the how tightly/loosely coupled are the data sets, you can have just one program and have a simple case statement on the message types or have two different programs.
    You will also have to consider points like, if any of the subsets is more prone to more change in terms of the structure and associated business logic. If yes, then you might want to keep the programs separate to reduce work on regression testing etc.
    I am sure you will receive more inputs from the experts on the forum and the list of points to look for will get longer , so understand the requirement, dependencies and if you have any specific questions you could post it on the forum.
    Regards,
    Chen

  • Idoc posting error message

    Dear all,
    When I use the WPUK to generate an idoc for pos testing, the system pop up an error message as follow:
    No direct postings possible to G/L account 60000000
    Message no. M7059
    Diagnosis
    No direct postings can be made to the G/L account (because it is a reconciliation account).
    System Response
    The system cannot post the amount to this account.
    Procedure
    If the system has determined the G/L account, the system setting is faulty. Contact your systems administrator.
    If you have entered the G/L account manually, enter a different account or cancel the account entered, so that the system determines an account automatically.
    Do anyone know how to check and tackle this issue?
    Thanks
    Chris

    Hi Chris,
    They will be several reasons for Error message M7059. Pls check out following points;
    (a) Batch Classification (After the implementation of Note 120905)
    (b) Respective GL Code may required modification
    (c) Check your OBYC settings
    (d) After the implementation of Note 790483
    Bye,
    Muralidhara

  • Read IDOC Posting Status (Inbound ACC_ACT_ALLOC03)

    Greetings,
    I am working on XI and just developed a file-to-IDOC interface for cost allocation, they interface pushes 100s of ACC_ACT_ALLOC03 IDOCs into R3 and they get posted.
    What is the best way to report the posting status for those IDOC other than going to WE02 and checking each IDOC individually
    Many thanks.

    BD87 is still good way, but I am thinking of a program where I can give the basictype and the date and it will give me the number of success and failure with reason.

Maybe you are looking for

  • File size of corrected jpegs expands to half the size of the original

    Using a Canon 1Dx, I have an option of utilizing both slots and assigning different file types to each.  In one slot I shoot RAW, and on the 2nd slot I shoot a JPG backup.  Typically though I'll do all my work on the RAW file in Lightroom 5.  The uni

  • WRT54G2 - can no longer access router webpage after changing setting

    hello i've started gaming again so i ended up configuring a static IP using the network and sharing centre in the control panel and i'm online with the fixed IP, and i had some ports forwarded in my router web page and everything has been working gre

  • BEX 3.5 , enter to role, which authorization object?

    Hi all, I want to give user an authorization in BW 3.5 in BEX to enter a query into role, but i can not find authorization object that is used for this. Regards,

  • Edge 2014.1.1 Coordinated Preloading functionality is dead ?

    Hello, I used the versions of Edge prior to 2014.1.1 and i have see that the Coordinated Preloading functionality does not exist anymore. This is a problem, I need to create a pause between the preloading and the play of slide. Thanks

  • Ajax autocomplete bug

    Hi anyone knows about this bug? If u have autocomplete text in the table component and u set the disabled/readonly properties to some boolean value that will change upon user clicks edit button for particular row the autocomplete doesnt take in the n