Issues in posting payment advcie through idoc.

Hi  I am using PEXR2002 IDOC type for creating payment advice. for that i need the segment E1EDP02 to be repeated five times for different fields with diff qualifiers. it is giving me syntax error- this segment cannot be used more than 4 times. please help

As per IDOC documentation(WE60), E1EDP02 Segement is used upto 4 times only.You cant use more than 4 times.That is  the reason giving syntac eroor.

Similar Messages

  • Automatic Payment Process through IDOC and Receive Message Acknowledgement and BANST file format

    Hi Experts,
    We are implementing payment process to our client through Idoc.
    Normally the process will go like below. Once Payment Initiated --> IDoc will generate --> This Idoc process through PI system and send to Bank.--> Once payment data received bank --> it will generate acknowledgement receipt and Bansta file and send it PI system --> This PI system system again send it --> SAP system. Here I want to know the required configuration from PI system to SAP system while receiving acknowledgement and Bansta file. And let me know if u guys have steps...
    Thanks,
    Raviram

    Hi,
    >is possible using the fileadapter to read this file and with pass it throug PI to IDOC receiver adapter without any mapping?
    yes
    >In that case what should the Message Type we are using in the file-sender adapter look like?
    If you have no mapping it doesnt matter, the message type will not be validated during runtime. You can take the IDoc type imported from the SAP system
    Regards,
    Udo

  • Dates fields issue in the sales orders through IDOC

    Hi all,
    I'm trying to create a sales order through Inbound IDOC using IDOC_INPUT_ORDERS.
    I have 2 custom fields in the sales order which are date fields.
    I'm populating them from the IDOC segments(using E1EDKT1-tdid, E1EDKT2-tdline) in the user-exit just before the call trasacation statement. These dates are not coming for a few orders... but are getting populated normally for few of them.
    But the tricky part is that... if I process the same IDOC for the second time.. the order created is having the dates.
    My issue is that.. i need all the orders to be populated with the dates which IDOC have.
    Could anyone please help me with this issue.
    All the answers/replies are highly appreciated!!
    Thanks for you help!

    hi,
    the following may be of help
    There are 2 major exceptions to the batch input internal table. All text data from the segments E1EDKT1/2 and E1EDPT1/2 are not part of the batch input session. Text elements from these segments are posted directly to the data base AFTER the sales order has been created (please note: in order that item texts are posted correctly to the sales order the field POSEX from segment E1EDP01 MUST be transmitted). Also, configurable material information from the IDOC is exported to a global memory and therefore will not be part of the batch input session. Configurable material data is performed in Form CHECK_CONFIGURATION and the data is exported to global memory in the following code:
    Exportiert IDOC Daten ins globale Memory     
    export IDOC data to global memory            
      call function 'CUXC_IDOC_TO_MEMORY'          
           tables                                  
                cfg_instref = xe1curef             
                cfg_ref     = xe1cucfg             
                inst        = xe1cuins             
                part_of     = xe1cuprt             
                value       = xe1cuval             
           exceptions                              
                error       = 1                    
                others      = 2.                   
    One extra piece of useful infomartion if you wish to debug the process is to set your breakpoints at the following points
    for Function module IDOC_INPUT_ORDERS
    include LVEDAF0F..
      CALL TRANSACTION 'VA01' USING bdcdata
                                MODE  input_method
                                UPDATE 'S'
                                MESSAGES INTO xbdcmsgcoll.
    Now input_method is A foreground process and N for background processing but try changing it to P (pass through mode)
    If you have breakpoints in va01, e.g. MV45AF0B_BELEG_SICHERN,(the part where the sales document is saved)
    they will be hit, e.g
    perform userexit_save_document_prepare.
    perform userexit_save_document.
    Lastly, don't forget using program SDJEDI , see note 380603 for more information on this
    Hope this is useful
    Paul Quinn

  • How to pass item payment term through Idoc segment E1EDP18

    We use ORDERS idoc to create sales orders and our customers want to replace the default payment term at item level. I found segment E1EDP18 for this purpose but I don't exactly know how to use it, like where to put the payment term key. Can any one expain with the help of a clear  example how to indicate the payment term there ?
    Below is a exerpt of the incoming idoc file I used for testing. In this test I put the paymentt term 0010 in but the information sent in idoc segment is just ignored.
    E1EDP01                     10         625.00
        E1EDP05                        ZD64
        E1EDP05                        ZD66
        E1EDP19                     00269020000
        E1EDP18                     0020010
    Many thanks

    Hi,
             SAP program IDOC_INPUT_ORDERS is not using the item level payment terms sent in IDOC segment P18 to fill the sales order so you need user exit to do this. The program is moving the item level information to an internal table xe1edp18 when the data is parsed from IDOC so you can use this to populate the screen information in the user exit 'CALL CUSTOMER-FUNCTION '002' (IDOC_INPUT_ORDERS).
    Let me explain the process from EDI to SAP.
    1) EDI 850 will have ITD segment at item level (Example ITD013  *2     *        *10 *        *30 *          *        *) you can ask your EDI team to map them to P18 segment as it has the number of days and also the percentage for cash discount. P18 has 3 qualifiers so you can map 3 different temrs (For example the above sample is 1 Term is 2% in 10 days and Term 2 is net 30 days)
    2) During IDOC parsing the program is already filling internal table xe1edp18.
    3) In the user exit CUSTOMER-FUNCTION '002' you need to search for the SAP payment terms with the number of days and percentage (This is available in the table T052). Once you find the SAP terms key, you need to populate it for each item. You need to do this after the program filled the item billing data.
    Dynpro item business data billin details -
        PERFORM VA01_DYNPRO_POSITION_PDE3 USING XVBAP-POSNR.
    *-Zusätzliche Daten für Dynpros vorsehen (Kundenerweiterungen)----
    *-additional data's for new dynpro fields (customer exit)----
        SY-SUBRC = 0.
        PERFORM CUSTOMER_FUNCTION_DYNPRO.  -- THis is the user exit call
    Hope this is useful.
    Ram

  • Posting COPA fields through IDOC

    Hi
    I am using IDOC FIDCCP02 (Basic Type) to post FI Documents to SAP from external legacy system.
    We need to add couple of COPA fields to this INBOUND interface(related to profitability analysis).
    Can I extend the IDOC FIDCCP02 to include COPA fields? If yes, what is the exit/badi?
    If FIDCCP02 is not the suitable one then which one to go for? Any documentation in this topic?
    Thanks in advance
    Rupa Bhowmick

    You need to extend your idoc type.
    Here are exits available for <b>IDOC_INPUT_FIDCC1</b> function module
    EXIT_SAPLF050_001
    EXIT_SAPLF050_002
    EXIT_SAPLF050_003
    EXIT_SAPLF050_004
    EXIT_SAPLF050_006
    EXIT_SAPLF050_007
    EXIT_SAPLF050_008
    EXIT_SAPLF050_009
    EXIT_SAPLF050_010
    EXIT_SAPLF050_011
    Regds
    Manohar

  • Intercompany Posting through IDOC, GL assignment for tax code.....

    Dear Experts,
    I am facing a problem while posting Intercompany invoice through IDOC (intercompany invoice i.e. purchase invoice against the billing document).
    the billing document, my accounting entry get generated correctly as per the below:
    Posting key     Account     Description                         Amount     Text
    01     C6000     Intercompany IFTSPL     734.36     Intercompany Customer
    40     303001     Comm Exp-Activation     15.75     Commission
    50     149000     Card Liability     750.00-     GL Account
    40     263910     ST Input - Basic     1.58     ST Input - Basic
    40     263920     ST Input - Ecess     0.03     ST Input - Ecess
    40     263930     ST Input - SHECess     0.02     ST Input - SHECess
    50     145530     TDS - 194H Comm     1.74-     TDS
    Commission in involved in the above due to which TDS is applicable & all the data is fetched from the pricing procedure.
    but while posting intercompany invoice, the accounting entry(line items, calculations)are getting generated correctly but the posting is done to a wrong GL, it should post to the same GL as per the billing documents.
    wrong entry is as per below: please see the "Account" which is common for
    Posting key     Account     Description                          Amount     Text
    40     300001     ItzCash Card (GL)     750,00     GL Account
    50     303011     Comm Inc-Activation     15,75-     Commission
    50     303011     Comm Inc-Activation     1,58-     Service Tax
    50     303011     Comm Inc-Activation     0,03-     Service Tax Ed Cess
    50     303011     Comm Inc-Activation     0,02-     Service Tax H Ed Ce
    40     300001     ItzCash Card (GL)     1,74     TDS %
    31     C2000     ITZ Company     734,36-     Vendor
    So please let me know where i can assign my Tax GL so that system can fetch that data for posting.
    Thanks in advance.....

    Hi,
    You have to change in the Dev. and send as a export to the QA and then it's been transferred to PRD.
    Hope this helps.
    Please assign points as a way to say thanks.
    Harish

  • Vendor invoice posting through IDOC - Cost center determination (OBCC)

    Dear experts
    As per SAP Notes 31126 and 137686 I have maintain all configuration settings for "Automatic posting of vendor invoice from Billing" in different company codes.
    It is working perfectly the way we need,
    we need help in Transaction Code "OBCC - Assign Additonal Accounts Assignments for EDI Procedure" here system asks for "Account Assignment ID" for determination of cost center for invoice flowing through IDOC.
    I would like to know, what values I can give here so that system will determine the relvant cost center in KR document posted in FI.
    SAP Note says minimum entry here as " * "
    At present system is determining only one cost center for all services mapped.
    Thanks advance for the help.
    Best regards
    S. Habib Pasha.

    Hi all
    request your help on above issue.
    reg
    S HABIB PASHA

  • Vendor Invoice posting through IDOC's

    Hi All,
    I had a requirement of Posting Vendor Invoices from a third party to R/3 through IDOC's. I want to know how can this be possible like what is the procedure to be followed? Any Inputs will be rewarded
    Regards
    Srikanth

    Hi Gurus,
    I have some documents which are not getting cleared and showing the followig error message Posting Only Possible With Zero Balance: corret your document
    even if the debit and credit are balancing
    I have checked the document it has value in Hard currecny( Local Currency 3) But the hard currency is deactivated in the Year 2007 only. so we are unable to clear the Openitems.
    Can you please help to resolve the issue
    Thanks In advance
    Anand.Kandarpa

  • Posting docs with Columbia withholding taxes through IDocs

    I am trying to set up a test for accounting documents having Columbia withholding taxes.  These docs will  post through IDocs with message type ACC_BILLING.  We have a user exit where we populate some ACCIT fields and I would like to see if we can send in this type of tax line item with the appropriate amount base, tax code and tax type and have SAP do the calculation.  In the structure ACCIT I see field QSSKZ with short text Withholding Tax Code but I don't see anything for the withholding tax type.  As I understand these taxes, both the tax code and tax type are required.  I'm looking for any information that would help us post these tax line items in a manner that would allow SAP to do the calculations.

    Thanks Rob, I'll give these fields a look. 
    This issue has been on the back burner but will soon start to heat up.  If I'm still involved, I plan to build a test function module to be called from the user exit in the IDoc.  From there I'll try working the ACCIT fields and looking at the results.  Will let you know how it goes.
    Dennis

  • Posting down payment document through F-48 without down payment request

    Dear All:
    I am facing a serious control issue in vendor down payment. SAP transcation code F-48 (vendor down payment) can post a payment document without even any Down Payment Request.
    Is there some configuration / notes missing in my SAP system?? If this is standard then how come one can post payment wihout having any invoice?
    Regards,
    Shabbir

    Thank you all for your replies.
    I got the process flow, however, how can I put restriction on F-48 so that the user CANNOT execute the transaction without payment request? Is it possible? Just like F-58, F-53, where open items are mandatory.
    My user has executed F-48 and after completed the processing send the check to the vendor but the down payment request created by Accounts Payable guy, remained there. Thats why I am asking this question.
    Regards,
    Shabbir

  • IDOC Output for Payment Run through F110

    Gurus,
    I am trying to generate IDOCS for the payment run through F110 transaction. I have setup the following but still unable to generate the IDOCS.
    - Bank partner setup with IDOC PEXR2001 and message PAYEXT.
    - House bank configuration.
    Can anyone help me with the complete set of instructions to generate the idocs?
    Thanks in advance,
    Rishi

    Hi
    Have you done House Bank Configurations (FI12) and APP settings (FBZP)
    Are you using workflow concepts in this Scenario.
    Please check these 2 settings may be problem with these settings.
    Thanks
    Chandra

  • Down Payment made through Post dated Cheque

    Dear Experts,
                          I am facing a scenario where my client want to post down payment but through Postdated cheque,
    I already configured Posted dated cheque procedure which will use spl gl indicator "G" and the posting will be done in f-40, but it will only process open item and not the down payment (means if the invoice is alread posted).
    Now can any one explain me how to process a down payment with Post dated cheque.
    Regards,

    Dear SAP TACTICS,
    In my opinon You should do the following:
    1. fb60
    2. f-40
    3. f-54
    1     31          100214     VENDOR                          1.000,00-     EUR
    2     40          444444     Consumptn, raw mat.1     1.000,00     EUR
    1     29     A     100214     VENDOR     PDC            1.000,00     EUR
    2     50          113100     Dte Bank (domestic)     1.000,00-     EUR
    1     39     A     100214     VENDOR PDC     1.000,00-     EUR
    2     26          100214     VENDOR             1.000,00     EUR
    I hope this helps You.
    Mauri

  • Posting goods issue using Message type SHPCON and idoc type DELVRY03

    Hi SAP Gurus,
    I am using message type SHPCON and idoc type DELVRY01 with processing code DELV to post goods issue for a delivery note.
    I tried to simulate the inbound entry via WE19. The scenario should be posting goods issue based on the delivery order.
    In some cases, quantity issued is less than the quantity in the DO. For this, I need to change the delv quantity in the DO via VL02N before I select Post goods issue button. This will change at the same time post the goods issue.
    What I have filled up are the fields:
    E1EDL20-VBELN = DO num
    E1EDL20-VSTEL = Plant
    E1EDL18-QUALF = "PGI"
    E1EDTH13-QUALF = "006"
    E1EDTH13-NTANF = date today
    E1EDL24-POSNR = 000010
    E1EDL24-MATNR = material num
    E1EDL24-WERKS = delv plant
    E1EDL24-LGORT = sloc
    E1EDL24-LFIMG = updated quantity
    But everytime I simulate using WE19, the entire quantity in the DO is not changed at all. The goods issue quantity posted is still the original DO quantity.
    May I know how to do this? Thanks.

    Put value in E1EDL24-LGMNG for qty to pgi.

  • IDOC for F-53 Posting Payment Document ?

    Dear All,
    Please advise which IDOC i can use for Posting Payment Document ? I have scenario to send the IDOC payment document to others SAP system.
    Thank You and Best Regards
    Fernand

    I guess you can use the same messagetype for outgoing payments:
    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.
    data: g_e1bpacar09 like e1bpacar09.
    data: g_e1bpaccr09 like e1bpaccr09.
    data: g_e1bpacgl09 like e1bpacgl09.
    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 = 'FILE_PORT'.      "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 -*
    *-------E1BPACHE09 (HEADER)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACHE09'.
    g_edidd-segnum = 1.
    clear g_e1bpache09.
    g_e1bpache09-bus_act    = 'RFBU'.
    g_e1bpache09-doc_date   = sy-datum.
    g_e1bpache09-doc_type   = 'DZ'.
    g_e1bpache09-comp_code  = 'BP01'.
    g_e1bpache09-pstng_date = sy-datum.
    g_e1bpache09-username   = sy-uname.
    g_e1bpache09-ref_doc_no = '0090000025'.
    move g_e1bpache09 to g_edidd-sdata.
    append g_edidd.
    *-------E1BPACGL09 (ACCOUNT GL) (Debit) (Factoring Partner)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACGL09'.
    g_edidd-segnum = 2.
    clear g_e1bpacgl09.
    g_e1bpacgl09-itemno_acc = 0000000002.
    g_e1bpacgl09-gl_account = '0000157000'.
    g_e1bpacgl09-customer   = 'C6130'.
    g_e1bpacgl09-acct_type  = 'S'.
    g_e1bpacgl09-comp_code  = 'BP01'.
    *g_e1bpacgl09-costcenter = '0000001602'.
    move g_e1bpacgl09 to g_edidd-sdata.
    append g_edidd.
    *-------E1BPACAR09 (ACCOUNT RECIEVABLE) (Credit) (Customer)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACAR09'.
    g_edidd-segnum = 3.
    clear g_e1bpacar09.
    g_e1bpacar09-itemno_acc = 0000000001.
    g_e1bpacar09-customer  = 'C6110'.
    g_e1bpacar09-comp_code  = 'BP01'.
    g_e1bpacar09-alloc_nmbr = '0090000025'. "BSEG-ZUONR ?
    move g_e1bpacar09 to g_edidd-sdata.
    append g_edidd.
    *-------E1BPACCR09 (CURRENCY AMOUNT)
    clear g_edidd.
    g_edidd-segnam = 'E1BPACCR09'.
    g_edidd-segnum = 4.
    clear g_e1bpaccr09.
    g_e1bpaccr09-itemno_acc = 0000000001.
    g_e1bpaccr09-curr_type  = '00'.
    g_e1bpaccr09-currency   = 'NOK'.
    g_e1bpaccr09-amt_doccur = -111.
    move g_e1bpaccr09 to g_edidd-sdata.
    append g_edidd.
    g_e1bpaccr09-itemno_acc = 0000000002.
    g_e1bpaccr09-curr_type  = '00'.
    g_e1bpaccr09-currency   = 'NOK'.
    g_e1bpaccr09-amt_doccur = 111.
    move g_e1bpaccr09 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: / 'Goto transaction F.13'.
    Edited by: Erik Hoven on Feb 24, 2009 12:55 PM

  • Automatic intercompany posting through IDOC in China / RMB -- CNY

    Hello,
    we want to use automatic intercompany posting in our chinese company codes.
    Problem: Sending company code post invoice in RMB   --> IDOC changes RMB to CNY --> posting in receiving CoCd is CNY
    I know that the change is coming from the settings in TCURC-ISOCD  (SAP standard setting for ISOCD in currency RMB is CNY).
    Question is now what are the consequences if I change the settings so RMB will not be converted anymore. Is there any impact in international EDI processes.
    I would appreciate any comments !
    Many thanks in advance.
    Best regards
    dirk schneider

    i think, you can change it without facing any problems. i tried in a sandbox, no error-messages, no pop-ups stating that i am about to destroy consistency. nothing. i think the only dangerous place to interfere with currency is the standard currency of the client in transaction SCC4.

Maybe you are looking for

  • Confused about import and workflow using existing filing system

    Ok folks, I purchased Lightroom last week and I am still staring at an empty Library module. I have thousands of images but I seem to have been overcome by a case of anxiety/paralysis. Why, you ask? I can't determine an import strategy; here's why. I

  • Reproducible Safari crash

    I found this reproducible crash in Safari  5.1.1 (7534.51.22) on 10.7.2: 1) search history from top sites 2) hover over any of the results 3) press cmd-w to close the search window 4) safari crashes If someone else has this problem, please confirm be

  • Unable to cancel pre-orders...

    I have been trying for the last week to cancel a few PS4 games I pre-ordered.  I keep getting a "system unavailable, try again later" message, I would think if there was an error in the system it would be fixed after a full week but I still continue

  • Site studio publishing utility

    HI! I have a site developed in sitestudio and I want to make an offline version of it using sspu...thing is the site has, besides its default look, another one which is accessible if i put in the url some specific parameter. I want sspu to get me thi

  • Error Message 1321 during adobe reader XI installation

    While trying to download free version of adobe reader XI, I get installation error 1321.  How do I fix this?