Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PO Creation

Former Member
0 Likes
990

I am create a PO in the transaction ME21N and once the PO iscreate an IDOC is created and sent to our middleware.

I want to know what exactly happening in between, I save the PO and an IDOC is created?

Could some one explain me please? Thanks for your time and patience.

I am create a PO in the transaction ME21N and once the PO iscreate an IDOC is created and sent to our middleware.

I want to know what exactly happening in between, I save the PO and an IDOC is created?

Could some one explain me please? Thanks for your time and patience.

8 REPLIES 8
Read only

Former Member
0 Likes
954

Hi Mohan,

When you create a PO based on the data entered while creating a PO a Output EDI messaage is proposed for which the settings are made in the customizing. The Output message type triggers a std SAP program to create the IDOC. The Std program triggers the IDOC and sends to the partner information maintained in the condition records.

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7c9f43d711d1893e0000e8323c4f/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a5e43b111d1896f0000e8322d00/frameset.htm

Cheers

VJ

Message was edited by: Vijayendra Rao

Read only

0 Likes
954

Thanks a lot VJ.

Question : So when I Create a PO, should I need to enter the MESSAGE TYPE along with the PO details or the configuration will take care of that VJ?

Whether EDI and IDOC are one and the same?

Note : I am trying to reward points, but there is something going on wit the Blog and it fails. I will award it later once it is OK.

Read only

0 Likes
954

Hi Mohan,

The configuration will take care of the output proposal you need not enter the message type explicitly.

However if the condition record is not maintained then you can explicitly go into the change mode and select the output type.

EDI and ALE uses IDOC to eletronically transfer data. EDI and ALE is a process of transferring data using IDOCs.

You can find more help on EDI and ALE and how they both use IDOC.

Sure u can award points later

Cheers

VJ

Read only

0 Likes
954

Hi

The system can load the message automatically, but you need to define the conditions for which it has to do it.

You can do it by the sequences for the messages in customizing.

Max

Read only

0 Likes
954

Thanks VJ and MAX. From your points I understand the following, let me know whether I am correct.

We will be Creating an IDOC Type for the Same kind of Business Transactions.

We will be also creating the Message Type and this will be attached to the IDOC Type.

Necessary configuration are made.

When the Business User creates a PO for example, based on the configuration we have made, the corresponding message type will be selected automatically and further Technical Processing will be executed and an IDOC will be created to be sent out to the other application system.

What is a Control Record Means?

Thanks for your HELP>

Read only

0 Likes
954

Hi Mohan,

Yes ur understanding is correct.

The condition record is sort of master data which is maintained in order for the system to propse a output type.

NOt all PO created in your system would trigegr an idoc. So to restrict only to few records we maintain the condition records so while create a PO the system check the condition records and proposes the output type if the conditions are met.

You can check the condition records by using tcode NACE --> Select the application say for PO it would be EF and then click on the CONDITIONS RECORDS button on the application tool bar.

Cheers

VJ

Message was edited by: Vijayendra Rao

Read only

0 Likes
954

So whats the purpose of an OUTPUT type?

Its going to say where the IDOC is going to be directed like a FAx Machine or an email like that?

You said NOt all PO created in your system would trigegr an idoc? Could you please explain this in detail?

Thanks a lot VJ

Read only

0 Likes
954

Hi Mohan,

OUTPUT types or Message control is used to issue messages. This simply in a laymans language means to send a message to either an external system using ( IDOC ) or issue a message to a printer using a Print option or send an email or issue a message to a FAX machine.

Most of the business documents like Purchase order, Sales order, SHipping documents, Material documents all will have MESSAGE CONTROL or OUTPUT CONTROL. SAP has provided message control for most of the std SAP business transactions. This is to use the available medium based on your requiremnt and send a message either to a fax machine or to a printer or send a file as an email or send an IDOC.

>> Output type will define which Partner the IDOC has to be sent. It will have one of the field as a Partner. Say for example if you are sending a delivery document to your partner then the partner will be defined in the output types so the From the output type the system will determine the partner. Based on the partner it will determine the customizing settings and technical system details based on which it will send an IDOC to the relevant system.

>> WHen i mentioned not ALL PO's are sent , i meant that you can configure ur sysetm to send a PO only when it is required. Its not necessary that once the customizing system is in place it will send idocs for all PO's . You can control when to send an IDOC and when not to send based on the condition records maintained in your system.

Cheers

VJ