cancel
Showing results for 
Search instead for 
Did you mean: 

Want to triggered IDOC, when PO saved.

Former Member
0 Kudos

Hello,

Want to triggered IDOC, when PO get created.

All configuration has been done, IDOC triggered when PO is released. But, I want to triggered IDOC when PO get create.

Can any one please tell me the proper steps to configured output type??

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Siva_Muddana
Explorer
0 Kudos

We can use standard output type 'NEU' If you want to create new one. Simply copy the standard one 'NEU' as 'ZNEU' (example) and modify if you need any changes. This is the easiest method creating custom output type. (Generally functional consultanats do create Output types ).

To do this , Goto tcode 'NACE' , select Application -'EF' and click on 'Output types' button. Then you can see different Output types for Application 'EF'. in chnage mode - select 'NEU' and from menu bar - Edit -> Copy As. new you change the NEU to 'ZNEU' and on the same screen select a tab 'Default Values'.

here you can set

Dispatch time --> '4-Send immediately (When saving the application)

Transmission Medium --> 6 (EDI ) or A (ALE ).

partner function - choose from F4.

and save it.

(Note: we generally set dispatch to '4 ', then Idoc will be generated immediately. If you set '1 ' , you need to run RSNAST00 program after you create PO,then only Idoc will be created status 30.)

Testing Manually using output type.

Now test this by creating PO. Goto ME21n , after giving all the inputs b4 saving it, from menubar - GOTO->Messages

Here you can give outputtype either NEU or the custom one 'ZNEU' , medium 6 (EDI), patner function, and partner no ,

and click on further data select transission medium 4 . go back to main screen and save it. After creating PO again goto in display mode goto-messages check whether the any green light icon shown on the output. is yes, double click on it , you can see IDOC no also.

Now do settings in WE20 assign this oytput type . I think this you know it..

Former Member
0 Kudos

Hi Poonam,

Step1: Goto transaction NACE, Select application 'EF' (Purchase Order) and goto output types. Create / Verify the output type which is with medium 6 (EDI) Let us call this ZIDC. Program Name: RSNASTED and Form Routine : EDI_PROCESSING.

Assign access sequence and other settings as per requirement (You should ask this to End user / Functional consultant for their final requirements)

Step2: Go back to NACE setting, Again select EF and goto 'Procedures'. Select active procedure (Again a Functional setting Or goto SPRO and find the active setting. Do I need to show you the path?) Normally RMBEF1 is active. Select it and goto 'control' (On left panel) Add/Verify the output (ZIDC in this case) Put the requirement only when needed. (FOR YOUR QUESTION, PLEASE VERIFY WHETHER ANY REQUIREMENT ROUTINE IS ATTACHED OR NOT, THE ROUTINE MAY CAUSE TO TRIGGER OUTPUT/IDOC ONLY WHEN PO IS RELEASED) I guess, the requirement is restricting output from generation.

Step 3: Again goto NACE, Select EF and goto condition record. Select the o/p type ZIDC and and maintain relevant entries.

All these steps can also be verified in SPRO -> Material Management -> Purchasing -> Messages -> output control.

In any further doubts, do revert back..

Thanks,

Audy.