Outbound Idoc after created Invoice document

Hi All,
May i know how to create outbound idoc after invoice document created.
Because i just found out some solution for inbound idoc.
Regards,
Luke

You need to set up the Output type using the NACE tcode and this output type should be configured to trigger the IDOC. Check the below link.
http://www.erpgenie.com/sapedi/messagecontrol.htm
This output type can be linked with the IDOC type in WE20 tcode.
~Srini
Edited by: VaasPal on Dec 22, 2011 8:13 AM

Similar Messages

  • Is it possible to generate outbound idocs for FI invoices? How?

    Is it possible to generate Outbound idocs for FI invoices? How? or else i have to write program to get data in file and pass it to translator. Please help.

    Dear Gabriel
    Before letting you know the possibility, can you please let me know why you want such a requirement, since standard has not provided such copy control, to my knowledge.
    As you would know order type KB is for consignment fillup where you are just transferring the goods from FG unrestricted to your own warehouse and that is why in standard you can see the copy control KB --> F8 which means you can raise proforma against delivery and not against fillup order.
    So think of whether really you wanted to raise proforma against fillup order which is NOT recommended by SAP.  However, still if you feel that the requirement is so to have, you can make the settings in VTFA.
    thanks
    G. Lakshmipathi

  • Relating outbound idoc to inbound idoc to create a document

    We have a requirement to relate the outbound idoc to inbound idoc , transfer the data and create a document.
    Kindly let me know the tcode / configuration steps of how can we relate the idocs.
    Thanks,
    Nalini S.

    Hi Juan,
    Check the IDOC: WMATGRP01. Hope it will be helpful for you.
    BR,
    Lokeswari.

  • Help required on OutBound IDoc for FI Invoices

    Hi All,
    I had a requirement to create a custom idoc for FI invoices via a user exit and these idocs will be routed (via RFC) to a JAVA server/processor. Pls suggest how can i acheive this.
    Is there any user exit for acheiveing this or can we proceed further without user exit also.
    If so how to acheive this.
    Thanks & Regards,
    Anil.

    One option that immediately pops up is
    Using Output Types: like for example transaction V/40
    Application: V3 Billing
    You can define a unique output type : ZINV
    Transmission Medium : 6
    Processing Routine
    Program:         RSNASTED
    Form Routine:    EDI_PROCESSING
    You can then use WE20, and define a unique customer / and map message control (ZINV) information in outbound parameters.

  • How to change Ship to party no. in delivery doc. after creating Invoice

    Hi,
        Sold to party ( customer code ) 1001473
    But by mistake bill was raised ship to party ( customer code ) 1001082 then I changed the ship to party code ( through VA02 )and saved the documents, but still in the invoice it is showing  ship to party address only instead of sold to party.  If any thing possible in the delivery level ( vl02n ) to change the ship to party so that it will possible to change the invoice it self. Kindly confirm so that I will reverse the entry and change the ship to party code in vl02n and I hope it will not any reflect in the  invoice.
    Regards
    Jibanjyoti

    Hi,
    First reverse the invoice(Cancel)
    Then change partner functions
    go to SE16N and  Change table entries
    if you want to change in SALES ORDER,then put table VBAK,VBAP
    if you want to change in delivery,then put table LIKP, LIPS 
    After chages
    create invoice again
    Note : As I am not tested this due to system unavailability, but as far as my undersatnding it will work
    kapil

  • How to generate an outbound IDOC for customer Invoice

    Hi
    I want to configure that if I create a invoice using TCODE FB70 it should automatically create a outbound IDOC ACC_BILLING( for customer).How I can achieve this. Can any one give me complete step by step help.
    thanks in advance.
    karunb

    You should be able to use it using 'change pointers'.
    For this you will first need to activate change pointer for this message type (check SALE > modelling..>Master data distribution). Next, you will need to setup your ALE config for this IDOC/message type.
    In ALE, you will be able to either run a standard SAP report adhoc, or schedule it such that all changes recorded using change pointer (changes including new customerr records) are collected as IDOCs and sent.
    This is a standard SAP scenario, you only need to do the config/setup to get there. You may wish to read more on change pointers to understand this.
    cheers,

  • IDoc to Create Shipment Document in SAP

    Hi,
    I want to create the shipment document in SAP via EDI message from freight forwarder and subsequently update the shipment document(VT02N) statuses via EDI  like planned/loaded/shipment end etc....
    I am reasearching on the Idoc type for that...I found SHPMNT03 etc could be used to create/change document but I don't know where the Transportation planning point field exists in the Idoc type. Please help me to how could I create the shipment document...
    I am able to create the shipment document using TPSSHT01...but not sure whether it would be good as it's used with TPS and we don't have any external TPS. We just want to create shipment document in SAP based on freight forwarder edi messages 856 I believe
    I am new to EDI
    Thanks
    Chil

    We used a program to create the IDoc but I don't see a transportation planning point anywhere in it. I think it should be picked up automatically from the deliveries and I wouldn't fixate on that. Here is the code fragment, but you don't need to fill in all those fields:
    e1edt20-shtyp = '0003'.
          e1edt20-signi = i_table-route.
          e1edt20-exti1 = i_table-route.
          e1edt20-exti2 = i_table-driver_num.
          e1edt20-tpbez = i_table-driver_name.
          i_edidd-sdata = e1edt20.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2EDT20001'.
          APPEND i_edidd.
          e1adrm4-partner_q = 'OTP'.
          e1adrm4-partner_id = '0001'.
          i_edidd-sdata = e1adrm4.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2ADRM4001'.
          APPEND i_edidd.
          e1adre4-extend_q = '305'.
          e1adre4-extend_d = '0001'.
          i_edidd-sdata = e1adre4.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2ADRE4001'.
          APPEND i_edidd.
        e1edl20-vbeln = i_table-vbeln.
        i_edidd-sdata = e1edl20.
        i_edidd-docnum = w_docnum.
        i_edidd-segnam = 'E2EDL20'.
        APPEND i_edidd.
    From what I remember, this IDoc worked rather strangely and I had to fill in some fields for no obvious reason (e.g. both e1edt20-signi and e1edt20-exti1 when SIGNI is really the one we needed). At some point, I just tried filling in all the possible fields to get past errors. Like I said, it just takes some trial and error.
    Unfortunately, I don't have access to that system anymore and have no further information. Also we didn't do any shipment changes. You might want to search in ABAP forum. Good luck.

  • Purchase Requisitions Change after create existing document.

    Hi,
    We want to restrict System not allow to change the Purchase Requisition Quantity after create the existing document RFQ & PO with reference of PR.
    Regards
    Aamir

    Dear Amir,
    We had also faced same problem in our organization 2 years back. Then I have change the screenlayout of ME52N as follows.
    SPRO -> Materials Management -> Purchasing - > Purchase Requistion -> Define screeen layout at document level -> Create new entry ME52N by coping ME52. Then goto qty & price field, tick the Qty field as display.
    Due to this changes in PR Qty in ME52N will not be possible. If any change in PR QTY before creation of PO has to be done then user has to delete that line item in ME52N & create new line item in same PR.
    This development is successful at our end.
    Regards,
    Shekhar Gaikwad.
    SAP MM Consultant

  • Issue with Idoc when creating invoice taking wrong payment term

    Hi All,
    My Requirement is invoices created through B2B interface should hold the payment term of purchasing party instead of invoicing party
    400021 is Invoicing party having payment term 2000 i.e. 20 days
    414478 is the Purchasing party having the payment term 1000 ie 10 days
    So invoice should hold the payment term 10 days instead of 20 days
    I have an IDOC which is creating Invoice, I am trying to reprocess the IDOC to see the issue but could not able to achieve the solution.
    Please help me out which approach should i follow to achieve the solution of this issue.
    Thanks,
    VB

    Hi,
    Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
    Cheers,

  • Encore CS4 crashes after creating new document

    Encore crashes after creating a new document. I have tried different accounts with and without administrative privileges still the same result. Everytime a document is created or opened it results in Encore crashing. Encore will run fine if nothing is opened or created. The machine is running Windows XP with a P4 3.0 GHz processor with 4GB of RAM.

    What is the graphics card on your machine? Please try updating the latest display drivers and see if this helps.
    Also which XP OS version you are running? Is it 32 bit or 64 bit? Please note that XP64 is not a supported OS for CS4

  • How to generate idoc after creating a bapi?

    I have used the bapi_salesorder_createfromdat1 function module to create sales orders. Now how can i generate an idoc of the sales orders created and send it to other system. Please give a solution.
    Edited by: Shakti on Nov 19, 2008 3:30 PM

    after your bapi do the following
      wa_edidc-rcvprt = gc_ls. "Partner Type of Receiver
      wa_edidc-direct = 1.     "Outbound
    Port is with simialr name of logical system
      IF sy-sysid EQ gc_ert.
        CONCATENATE: gc_xit gc_clt gc_200 INTO wa_edidc-rcvpor.
      ELSEIF sy-sysid EQ gc_erq.
        CONCATENATE: gc_xiq gc_clt gc_300 INTO wa_edidc-rcvpor.
      ELSEIF sy-sysid EQ gc_erp.
        CONCATENATE: gc_xip gc_clt gc_400 INTO wa_edidc-rcvpor.
      ENDIF.
    XIT only 200 client No, XIQ always only 300 and XIP always only 400 - Confirmed by Markus/ Erik
      IF sy-sysid EQ gc_ert.
        CONCATENATE: gc_xit gc_clt gc_200 INTO wa_edidc-rcvprn.
      ELSEIF sy-sysid EQ gc_erq.
        CONCATENATE: gc_xiq gc_clt gc_300 INTO wa_edidc-rcvprn.
      ELSEIF sy-sysid EQ gc_erp.
        CONCATENATE: gc_xip gc_clt gc_400 INTO wa_edidc-rcvprn.
      ENDIF.
      wa_edidc-mestyp = gc_ymtspa01.  "Message Type
      wa_edidc-idoctp = gc_ywhspa01.  "IDoc Type
    Move data records from internal table to the edidd structure.
    Check Whether Invoice is already sent or not to AGCONet
      IF NOT gt_final_sp2[] IS INITIAL.
        SELECT *
          FROM ysmk_invoice01
          INTO TABLE gt_invoice01
          FOR ALL ENTRIES IN gt_final_sp2
        WHERE vbeln EQ gt_final_sp2-vbeln_vf.
        IF sy-subrc EQ 0 .
        ENDIF.
        LOOP AT gt_final_sp2 INTO wa_final_sp2.
          CLEAR : wa_invoice01,gv_index.
          gv_index = sy-tabix.
          READ TABLE gt_invoice01 INTO wa_invoice01 WITH KEY vbeln = wa_final_sp2-vbeln_vf.
          IF sy-subrc EQ 0.
            IF wa_invoice01-process EQ 'X'.
              IF p_check NE 'X'.         " To Ignore previously processed Orders
                DELETE gt_final_sp2 INDEX gv_index.
              ENDIF.
            ENDIF.
          ENDIF.
          CLEAR : wa_final_sp2.
        ENDLOOP.
      ENDIF.
      IF gt_final_sp2[] IS INITIAL.
        MESSAGE s222.
        LEAVE TO LIST-PROCESSING.
      ENDIF.
      LOOP AT gt_final_sp2 INTO wa_final_sp2.
        wa_sdata_sp2-chas_ser_num = wa_final_sp2-qausp.
        wa_sdata_sp2-mat_num = wa_final_sp2-matnr.
        wa_sdata_sp2-bill_doc = wa_final_sp2-vbeln_vf.
        wa_sdata_sp2-bill_type = wa_final_sp2-fkart.
        wa_sdata_sp2-cust_num = wa_final_sp2-kunnr.
        wa_sdata_sp2-fkdat = wa_final_sp2-fkdat.
        wa_sdata_sp2-kzwi5 = wa_final_sp2-kzwi5.
        wa_sdata_sp2-netwr = wa_final_sp2-netwr.
        wa_sdata_sp2-aedat = wa_final_sp2-aedat.
        wa_edidd-segnam = gc_z1whspf2."Segment Name.
        wa_edidd-sdata = wa_sdata_sp2.
        APPEND wa_edidd TO gt_edidd.
        CLEAR wa_edidd.
        wa_invoice01-vbeln = wa_final_sp2-vbeln_vf.
        wa_invoice01-process = 'X'.
        MODIFY ysmk_invoice01 FROM wa_invoice01.
      ENDLOOP.
      IF NOT gt_edidd[] IS INITIAL.
    *---Function module to trigger the IDOC explicitly
        CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
          EXPORTING
            master_idoc_control            = wa_edidc
          TABLES
            communication_idoc_control     = gt_edidc
            master_idoc_data               = gt_edidd
          EXCEPTIONS
            error_in_idoc_control          = 1
            error_writing_idoc_status      = 2
            error_in_idoc_data             = 3
            sending_logical_system_unknown = 4
            OTHERS                         = 5.
        IF sy-subrc NE 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ELSE.
    *Commit work used if the Function module is executed successfully
          COMMIT WORK.
          READ TABLE gt_edidc INTO wa_edidc INDEX 1.
          IF sy-subrc EQ 0.
            WRITE:/ wa_edidc-docnum, text-003.
          ENDIF.
        ENDIF.
      ENDIF.
    *---Clearing the internal table and work area for Data structures
      IF sy-subrc EQ 0.
        r_mestyp-low     = gc_ymtspa01.
        r_mestyp-sign    = gc_i.
        r_mestyp-option  = gc_eq.
        APPEND  r_mestyp TO r_mestyp.
        CLEAR:  r_mestyp.
        r_docnum-low     = wa_edidc-docnum.
        r_docnum-sign    = gc_i.
        r_docnum-option  = gc_eq.
        APPEND  r_docnum TO r_docnum.
        CLEAR:  r_docnum.
       SUBMIT rbdmoind WITH p_credat = sy-datum
       WITH p_step = 100 AND RETURN.
        SUBMIT rseout00 WITH docnum  IN r_docnum
                        WITH mestyp  IN r_mestyp
                        WITH p_compl = 'Y'
                        WITH p_rcvpor = 'XITCLT200'
                        WITH p_rcvprt = 'LS' AND RETURN.
        CLEAR: wa_edidc,wa_edidd.
        REFRESH: gt_edidc,gt_edidd.

  • Payer need to be change after created billing document

    Hi all,
    They created some orders..... orders-delivery-billing documents created. now we came to know the payer is wrong but the documents are not relased to accounting..... how can i do if issue like this....if i change  the payer in customer master?
    Pls advise on this....thanks in advance.
    Thanks,
    Kumar

    Hi,
    Changing the payer in the customer master will not be of any use if the documents are already created. It will be helpful for only the documents that are created after change is made in the customer master.
    For the documents already created you can do one of the below.
    a. Cancel the existing billing documents using VF11. Reverse the delivery using VL09. Then delete the delivery. In the customer master add the new payer. Go back to the sales order and change the payer. Now, again you follow the regular sales process of delivery and billing and then release the doc to accounting. It should work.
    b. Release the existing document to accounting with the wrong payer. Now, create a credit memo request and credit memo for the wrong payer. This will nullify the accounting. Now, go to the customer master, put in the new payer. Now create a new sales order matching the old sales order. (Please note that you may have to use the same PO number in this case). This will take a longer time and customer should accept the new SO number, delivery number and the invoice.
    c. Changing the table entry using the ABAP program in the tables (VBPA) . I would not recommend this as this will have a lot of effects and system may start performing inconsistently.
    Hope this helps...
    Thanks
    Mukund S

  • Error when after creating My Documents and shared repositories

    Hi all,
    after setting up a fresh SAP Mobile Documents installation on NW 7.4 and creating the My Documents and shared repositories we see the message "repository not available" when logging in to the MCM User web interface. The NWA log shows the following errors:
    Connection failed: Cannot access http://localhost:50000/cmis/json: Connection refused: connect
    org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot access http://localhost:50000/cmis/json: Connection refused: connect
    Creating sharing home folder for user svcmcm failed: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot access http://localhost:50000/cmis/json: Connection refused: connect
    Testing the connection to http://localhost:50000/cmis/json in the destination sometimes yields a negative initial result, followed by consistently positive results.
    Do you have any ideas or suggestions?
    Regards
    Daniel

    Hi Alex,
    thanks a lot; we are now able to connect and access Windows network shares after assigning the Content Admin Role to the MCM Users Group. We now however have the issue that our AD users can access all of the share's folders that the service user (assigned to the file system repository) has rights to. How can we enforce the individual user rights from the AD?
    Regards
    Daniel
    P.S.: We are trying to use assertion tickets in this approach.
    P.P.S.: We followed the preparatory steps under Integrating Documents from a Windows System into KM - Knowledge Management - SAP Library
    Message was edited by: Daniel Hügelmann

  • Dump error while creating Invoicing document

    Moderator note - this is the same problem as identified in thread Error is generated in Print workbench function ISU_INV_BILL_PREPARE.  Thread locked and poster notified of rules violation.
    Hi Experts,
    I am new to ISU application.Please provide solution for below mentioned dump error.
    The error is generated in Print workbench function ISU_INV_BILL_PREPARE which is called from application form IS_U_BILL (/1PWB/SAPL20020100218092657) when I'm trying to generate invoice for the bill in EASIBI.
    Error analysis                                                                               
    Short text of error message:
    Unexpected ELSE case: field sy-subrc with value 0 (/1PWB/200201002180926
    57  )
    Long text of error message:
    Something has occurred in a CASE or IF construct which the
    developer did not expect, or which is not permissible here.
    System Response
    Procedure
    Note the field name and field value from the message as well as the
    data pattern which lead to the error. Create a problem message.
    Technical information about the message:
    Message class....... "E9"
    Number.............. 898
    Variable 1.......... "sy-subrc"
    Variable 2.......... 0
    Variable 3.......... "/1PWB/20020100218092657"
    |    Variable 4.......... " "                     
    Thanks in Advance.
    Vaseem
    Edited by: William Eastman on Mar 9, 2010 2:34 PM
    Edited by: William Eastman on Mar 9, 2010 2:36 PM

    Hi Experts,
    Please reply..... It's very important.
    Thanks
    Vaseem
    Moderator note:  DO NOT beg for answers, or suggest that you need an immediate reply.  Read the rules of engagement here Research Resources and Rules of Engagement
    Edited by: William Eastman on Mar 9, 2010 2:24 PM

  • No accounting document generated after creating billing document.

    I created my billing document in SD and saved but I am getting the message "No accounting document generated"
    What am I missing and what do I need to do?
    Is there a T code or menu path to see all billing document blocked from posting?
    Thanks for your prompt response.

    Hi,
    Check in Tcode  VOFA if account determination procedure is assigned there.
    If it is there,then go to VF02 and try to release manually to accounting.
    Check Tcode VFX3 for blocked billing documents
    Reward points if useful
    Regards,
    Amrish Purohit

Maybe you are looking for

  • RFC connection Error

    Dear All,     when i connect our BI System to R/3 system via RFC in SM59 ,i am getting following error in BI system and also The problem occur  in particular instance .(Other instance working fine in BI system) Logon     Connection Error Error Detail

  • How to make the lines of the table and the template same

    Hello Abapers,                     I have a requirement, I have made a table in which i have displayed all the values in it, and under that i have taken a template and diplayed the total of it but the lines drawn to the table and the template is diff

  • SPRO and EP connection

    Hi Portal Gurus, I am new to customization of ess screens. i want to add a link in over view page which opens a intranet site . I want the linkage  between subareas,areas,resources,services,areapages,areagroups in spro to ESS screen shown in Enterpri

  • Controlling Document

    Dear gurus     When I was doing billing document  system is generating  all documents like accounting  , profit center  and controlling document , here my accounting and profit center document is perfect  ,if I view the  controlling document  I canno

  • Default gateways and zones in a multihomed system

    We do have some problems concerning default routes and zones in a multihomed system. I found several posts in this forum, most of them referring to a domument of meljr, but my feeling ist that the paper is either not correct or not applicable to our