Triggering ZTransaction outbound idoc

Hi,
For one Ztransaction development, i have to trigger an outbound idoc. hw to do this & pls share the steps & code for the same.
Regards,
Balaji

Hi wg,
thanks for the quick reply.
the link provided by U is on target for my query. By the program, i can create this idoc as per the steps given.
But as Seshagiri's suggestion, while updation in zdb tables, frm that ztransaction, the code to generate idoc when it is saved is the similar code given in link or any difference is there?
thanks again...
Regards,
Balaji

Similar Messages

  • How to find the Program that triggered the outbound idoc

    Hi,
    I need to find the program that triggers a particular Outbound IDoc.
    I have the IDoc number/segment/message type.
    We need to Debug the Outbound IDoc but we do not know from where the IDoc got triggered.
    Is there a way we can find which program triggered it?
    Thanks!

    Hi Suresh,
    Go to tcode WE20, select ur partner profile type, which configured in output type for EDI documents.
    On right side, double click on the Message type in outbound parameters.
    go to message control Tab, double click on process code variable to see FM triggers for the IDOC.
    same as for Inbound also.
    Regards
    Syed A

  • Triggering new outbound IDOC via message control.

    HI All,
    I have a new outbound function module which is a copy of ALE_GOODSMVT_CREATE (ZALE_GOODSMVT_CREATE)  for goods movements.  I have created a new process code and linked the message type to the code.  This function was created by copying the standard bsuiness object for goods movement BUS2017 and registering as a new interface in BDBG. 
    I have created a new output type in nace for ME, but was unsure how to correctly setup the processing routine.  What medium (A, 6 or 8), program and routine do I use, or do I need to create a new program to call my function module?  If I use RSNASTED and ALE_PROCESSING (medium A), I get a short dump as the parameters of the function do not match the parameters of my new function ZALE_GOODSMVT_CREATE.
    Has anyone ran into a similar problem or can help with this?
    Bets regards,
    James.

    Hi Sanjay,
    I have created a distribution model, and added the new function to the ditribution module via the createformdata method which the function is linked to.  I have also created the partner profile for message type using an LS partner.  I have added my new process code to this message in the partner profile.
    Now when I process my goods movement I get the error message "No recipient found for message type ZSUBCON in the ALE model".  The distribution model and the partner profile appears to be setup correctly.  Any ideas?
    Rgds,
    James.

  • Change Business Partner in CRM to trigger OutBound IDOC in R/3 system

    Hi Team,
    I am stuck on a requirement, We have a scenario were the Business Partner is created in CRM system
    which creates a BDOC and is passed to R/3 system through an Inbound IDOC which  triggers the Outbound IDOC to PI system. So far good.
    The scenario we are getting stuck is when a Business partner is changed in CRM an IDOC triggered in R/3 system but this being a change the Change pointers are not called hence the IDOC which is supposed to be triggered for the PI system is not getting triggered.
    Can you please tell me what steps should I take to trigger this Outbound IDOC from R/3 system?
    I did some anlyasis and found a table which COM_BUPA_CALL_FU which contains a set of function module which is triggered in the sequence. Is this the solution or if you have any different do let me know.
    Thanks,
    Imran

    Hi,
    Did you add the entry for your new custom 'Z' long text inPITX Tcode in R3 side. Every long texts in CRM should be linked to R3 long text here. If there is no entry please add one and try changing the text in CRM.
    Hope this helps,
    Karuna.

  • Outbound Idoc error handling through workflow

    Hi,
    I am trying to set up the workflow for outbound error handling. I found that there is a task TS00007989 which need to set up.
    How this task can be triggered when outbound idoc error occurs in the system?
    Kr,
    Vithalprasad
    Edited by: Vittalprasad on Jun 9, 2010 11:52 AM

    Hi,
          Have a look
    Outbound IDoc Error Handling via Workflow
    Outbound idoc error handling through workflow

  • Outbound idoc has data from previous idoc as well

    Hi Experts
    I am doing the goods receipt against a scheduling agreement using idocs. If this goods receipt is succesful, I am triggering an outbound idoc informing the WMS of the goods receipt. For example, if idoc number 1 comes in for GR , code has been mentioned in the inbound function module for trigger of an outbound idoc A. Please note that the difference that this isnt the case of an output type.
    Now the problem that arises is , the idoc data for outbound idocs is being accumulated and sent. For example, if 1 is the GR idoc, A is the outbound idoc, then 2 is the 2nd GR idoc, then AB is the data coming  2nd outbound idoc (instead of just B), then 3 is the 3rd GR idoc, then ABC is the data coming  for 3rd outbound idoc(instead of just C)
    I am a little confused about the same as to which area this pertains to and would really appreciate quick help on the same.
    Regards
    Shubhankar

    Hi,
    How are you testing this functionality ? Is it using WE19 test transaction or ??
    If that is the case then please come out of transaction everytime you process the idoc.
    Also, clarify your scenario in more detail.
    Processing of your single inbound idoc creates more than one outbound idocs or
    for every inbound idoc which is processed you are creating one outbound idoc in user exit.
    Also check if the idocdata internal table is refreshed once an outbound idoc is created.
    If possible please send your code.
    KR Jaideep,

  • Outbound IDOC not getting triggered while new master data is created

    Hi Experts,
    I am trying to trigger an outbound idoc for Cost Center master data when ever cost center is being created or cost center is being changed. (Usinf COSMAS)
    I have successfully made use of change pointers and now able to trigger the idoc when ever Cost Center is getting changed. But while creating new Cost center, IDOC is not getting triggered.
    I used the function module MASTERIDOC_CREATE_SMD_COSMAS for triggering the idoc.
    Could one of you please let me what would have gone wrong? Since IDOC is getting triggered while changing the master data but not getting triggered while creating new master data.
    Thanks in Advance,
    Vinoth

    Hello,
    when you activate BD21 for a message type, it creates a entry in the SAP tables. that these Cost Centers have been sent already and any susequent changes to this will trigger a IDoc.
    As for BD16, scheduling it wont help as, you need to specify the selection criteria, and i do not see how you will be able to dynamically get the selection criteria.
    Try BD95, and BD59 to create a change pointer for a field, so when ever this fields is modified (new/updated) an idoc will be triggered.
    regards,
    Abhishek

  • Triggering outbound idoc from the transaction VL01N

    Hi,
    I have requirement where in which i need to create outbound idoc of sales and delivery data as soon as VL01n transaction is saved,Pls let me know how we can achived this , the Idoc needs to be triggered immediatly after saving VL01n transaction.
    Thanks
    Ravi

    >
    Sujatha Reddy wrote:
    > Hi Ravi,
    >
    > Goto t-code NACE, select Shipping and press push button 'Output Types', now you will get the output type for delivery and you can configure you own output meduim in this screen.
    > select the meduim & assign the require parameters.
    >
    > and goto VL01N and create a delivery and now you can goto extrats-> delivery out put-> header, here you can assign the output type that has been confugured perviously.
    >
    > -hope this helps
    You could of instead told them to search the forum like I did. Instead you chose to give him the answer, even though it is not the full answer. After they have done what you ask, what result would you expect form the output record on the delivery. I will tell you, it will not process, why, because you have not mentioned anything about partner profiles and the output control.
    But I hope you get the points for you reponse and you sleep well.

  • Duplicate Outbound IDocs getting Triggered at the same time.

    Hi Folks,
    I have created custom outbound idoc and done all the configurations required like WE20, WE30, WE31, WE81, WE82, WE 41, WE57 etc.
    Also I have written my code to populate segments and then call MASTER_IDOC_DISTRIBUTE in the custom function module which is assigned to the process code and also done the configurations like we57 etc. for the same.
    Now when I trigger my output type from VL74 transaction, I noticed two entries in we02 resulting in two IDocs generated for 1 HU.
    The difference in two IDocs is the first IDoc getting generated in error with status 29. While the second one as success with status 03.
    The data records containing segments have same values for both the IDocs number.
    Whether the configuration is a issue here or problem in code of custom fm?
    Please help.

    Hi Anil,
    Appreciate your quick response.
    In my custom FM I have populated an internal table it_master_idoc_data with two records of two segments, containing segment name in SEGNAM filed and segment data in SDATA field. 
    Please let me know whether the data in this internal table of structure EDIDD sufficient for passing to MASTER_IDOC_DISTRIBUTE FM? Or do I need to populate any other field of EDIDD.
    Also I am exporting a structure master_idoc_control containing values in this 5 fields.
    MESTYP = Z message type, Z IDOCTP, partner and details in  RCVPOR, RCVPRN, RCVPRT fields.
    I am not populating the internal table communication_idoc_control while calling FM MASTER_IDOC_DISTRIBUTE from my custom function module.
    After executing MASTER_IDOC_DISTRIBUTE FM, when the control comes back to my custom FM there is one record in communication_idoc_control  internal table with IDoc number in DOCNUM field with status 29(error). Now when we check in WE02 there are two IDocs generated after this transaction's execution.
    The first one in error which FM MASTER_IDOC_DISTRIBUTE returns and second one in success with status 03.
    Please help....
    Thanks,
    Pravesh

  • Message type :FIDCC2/ IDOCFIDCCP02 - Triggering outbound IDOC

    I have to send the FI accounting document of certain customer groups to the third party system .
    Can anyone pls let me know how to trigger the outbound IDOC for the message type FIDCC2 after the FI document is created.
    I have configured BD64 but can not find which program to trigger to generate the outbound IDOC with the FI data.
    Thanks,
    Prashanth

    Hi Anji,
    Thanks for the Reply. But i think ORDRSP is for Order Confirmations.
    But I have to send Outbound Idoc for a Schedule Agreement.
    Whether the same  Idoc type & Messge type used for SO/PO(e.g ORDERS05, ORDERS/ORDCHG) can be used for Scheduling Agreement.
    Please Advice.
    Regards,
    Anbalagan

  • Triggering of DESADV Outbound IDOC

    Hi Gurus,
    can anyone assist me in telling the process involved and steps to trigger DESADV type Outbound IDOC of type 856
    thanks in advance;
    Sunil

    Go to NACE and select V2 and click output type from menu.
    Give following value.
    Condition component Value
    Access sequence 0005 (sales organization/customer)
    Condition 0 (no condition)
    "Exclusive" select
    Output type LAVA (shipping notification outbound)
    Procedure V10000 (shipping output)
    Application V2 (shipping)
    Processing subroutine Program RSNASTED,
    form routine EDI-PROCESSING
    General data Select Condition access and Multiple sending of output, otherwise
    leave the fields blank
    Time e.g . 4 (immediately, IDocs are generated immediately after
    posting)
    Transmission medium 6
    Partner function WE
    Language DE (German)
    You must maintain following values for outbound partner profile.
    Message type : Desadv
    Partner type : Ku
    Partner function : WE
    Port : Subsystem
    Outbput mode: Collect idoc
    Basic type : Delvry01
    Packet size: 1
    Application: V2
    Output type : LAVA
    Process code: DELV.
    You can post the delivery by selecting Logistics ??Sales and Distribution ??Shipping, Delivery
    -->Create (transaction VL01). Output control is used to find the condition record and the shipping
    notification is sent to the customer via EDI (IDoc Interface). The shipping time in the condition
    record determines when the corresponding outbound IDoc is generated
    On the Create Condition Records (Outg. ship notifica.): Fast Entry screen:
    -->Enter customer number in Customer, SAP Ship-to # .
    -->Enter WE in PartF.
    -->Enter 6 in Medium.
    -->Enter 4 in Time.
    -->Enter EN in Language.
    -->Choose Save.
    Thanks,
    Narayanan

  • Triggering Outbound idoc in VL10UC

    Dear sdn members,
    Its related to outbound Idoc generation online in SCM. The requirements is that whenever a sales order created in CRM system ,automatically  outbound delivery will be created in ECC. For that I can check in VL03N transaction in ECC.
    But that outbound delivery will be unchecked in ECC. In VL10UC we can combine and check the delivery and a new delivery document will be created and old document will be deleted  and automatically one outbound idoc should be generated in ECC for the new delivery document.
    Can we handle this using message control or any other way to handle this since a online interface.
    Message Type-DESADV   
    Basic type-DELVRY05                                        
    Process Code-DELV                                                            
    Function Module-IDOC_OUTPUT_DELVRY                
    Reward points for useful Answers
    Regards,
    Krushna

    Its solved.

  • Outbound IDOC process - Using standard  or Custom Program

    Hi all,
    i'm having some doubts regarding IDOC's outbound processing.
    I'm trying to understand 2 scenarios:
    1- Trigger Standard Outbound IDOC without writting any Z program ou IDOC FM.
    It's possible to trigger a outbound idoc for exemple, whenever a sales order is created. To do this is, i suposed i don't need to write any code at all, correct?
    What i need to do is create a logical system (SALE), define Transmission protocol (WE20, in here i associate the partner, and the outbound message type? After this point is the idoc automatic triggered?
    If not, what is the correct procedure?
    2 Trigger Ountbound IDOC using Z program.
    Whats is diferent from the point 1 to this situation?
    Best regards,
    Pedro

    Kali,
    1. You can search in SE37 using IDOC_OUTPUT* for finding out corresponding function modules. It is based on message types.
    2. You can search user exit in above mentioned function module. So first get the correct populating FM & then you can search for Call Customer Function inside the code for user exit.
    3.Again ans is same as in point 1.

  • Outbound IDoc Error: Status Code 37  'Sender Port' is invalid

    Hi
    I have an Error when the Outbound IDoc is triggered.
    It shows that 'Sender Port in Control Record is invalid'.
    Status Code: 37.
    I know that there are some issues with the Sender Port Definition.
    Please help me out to solve this problem using some checkpoints at each and every step.
    Reward Points Assured.
    Regards,
    Baburaj

    Hi Baburaj Manickam
    Good
    Follow this simple procedure
    1) Send an outbound IDOC data(MATMAS) to a flat file on client1(SENDER).
    -  Create File Port (WE21) for outbound file.
    -  Maintain Distribution Model (BD64) for sender ->receiver system.
    -  Create Partner Profile (WE20) for logical system.
    -  You can use this program RBDSEMAT (t/code BD10) to generate IDoc MATMAS file(s). 
    _  Then you can FTP the file(s) to receiver system.
    2) Upload the flat file as an IDOC on the inbound sytem
    which is Client2(RECIEVER).
    -  Create File Port (WE21) for inbound file.
    -  Maintain Distribution Model (BD64) for receiver -> sender system.
    -  Create Partner Profile (WE20) for logical system.
    -  You can use this program RSEINB00 to upload IDoc MATMAS file(s). 
    INBOUND IDOC PROCESSING:
    Firstly attach your idoc to a process code.
    In the process cod you can tell the system that the specified program should be triggered whenever an idoc of that type comes to the system.
    Then you want to have a Z-function module for your idoc processing, if I understand correctly.The steps should be:
    1. Create a z function module for idoc inbound posting (copy from a function module idoc_input_*).
    2. Set Function Modules as Inbound: - Transaction BD51
    3. Assign Function Modules to Logical Messages and Idoc types:- Transaction WE57
    4. Create process codes : Transaction WE42, and link the z-function module.
    5. Create partner profile: transaction WE20 and attach the message type and process code.
    6. In the Z- function module, extract data from the idoc segments, do whatever processing you want to do, and then call BAPI_CREATE_SALES_ORDER_FROMDAT2.
    Try the Trasaction WE19 for testing your inbound and outbound IDOCs
    Good Luck and Reward me for the same
    Thanks
    Ashok.N

  • Attaching Error Status to Outbound IDOC. ?

    Hello Experts,
    We have a scenario in SAP PI / XI were upon creation of a Sales Order , Purchase Order or Material Master Flow to Non-SAP System through SAP PI/XI , the IDOC shouldn't flow to SAP PI following a validation on Material Group.
    The IDOC is triggered through Output Type , there is a custom Z function module which create outbound communication IDOC. This output type is attached to a Process Code ZSO, ZMPO defined for respective scenarios defined above.
    Currently i am attaching the the status = 07 to control data structure & the IDOC is getting created but is having error.
    Is this the right practice to follow for attaching error message Outbound IDOC.
    Awaiting for your response.
    Best Regards
    Priyesh Shah

    It depends on the business requirement.
    in a previous project, if there was any error during the validation of the data within the iDoc before it is created and sent, i would trigger an error and send the error to the person who created the data with the error for them to correct.  they would then correct the error within the document and save and the iDoc would be triggered and sent correctly.

Maybe you are looking for

  • Deskjet 3050 all in one J610 Series

    We installed a new router and now the wireless connection is no longer working. I ran the network test report and it says FAIL by the network name found. How do I get the printer to reconnect to the wireless? Thanks!!

  • How to add button inside move clip and call it from main timeline?

    Hi, On the main timeline I  have a movie clip called clock_mc and playBtn playBtn is  placed in the center of clock_mc When you press playBtn clock_mc starts playing playBtn.addEventListener(MouseEvent.CLICK, playClock); function playClock(event:Mous

  • Liquid Data 8.5 aka AquaLogic DSP 2.0 is now available

    Liquid Data 8.5 aka AquaLogic DSP 2.0 is now available on the BEA site and can be downloaded via product AquaLogic links. http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/products/aqualogic/data_services/ Documentation is also available fro

  • Block Payment

    Dear Experts, Is there any way to block a particular Vendor from posting Down-payments (Special GL). please help. Edited by: Hussein  Merchant on Dec 31, 2009 4:18 PM

  • How to download a large merged webhelp RH 9.02 to local user's PCs

    We have a large merged WebHelp using RH 9.02 on intranet site and want a way to have field reps download to local PCs. Before it got so large, the tech guys wrote a program to download and update the project to PCs but now it is just to large and tim