Inbound IDOC for Invoice failing at segment-E1EDK28- Incorrect BankAccNumbe

Hi SDNers,
We have  EDI - Invoice/Invoice Processing.
Inbound Idoc failing  at segment E1EDk28.
This is because  in segment E1EDK28 ,
1. The field ACNUM has the value for Bank Account Number as N111111A.
2. This is incorrect.
3. This field should have had the value for account number as 0000N111111A.
4. But for some reason the pre-zerou2019s are removed .
5. When we check the process code IDOC_INPUT_INVOIC_FI, and  IDOC_INPUT_INVOIC_MM, and the table LFBK the value is     saved as 0000N111111A.
But why in IDOC it is getting seen as N111111A?
Please guide as to where i need to look for the solution or fix.
Where should i look for the fix for this issue.
Regards,
SuryaD.
Edited by: SuryaD on Nov 24, 2009 7:01 PM
Edited by: SuryaD on Nov 25, 2009 9:21 AM

Hi Navitha,
Thanks for your response.
I had checked the exits to see if the field ACNUM is changed anywhere while debugging.
It wasn't getting changed anywhere.
In fact the user and the ticket creator had the assumption that the Vendor Bank Account number (in case of the Inter company billing) is maintained in vendor master (XK03) or LFBK or KNBK.
the y thought IDOC is picking the ACNUM from one of the above three place.
They were checking the Bank account number from the above 3 places  and since here it was maintained as 0000N111111A while in IDOC it was showing as N1111111A they had all this confusion.
In fact the IDOC segment E1EDK28 picks the ACNUM from SPRO->Financial Accounting-> Banking->home bank.
Here we checked and found that the Bank Account Number was maintained as N1111111A and we changed it to 0000N1111111A and the IDOc segment E1EDK28 picked it correctly.
Issue got resolved.
Thanks for your input.
Regards,
SuryaD.
Edited by: SuryaD on Nov 25, 2009 10:29 PM

Similar Messages

  • Exit for Inbound IDOC for Invoice

    Hello friends,
    I recevie a IDOC and the Invoice is created with the data in the IDOC.
    The invoice is created at the
    FM - IDOC_INPUT_INVOIC_MRM
    and within the FM - MRM_INVOICE_CREATE.
    The document # is e_belnr.
    My requirement is to Save the IDOC_DATA as  Image and I have Developed a FM to create a Image from this IDOC data. However I am looking for an USER EXIT  where I could capture the document Number and do it further.
    ANy Suggestions.
    Ster

    Hi you may want to check the  enhancements  RMVKON00  &  MM08R002.

  • Inbound iDoc for POS message WPUUMS problem

    Hello all,
    I encountered a strange thing with the inbound idoc for POS with the message WPUUMS.
    I've created a new segment with we30 as an extension to the WPUUMS01 like this.
    WPUUMS01
    --E1WPU01
    E1WPU02
    ZNRLOT "this is my added segment
    E1WPU03
    E1WPU04
    E1WPU05
    E1WXX01
    The idocs (external xml files) enter correctly in SAP, when I view them with WE02 al the segments are correctly populated with the right data and they are ready for processing with status 64.
    After processing (with the program RBDAPP01 or with WE19 etc. doesn't matter, both uses IDOC_INPUT_POS_SALES_ACCOUNT ) comes the problem:
    The Material Document and Billing Document (Invoice) ARE GENERATED WITH ONLY THE FIRST ITEM. I mean that the iDoc has more items(materials) and should generate the material document and billing document with all the items, not just with the first one.
    As a conclusion:
    1. iDoc is loaded correctly in SAP with all the data in the segments, also in the new segment, and of course has more items.
    2. the problem is that after after processing, the generated document material and billing document have only 1 position, the first item from the iDoc.
    Any help in fixing this issue will be welcomed.
    Traian Mustata
    SAP ABAP Consultant

    check for the qualifier QUALARTNR. Is it filled accordingly in the z segment? U may also check by debugin the f/n module in we19

  • Creation of Inbound Idoc for the Outbound Idoc in same client

    Hi,
    My requirement:
    Whenver an PO is created an Outbound IDOC is generated in system ABC with client 100.I want to pass this IDOC data to create an Inbound Idoc for Sales Order(SO) in the same client.
    It would be helpful if anyone can answer on how to Transfer the Outbound Idoc after it crosses the port.
    I found there is a field for function module in WE21,can this be used to get the requirement done.
    Please suggest.
    Regards,
    Amar

    Example of a program that create and post an inbound idoc....maybe that will help you:
    report  zzinbound_idoc.
    data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
    data: g_edidd like edi_dd40 occurs 0 with header line.
    data: g_e1bpache09 like e1bpache09.
    parameter: mode type c default 'A'.
    refresh: g_idoc_control_record, g_edidd.
    clear:   g_idoc_control_record, g_edidd.
    *-Build Control Record -*
    g_idoc_control_record-mestyp  = 'ACC_DOCUMENT'.   "Message type
    g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
    g_idoc_control_record-direct  = '2'.              "Direction
    * Receiver
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-rcvpor = 'SAPDE2'.     "Port
        g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-rcvprt = 'LS'.             "Partner type
    g_idoc_control_record-rcvpfc = ''.               "Partner function
    * Sender
    g_idoc_control_record-sndpor = 'A000000002'.      "tRFC Port
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-sndprt = 'LS'.             "Partner type
    g_idoc_control_record-sndpfc = ''.               "Partner function
    g_idoc_control_record-refmes = 'Customer clearing'.
    append g_idoc_control_record.
    *-Build Idoc Segments -*
    *---E1KOMG
    clear g_edidd.
    clear g_e1bpache09.
    g_edidd-segnam               = 'E1BPACHE09'.
    g_edidd-segnum               = 1.
    move g_e1bpache09 to g_edidd-sdata.
    append g_edidd.
    *-Create idoc -*
    *-Syncronous
    if mode = 'S'.
      call function 'IDOC_INBOUND_SINGLE'
        exporting
          pi_idoc_control_rec_40              = g_idoc_control_record
    *     PI_DO_COMMIT                        = 'X'
    *   IMPORTING
    *     PE_IDOC_NUMBER                      =
    *     PE_ERROR_PRIOR_TO_APPLICATION       =
        tables
          pt_idoc_data_records_40             = g_edidd
        exceptions
          idoc_not_saved                      = 1
          others                              = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *-Asynchronus
    else.
      call function 'IDOC_INBOUND_ASYNCHRONOUS'
        in background task as separate unit
        tables
          idoc_control_rec_40 = g_idoc_control_record
          idoc_data_rec_40    = g_edidd.
      commit work.
    endif.
    write: / 'Well done!'.

  • What is the standard inbound idoc for substation management?

    Hello Experts,
    Can anybody help me to find out the standard inbound idoc for substation management?
    The following field are requied to be  filled in idoc.
    1)Power_Produced(STAGR)
    2) Reduction_Power_Consumed(STAGR)
    3)Ancillary_Power_Consumed (STAGR)
    4)Unit (MEINB)
    5) UOM and Date (BUDAT)
    If possible please tell me the standard BAPI for these fileds.
    Thanks in advance for your help.
    Thanks and Regards,
    Suresh.

    Hi Debo,
    What is your exact requirement?
    Are you trying to find the standard configurations available for a webdynpro application? then, use t-code SE15 and open the application name and use the tree structure to find out the available configurations under WD application.
    sample:
    Regards,
    Rama

  • IDOC for Invoice/Billing document

    Hi Experts,
    Some of our customers want us to send electronic but no paper invoice to them in the coming week.
    I've investigated the process, steps are:
    1. Do some configs for message type of billing document
    2. Create KU partner profile and set outbound parameters, include Port / Basic type / Message type / Process code.
    If you have experience about this (IDOC for Invoice/Billing document) ? please kindly share the detail for me.
    Thanks in advance.
    Regards
    Sam

    Hi,
    Please check [https://supplier.intel.com/static/ap/forms/imp_gid2.doc|https://supplier.intel.com/static/ap/forms/imp_gid2.doc] this.
    This might help you.
    Thanks,
    Abhijit

  • Inbound IDoc for WBS data

    Hi,
    WBS Master Data is stored on an external system (called PRISM).
    I need an Inbound IDoc for update in SAP of WBS data sent by external system.
    Thank you in advance.
    Kieron Kelly

    Hi,
    Please check the IDOC type :  if that doesnt suffice, go with a custom IDOC.
    /ISDFPS/PS01
    BUS2054001 is a business object that has many BAPI's for processing the WBS data. Check the method and click on ABAP tab for the BAPI/FM names.
    Regards
    Shiva

  • IS Retail:Report/Document generation for inbound IDOC for Cashier Statistic

    Hi Friends,
    I have generated an inbound IDOC for Cashier Statistics with transaction WPUK in IS retail.
    The IDOC is generated successfully which I can view in POS interface monitor with transaction WPER.
    But i dont see any corresponding report or document generated for this successfully posted IDOC.
    Is there a functionality in IS retail to generate report/document for successfully posted IDOC for cashier statistics?
    Request you valuable inputs on this please.
    Regards,
    Debraj

    Hi John,
    Thanks for your inputs.
    Could you please let me know how do i activate infostructure S122 to see reports related to cashier statistics after successful posting of IDOC?
    Regards,
    Debraj

  • Which kind of IDOC for invoice posting ?

    I have a requirement where I have to look at the incoming IDOCS send by vendors through EDI. Now if the IDOC posting fails to create invoice, I have to create a custom report for all the failed invoices posting (status 03).
    My question is when the vendor will send invoices via EDI IDOCS, will that be INVOIC01 or INVOIC02. Because I will be reading segment data of these invoices to create the report.
    Also, can someone guide me through as how to create data for incoming INVOICES IDOCS for testing purpose ?
    Regards,
    Rajesh.

    Solved myself

  • Inbound idoc for updating delivery date of purchase order

    Hi All,
    Our vendor sends a delivery file consisting of delivery date and quantity(could be partial) for line items of a purchase order.
    I need to update the Purchase order line item with the delivery date and quantity sent from the Vendor. It should add a new confirmation line with custom confirmation category in the confirmation tab of the line item in the Purchase order.
    Each time we get a delivery file we need to add a new confirmation line in the confirmation tab of the purchase order line item.
    How can I get this working using inbound idoc processing? Which Idoc type should I use to solve my issue. Will ORDERSP work for my scenario?
    Thank you,
    Sonali.

    >
    sonali ashi wrote:
    > We have all EDI set up done for ORDERSP idoc in our system. Problem when I use this idoc type by default system is always adding confirmation catgeory 'AB' but we want our custom  category to be added instead of 'AB'.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Confirmation category used for order acknowledgement is define in configuation. You can change that from AB to your custom condition and EDI should pickup that.
    SPRO->Material Management->Purchasing->Confirmation->Define Internal Confirmation Category
    >
    sonali ashi wrote:
    > I have also noticed that 'AB' confirmation accepts only full quantity order acknowledgement through Idoc processing.
    > Manually I can add a "AB" confirmation for partial quantity but in the idoc processing it fails.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Check tolerance limit defined for confirmation category in 'Conformation Control' Node in SPRO at same level as above.
    Regards,
    Pawan.

  • Inbound idoc for orders05 to create sales order

    Hi all,
    I am creating a sales order through idoc (ORDERS05). I am getting a flat file, which is being converted into idoc from XI side and i need to add certain things and validate inside the function module IDOC_INPUT_OREDERS. I am using the exit call customer function '002' (EXIT_SAPLVEDA_002)  in it.
    My confusion is regarding the population of control records. If some validation fails, i need to set current status as 51. Which field i need to update in this exit in order to achieve this. What are the other control fields that i need to update for an inbound idoc please specify.
    Also, i have another doubt, what is the use of DXBDCDATA in that exit. Do i need to do any BDC related work in inbound idocs.
    I am new to inbound idoc scenario. But havn't found enough tutorial related to standard idoc generation..
    thanks

    Hi,
    I think, you should fill the validation errors in EXIT_SAPLVEDA_011 (SD EDI Incoming Orders: Final Processing of Internal Error Tables) which subsequently update the status records of IDOC.  Check line NO 56 of function module "IDOC_INPUT_ORDERS".
    Regards
    Vinod

  • Inbound Idoc for own Message type

    Dear All,
    I have created a message type for outbound and sent data to the Java System.But when distributing in BD64 inbound parameters are not getting created.
    For inbound idoc if i am creating a new message type,How i can get data from external server and commit it in database.
    We have to write any program as we do for outbound?
    Another issue outbound idoc is in waiting status i have to process it in BD87.How i can sent it immediately and in partner profile, distributing in module view BD64 i have given Transfer IDoc Immediately.
    PLZ reply ASAP.
    Thanks & Regards,
    Arun.

    Dear rhea,
    I want to receive the IDOC data for message type WPUUMS from a java server. Currently i am working on sample values for segments
    E1WPU01
    E1WPU02
    E1WPU03
    E1WPU04
    E1WPU05
    E1WXX01
    I am facing problems in passing the correct values .
    Its throwing a error message status 51.(Application document not posted) IDoc not fully processed.
    can you help me with some dummy data for all the fields in the above segments.
    reply ASAP
    regards
    arun

  • Triggering inbound idoc for FI T.Code F-02

    Hi,
    Anybody has triggered idoc for posting key 40 & 50 for F-02 T.Code in ECC 6.0, plz share their experience & triggering inbound idocs.
    rgds,
    balu

    closed

  • Inbound IDOC for sales orders not posting the configuration data

    Hi all,
    I am facing a problem in posting the inbound IDOC (message type ORDERS). The configuration data maintained in the parent segment E1CUCFG and in the segment E1CUVAL is not getting posted though i am passing the data in these segments which is 100% correct.
    Can any one solve this problem

    Hi Ravi,
    Please check the two segments are active. You can do that in BD53.
    In BD53 enter message type, and make the segments active.
    If segments are active, it appears in white colour.
    After this post the IDoc and check with segments.
    If its useful, award points pls..
    Regards,
    Bharadwaj

  • Inbound Idoc for material document cancellation

    Hello,
    Could you update me whether there is any Inbound Idoc type available for material document cancellation (like t.code MBST).  I found message type MGBMCR, but it's only allowing me to create the material document like GRs but not cancellations.
    /Mallik

    To my knowledge, there is no such IDoc. Cancellation is an exceptional situation and should be treated as such. If one needs an IDoc interface for cancellations, I'd have to say there is something very wrong with the business process.

Maybe you are looking for

  • Bad motherboard - Good Hard drive - data recovery

    thinking I should ESATA cable to hard drive and USB -- to look inside hard drive. But I don't know the path to the photos folder.  Like to maintain as much info about the pictures as possible - so I can import to new computer Aperature. WIll that wor

  • Macbook Pro can open files from Touro ext. hard drive but can't save to it. Solutions without data loss?

    Hello, I've looked around for a solution to my problem but I haven't found any specific solutions and I'm not comfortable in trying general ones for fear of loosing my data. Before moving I backed up all my document and music files from my PC to my T

  • MC+Q Report Update

    Dear all, Please tell me how to update MC+Q report so that i can get all updated data for sale of material analysis. Thanks & Regards Amit Karalkar

  • Java Printing in web application

    hi All, Hi All, we are developing a web application using struts,in one of the page the leave reports of the employee is displayed , the client requirement is the client should be able to print the displayed document, using javascript i can print the

  • Insert record in INFOTYPE

    I have not worked wiith infotypes...Please guide me... I have created Employee infotype with number 9035. I added that structure in the standard infotype table PA9035 (HR Master Record: Infotype 9035) in that standard infotype some other SAP includes