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

IDOC

Former Member
0 Likes
550

Hi folks,

IDOCS will be generated using 2 methods.

1) by using work flow

2) by using master_idoc_distribute

I know how to write the program to populate the idoc data and converting it to communication idocs by using master_idoc_distribute function module.

But i dont know how to generate idoc by using workflow and trigger them through RSNAST program. Can anybody please tell me the procedure how to generate idoc by using work flow.

Points will be awarded.

Regards

Ravi

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
480

Hi ravi,

Workflow is used for error notification only.Also it is used for inbound idoc not for outbound idoc...for generating idoc we have the following methods...

Outbound

-


1>Standalone program

2>Masterdata distribution

3>message control

4>Change pointers

5>extnded idoc type

6>Reduced message type

Inbound

-


1>process code...

I think in ur case u might be using message control

plz heck the config for it..

The transaction codes that are required for this method are

We81

We30

We31

We82

We21

We20

Bd64

Nace

Me22n (purchase order), va02 (sales order) etc.

Ex: purchase order.

Message type: ORDERS

Idoc type: ORDERS05

Outbound process code for purchase order: me10

Regards,

Nagaraj

3 REPLIES 3
Read only

former_member404244
Active Contributor
0 Likes
481

Hi ravi,

Workflow is used for error notification only.Also it is used for inbound idoc not for outbound idoc...for generating idoc we have the following methods...

Outbound

-


1>Standalone program

2>Masterdata distribution

3>message control

4>Change pointers

5>extnded idoc type

6>Reduced message type

Inbound

-


1>process code...

I think in ur case u might be using message control

plz heck the config for it..

The transaction codes that are required for this method are

We81

We30

We31

We82

We21

We20

Bd64

Nace

Me22n (purchase order), va02 (sales order) etc.

Ex: purchase order.

Message type: ORDERS

Idoc type: ORDERS05

Outbound process code for purchase order: me10

Regards,

Nagaraj

Read only

Former Member
0 Likes
480

for this first u have to create workflow in SWDD.

in trasaction WE42 double click the process code Eg.ORDE.

In Process type select Processing by task Radio button.

in Identification text field Enter the Workflow Number (Starts With WS..)

Save it.

Now this process code tiggers the WOrkflow instead of Function Module.

Read only

Former Member
0 Likes
480

Hi,

Check the following link:

www.sapbrain.com

regards,

bhaskar