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

Custom Process Code - IDOCS

Former Member
0 Likes
2,377

Hi Guys!

This Question is similar to my previous post i want to know whats the reason, when we go for custom process code development for standard idocs & message types, any way sap has provided that.

Is there any nessacary to devlop that, any way we want to develop, whats the real reason.

Can u give details.

Second, when we develop our custom process code we give our z development class name & transport request is there any other objects of ALE we store in them & transport the same.

Thanks.

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
1,585

Hii..

Process code is linked to the FM that generates the IDOC in Outbound processing (incase of Message control only)

Process code is linked to the FM that Post the IDOC in Inbound processing.

We have to Create the Process codes to Link our own FMs in outbound or inbound (When the Standard SAP FMs are not satisfying the Req:)

But it is always must to Create process codes for newly developed idoc types.

<b>reward if Helpful</b>

8 REPLIES 8
Read only

Former Member
0 Likes
1,585

Hi ,

We will go for our custom process code when we want to send the data that is not possible to send through the standard process codes.

for example i want to send the data from one of my cistom table to the external system,,there is no standard program available for this.So u have to configure everything and you have to create your own process code.

so we have to configure partner profile,,distribution model and every stuff we have to as we do with the standard idocs.

Reward if useful.

Regards,

Sasi

Read only

varma_narayana
Active Contributor
0 Likes
1,586

Hii..

Process code is linked to the FM that generates the IDOC in Outbound processing (incase of Message control only)

Process code is linked to the FM that Post the IDOC in Inbound processing.

We have to Create the Process codes to Link our own FMs in outbound or inbound (When the Standard SAP FMs are not satisfying the Req:)

But it is always must to Create process codes for newly developed idoc types.

<b>reward if Helpful</b>

Read only

Former Member
0 Likes
1,585

Hi Rahul,

Really speaking there is no need to develop any custom process code, SAP has developed and provided all possible postions requried for process through standard idocs.

But, in some cases, where our client requries an specific identity of there own code, and where we are using a different Idoc type and message type, then only we will go for creating an custom Process code.

<b>Small example, i had an requriement, to create an idoc type ( Customised). instead of the exsisting INV_ID01. The base reason, for this is, they need only few segments in that and an additional segment( which indicates, Credit/debit memo for an invoice). So, for this reason, i have created Customized message type, idoc type and Function module and as well as Process code.</b>

There may be several reasons, to have customised Ones.

Always, remember, most of the clients, will be having there own Z development class for different sectors, as reports, DDIC, process code etc.

<b>Process code will be always, Customising request, Where as Message type and idoc type are work bench request.</b>

Thanks

Manju

Read only

0 Likes
1,585

Hi Manju!

First, Thanks for your wonderfull Answer.

U said, u ve developed a custom idoc message process code FM

Can U pls give details regarding,

a. What all the segments u had

b. Pls Give the Fun Mod u ve developed

c. and Process code

and also if u ve worked on <b>enhancements for IDOCS</b> Pls give some workdone by u in step by step in detail.

Looking for your Help with Patience.

Thanks a Lot

Rahul.

Read only

0 Likes
1,585

Hi Rahul,

A. The segments which i have used are listed below.

EDI_Z50 EDI IDOC, invoice header, standard data

EDI_Z3 EDI IDoc type: purchase orders etc.: header, partner info

<b>ZEDI_Z51 EDI IDOC, invoice line items, standard data </b>

EDI_Z55 EDI IDoc type: totals, conditions

EDI_Z52 EDI IDOC, invoice totals, standard data

EDI_Z53 EDI IDOC, invoice totals, taxes

The bolded one is the customised segment, as i have mentioned early,in which we have used Additional fields for debit and credit memo.

B. You mean, you need the coding of the functional module.

C. Regarding process code, you can just, link your FM to Process code in we42 for Inbound .

Enhancements in the sense, extended the exsisting IDoc and related information?

You can mail me on manju.beedam@gmail.com. I can send you an document for that.

Thanks

Manju

Read only

0 Likes
1,585

Hi Manju!

Pls Check ur mail & help me.

rahul.saptech@gmail.com

Thanks

Read only

0 Likes
1,585

Hai manju, can u give some more details abt inv_id0, here ismy mail id tvmadhurima@yahoo.com

Read only

Former Member
0 Likes
1,585

Hi,

The need for create process code can be in two ways.

1) suppose if requirement needs to create custimizing the idoc, cust message type, cust F.M,- In this case you have to create the customizing process code.

2) suppose if requirement is create the F.M by using the standard IDOC type then you need to create the customized Process code.

or you can also crete your own process code if ur using standard F.M, IDOC,Message type, etc.. there is no ristriction to use Customizing Process code for only Customized F.M.

Normally process code should be saved under the <b>Customizg Request</b> instead of

Work bench request.

Regards,

Vijay