Trigger EDI

Hi all,
I am currently troubleshooting a EDI problem whereby after the GI created from Delivery, the IDoc outbound will get triggered to generate XML file.
May I know where did the triggering part set? Is it config side SPRO? If it's in SD Billing, I just need to define a new output and the IDoc will be triggered, but how about this Good Issue? Is it output determination also? can let me know the step to check the setting for output in GI (or Good movement).
Thanks so much~
Cheers
CSWONG

Hi sir,
I can find the function module. But my question now is, how did the EDI get triggered when doing Goods Issue?
Now I give you an example on SD-Billing, in Billing, what you need to do is add an output which is EDI related, then it will trigger the IDoc. So how about GI? I don't see any output at the MB02.
Thanks.

Similar Messages

  • How to trigger EDI output type by logical system

    Hi,
    I am trying to propose a delivery output on delivery document based on logical system.
    I have maintained partner profile by logical system. In the partner profile, i have given the delivery output type and the process code.
    I have also maintained condition records for the delivery output.
    I would like the system to propose the delivery output not by ship to party or sold to party but by the logical system.
    Because i do not want to maintain 3000 customers in the partner profiles, instead trigger the output by logical system.
    Please let me know, if anyone has gone thru this situation and resolved.
    Thank you in advance.
    -Naga

    Hi,
    First thing you should make sure that, when you create the output type , partner function should have an entry for EDI - LS combination.
    Secondly , make sure you have option for EDI transmission on the output type (medium 6).
    Third, when you create partner profile for LS, make sure you give partner function as LS, even though SAP gives warning that its not required.
    Last but not least, i didnt create any distribution model , because when i created distribution model and generate partner profile, system was not generating the profile properly.
    I am not sure, whatever i did was right, but its working for me.
    -Naga

  • EDI for STO

    We're trying to trigger EDI for STO's using "NEU" due to specific reasons. Can someone guide me step by step procedure to accomplish this task.
    Currently we can trigger EDI for PO's but unable to do it for STO's.
    Quick answers are appreciated.

    Hi
    Whcih key combination ur using for NEU output determination  ( i.e MN04/05/06)
    If it is based on Document type maintain same in MN04 with DOc type
    Vishal...

  • EDI batching issue while handling the exception.

    I am trying to batch the inbound IDOC message coming throught external release as the requirement is to batch the EDI messages
    for every IDOC having multiple BGM's. For eg if the 1st IDOC has 4 BGM's and second Idoc has 3 BGM's there should be 2 different batches
    of EDI each for 1 idoc.
    Achived this using external release trigger and delay mechanism, however if suppose the 1st Idoc fails to process in the 3rd message due to mapping
    issue then the previous 2 BGM's and already sent to the messagebox and subscribed by the batching orchestration. And when the second message is arriving
    with suppose 3 BGM's, the 2 BGM's are getting batched with them..
    For eg : 1st IDOC -  4 BGM repeating record -- 3rd is failed in orchestration looping but previous 2 are already sent to messagebox and subscribed by batching orchestration
    2nd IDOC -  with 3 BGM are processed successfully and then releasing an external trigger making the previous 2 also to get batched with the 2nd IDOC.
    My requirement is if there is any mapping issue then the previous BGM's which are sent should not get batched by the batching orchestration.
    Could anyone please suggest on the same?

    If third message fails, what do you want to do with previous messages? I think your batching orchestration should deal with incomplete batch after a period of time. You anyways won't be able to retrieve idoc second time.
    Secondly, It looks like you want to build create atomatic type of solution, for this you need to have one buffering place where you keep all successfully mapped messages intermediately. Again you need control message mechanism to notify batch complete etc.
     (Perhaps you need to explore more on batching orchestration itself).
    Another thing, if sap doesn't send single batch into multiple idocs, then you can probably create an orchestration to create whole batch and send control message to trigger edi batching.
    If this answers your question please mark it as Answer and if this post is helpful, please vote as helpful. Thanks !

  • Automatic triggering of EDI output on sales order change

    Hi everyone,
    I need to trigger edi output whenever i make changes to sales order and save.
    Can anyone please help...
    Regards,
    Srikar

    Hi,
         Using change pointers you can create an IDOC when ever a specific field in the sales order line item is changed. activate the change pointer for message type ORDERS. Also maintained the entries in BD52
    After this when you change this field at the sales order line item, it inserts entries into change pointer table.
    Use Change Pointers properly so that idoc will trigger automatically.
    <b>Reward points</b>
    Regards

  • Automatic creation of PO from SO in different companies

    Hi,
    Can anyone help me with the following.
    I have two companies(seperate databases, same server) A and B.
    When i create a Sales Order in Company A, it should automatically create a Purchase Order in Company B.
    Can i do this using UI-API and DI-API?
    If yes can you please help me with a sample/
    Thnaks and regards.

    One method would be to write an application that was a DI only app. It could trigger every few seconds to check if there were any SO's that matched your criteria in the company A database. In essence, a query that selected all SO's from Company A without a corresponding PO in company B. 
    If that dataset was not empty, it could push them into company B as POs via the DI using the objects or via DI XML.  This job could run on the SQL server not as an add-on, but as a stand alone process.
    This is only one way, there are other ways to do it. Probably more elegant. The words alert/trigger/edi are coming to mind.
    Anyway, those are just some ideas.
    Hope it goes well!

  • Reg Triggering an o/p type when change scheduling agreement VA32

    Hi Experts,
    I have a requirement to trigger EDI processing o/p type when ever i change a scheduling agreement in VA32.
    Please let me know how it can be configured.
    Thanks

    Issue Resolved .
    The reason for this system behaviour is in fine-tuned control: We was
    using ZMIN only for new message output and ZCHG only for change messagesNevertheless, you can maintain two entries in WE20 for ORDCHG:
    EF ZCHG ME11 w/o Change message flag
    EF ZCHG ME11 with Change message flag
    Thanks

  • Cross company Sales-Automatic coversion of PO to SO

    Hi,
    I runing a scenario of cross comapny sales among three comapany.
    Scenario:Comapny A create a PO to Company B.Company B create a SO on Company A and maintained the delivery plant C which belongs to Comapny C.
    Now our customer wants to automate the SO creation with respect to PO.
    Please help to configure this.
    Thanks in advance.
    Regards
    Sandip

    One method would be to write an application that was a DI only app. It could trigger every few seconds to check if there were any SO's that matched your criteria in the company A database. In essence, a query that selected all SO's from Company A without a corresponding PO in company B. 
    If that dataset was not empty, it could push them into company B as POs via the DI using the objects or via DI XML.  This job could run on the SQL server not as an add-on, but as a stand alone process.
    This is only one way, there are other ways to do it. Probably more elegant. The words alert/trigger/edi are coming to mind.
    Anyway, those are just some ideas.
    Hope it goes well!

  • Trigger outbound IDOCs for EDI - CONTROL & APERAK messages

    Hello All,
    We have a scenario that customer transmits their EDI - ORDERS message and upon receipt of ORDERS, requires us to forward CONTROL and APERAK for any issues with ORDERS message. Checked different outputs and did not find suitable one. WIll appreciate, to know, the corresponding message/idoc types for CONTROL and APERAK and how to trigger.
    Thanks in advance,
    Renu

    Hi Nikhil,
    I tried the following Message Control settings for Message Type - PORDCR1 / Partner - SNC Logical System:
    a. Application = EF; Message Type = BAPI; Process Code = ME10 ; Change Indicator = Checked
    b. Application = EF; Message Type = BAPI; Process Code = ME11 ; Change Indicator = Checked
    c. Application = EF; Message Type = BAPI; Process Code = ABI_AIDN_OUT (the only option available in dropdown) ; Change Indicator = Checked
    I tried chnaing an existing PO after saving each of this setting. There is not outbound Idoc that is getting trigerred.
    Regards,
    Bharath

  • Configuration to trigger the EDI IDOC when posting

    Hi all,
    Can I know what is the configuration needed in order to trigger the EDI message type INVOIC IDOC when posting to certain company code (eg: AP10)?
    As I know for order acknowlegment need to do some configuration in Tcode v v13 in order to trigger the EDI...
    Please help.
    Thanks a lot.

    Hi,
    Please refer the below link:
    SAP IDoc Configuration Overview:
    http://www.topxml.com/biztalkutilities/walkthroughs/SAP%20IDoc%20Configuration.pdf
    SAP Network Blog: IDOC: EAN mapping in EDI orders:
    /people/michal.krawczyk2/blog/2006/12/22/idoc-ean-mapping-in-edi-orders
    Hope this helps.
    Please assign points as way to say thanks

  • Trigger Output Condition for EDI Medium

    I need to trigger output for one Z Order Type which is having the medium as EDI.
    I am aware of FM  WFMC_MESSAGE_SINGLE which could trigger output for print medium (Doesn't work EDI medium 6) .
    I need a similar FM but for EDI.
    Thanks
    Anand

    Hi
    Check the following fun Modules
    WFMC_MESSAGES_SELECT_PA
    WFMC_MESSAGES_EXTEND
    WFMC_MESSAGES_PROCESS
    WFMC_MESSAGES_SELECT
    WFMC_MESSAGES_SELECT_ALL_FALSE
    WFMC_MESSAGE_SINGLE_NO_UPDATE
    WFMC_MESSAGE_SINGLE_SCREEN
    Reward points for useful Answers
    Regards
    Anji

  • EDI, mass trigger upload files.

    Hi,
      I've customized EDI to upload a file into SAP. I'm using T-Code WE16. This transaction allows me, using the path and file, to upload the selected file. Is there a standard report, that i can use to schelude the upload of all the files stored in a specific directory ?
    Regards,
    Pedro Castro

    Thanks Ferry,
    Like in WE16, in report RSEINB00, i have to indicate the file name. If the name file is generated dynamically, it changes all the time, and the report cant be schedulle (job) for the same variant. Does the name of the file have to be allways the same ?
    Regards,
    Pedro Castro

  • EDI Outbound file trigger not happening automatically.unix script

    EDI OUT bound issue:-
    We are processing IDOC by using WE19 -> Here we are selecting existing IDOC -> By using pushbutton Start Outbound Processing the IDOC EDI file is creating in directory with file name as:- /abc/xyz/edi/DECVDE_989898.
    In the same directory we have unix script file push_idoc_sci.sh is available which sends this EDI file to unix server.This script is working fine when we do manual sending of edi file - there is no issue in the script.
    1> We configured the port SAPEDI which sends this EDI file automatically by using this script file. But this is not happening.
    WE21 settings:-
    Outbound file TAB:- Phycal directory -> /abc/xyz/edi/
                                     Function module: EDI_PATH_CREATE_MESTYP_DOCNUM
    Outbound Trigget TAB:-
                                    Automatic Start Possible check box checked.
                                    RFC destination -- SERVER_EXCE.
                                    Directory-- /abc/xyz/edi/
                                    Command file -- push_idoc_sci.sh
    Inbound file TAB:- Phycal directory -> /abc/xyz/edi/ in
                                 FM -- EDI_PATH_CREATE_CLIENT_DOCNUM
    2> RFC destination TCP/IP connections:- SERVER_EXEC configured with parameters:
         Application server :- Program: rfcexec.
    The Issues is EDI file is creating in applicastion server, but it is not going automatically to unix server as automated process. even we mentoned the script in port defination to send automatically.
    Is there any we are missing? any seetings do we need to do extra?
    Please let us know.
    Thanks in advance.
    Sreedhara.

    Hi Hi sreedhara gupta
    what REDDY said is correct. Still you if you want test by using WE19 ....Put break point at include MSED7F03 at  IF direction_in <> c_direct_incoming.
    change the value of  control_record_in-outmod to 1 or 3.
    Note: Imp thing is............. there is a chase of missing segments which are requied in EDI Subsystem.
    Thanks
    Ramesh
    Edited by: Ramesh on Mar 26, 2010 7:07 PM

  • EDI IDOC generation for interface with Vendor software help needed.

    EDI IDOC help needed.
    We are NOT an EDI shop, but have a project to output data to Sales Force.com
    Sales Force requests IDOC output - eg. 810 Outbound Invoice.
    We will need to do a historical load of Orders/Quotes/Invoices from the past 2 years.
    Is there a function module or series of FM's that are used to generate the E2EDKxxxxx type segments?
    I have been testing using the IDOC_OUTPUT_INVOIC and IDOC_OUTPUT_ORDRSP FM's, but they generate segments begining with E1EDKxxxxx.
    Basicall we have a report program that the user enteres in the date range of Order/Quotes/Invoices they wish to extract, the the program needs to output a flat file (.txt) on the server which is then picked up by Sales Force.com.
    Also, is there a way to have in the Partner Profile a generic Partner under the "Type KU" that can be used for all orders/invoices so I don't have to create a KU Partner Type for each and every Sold-To customer we have?
    I am very new to EDI so any help would be greatly appreciated.
    Thanks.
    Scott.

    Hi Scott,
    We will need to do a historical load of Orders/Quotes/Invoices from the past 2 years.
    I know it's very tempting to use an interface for such loads if you anyhow have to create one. However, often the volume alone speaks against interface usage for such scenarios.
    Is there a function module or series of FM's that are used to generate the E2EDKxxxxx type segments? I have been testing using the IDOC_OUTPUT_INVOIC and IDOC_OUTPUT_ORDRSP FM's, but they generate segments begining with E1EDKxxxxx.
    Well, the E2* segments basically reflect the external name of the IDoc segment, whereas the function modules you're referring to basically just create an internal version of the IDoc. Once the IDoc framework then passes the IDocs to the partner, the segment names usually (depends on how the IDocs are passed on) get converted to their external name. If there are multiple versions of a segment, then the version number will be appended to the segment name.
    Note that IDoc segment definitions are only partially stored in the data dictionary. If you want to see all versions you should always use transaction WE31 to look at segments. There you can also see for example for E1EDK01 the several versions and when you then use in SE37 function module SEGMENT_EXTERNAL_NAME_GET you will see what SAP produces as the external name for segment E1EDK01. This function module is basically the one that handles the segment name translations.
    Ignore the comments for subsystem, this is basically an option in SAP to possibly trigger further external tools (e.g. mapping etc.) for handling the outbound IDocs.
    Again, the funny thing is that via the WE30 transaction, if i put in INVOIC02 as the Obj. name and see the segments, i can see that E2EDK01 there is a version 005, but if i go to SE11 and put in E2EDK01005 structure line and i get a "not found". We just have up to E2EDK01002.
    In the old days SAP used to generate E1, E2 and E3* structures in the data dictionary (SE11). The E1* structure reflected the character type representation of an IDoc segment, whereas the other two (definition and documentation) contained actual references to data elements (e.g. if you used a quantity field). However, in newer releases those dictionary structures (E2* & E3*) are no longer generated, because they're superfluous (meta data defined via WE31 is sufficient).
    Cheers, harald

  • EDI Message for Scheduling Agreement Schedule Lines

    Hi Experts,
    My client has the EDI set up for the SASL and is running fine.
    Currently we have scheduled background program to trigger the IDOC and convert the IDOC into XML to send the information to the external system via interface after MRP run.Output type in the SASL will be triggered at header level (Without release documentation) whenever there is a new or change in the schedule line. Schedule line will be fixed automatically for every MRP run based on the Firm zone maintained in scheduling agreement.
    Now the requirement is, Client wants to send the schedule lines regardless of New or change after MRP run sothat all the information will be sent to the suppliers. This requirement may be contradictory one but the client needs it.
    1) For the New schedule line creation the output type will be triggered so no issues the program will take care
    2) For the change schedule line also the output type will be triggered so No problem.
    Requirement :
    1) When there is no new & change in the schedule lines , how we can handle this???
    2) Client wants to fix the schedule lines based on the planned delivery time and they do not want to maintain this PDT in the Firm zone field.??
    Kindle explore and provide me the inputs. Appreciate your help.
    Thanks /Karthik

    Can you elaborate bit more on the issue.
    see if you are not mentioning the PDT in the firm zone field. then it means the schedule lines can be changed and once they are changed the change idoc will get trigger.
    however if there is no change in the schedule line and since its a old one there will not be any idoc generation for this.
    seems as per your requirement you want to get the idoc generated for the old line as welll then u need to look for the anhancement badi/uer exit to map this.
    need more insight of the issue to resolve it

Maybe you are looking for