cancel
Showing results for 
Search instead for 
Did you mean: 

Process Codes - IDoc

Former Member
0 Kudos

Could someone give me a brief explanation about IDoc Process Codes in the Partner Profiles.

What is its Purpose, Impact etc...

Also and most importantly, how do we distinguish which one to use for which IDoc? Who's responsibility is it to find this information, the Business or the XI team?

Accepted Solutions (1)

Accepted Solutions (1)

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Process code - Function module

Functional team is responsible for identifying Process code

Regards

Agasthuri Doss

Answers (3)

Answers (3)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

process code with several examples:

<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

michal,

I have your book but couldn't find the page where it talks about how to find process codes etc... maybe you could let me know which page?

Thanks

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>about how to find process codes etc

in transaction We41/we42 (for inbound/outbound)

in my book I show which process code to choose in WE20 (inbound)

for different scenarios so you don't need to find anything

don't remember the page as I don't have it with me - sorry

Regards,

michal

Former Member
0 Kudos

I am posting ACC_DOCUMENT maybe knows which one to use?

Sorry michal... I can only see process codes for SD type IDocs... are there Process Codes for FI IDocs as well?

Former Member
0 Kudos

FID1

Former Member
0 Kudos

Thanks Barry, FID1 is not an option for me. This is an inbound IDoc...

Any Ideas why it is not available? Do I need to do some config to make it available?

The basic gist is we are using this IDoc to make GL Postings in SAP... What do you think? IS this even the right IDoc for this?

Former Member
0 Kudos

Hi Ricardo,

you are using Message Type: ACC_DOCUMENT,

Basic Type: ACC_DOCUMENT01

BAPI_IDOC_INPUT1

Thanks,

Narayan

Message was edited by: Narayanan

Narayanan Manivanan

Former Member
0 Kudos

Ricardo

Personally I use BAPI_ACC_DOCUMENT_POST or BAPI_ACC_GL_POSTING_POST and not idocs.

These can return the document number to the sending application (if internal number assignment is SAP.)

Depends on requirements really...

Former Member
0 Kudos

I only have BAPI and not BAPI_IDOC_INPUT1.... Again is there some config I need to do in order to make these process codes available? Could BAPI Work?

Barry... Interesting... The problem is that I just get told what documents to use by our FI Team... So you never use IDocs for FI Postings?

Former Member
0 Kudos

If you are using ALE then you can use BAPI_IDOC_INPUT1.

And process code is BAPI.

Let me know you are using ALE or other interface.

Thanks,

Narayan

Former Member
0 Kudos

I am a little confused... what do you mean if I am using ALE.... what else could I be using?

So are you saying that the process code BAPI is the same as BAPI_IDOC_INPUT1?

Will BAPI process IDoc ACC_DOCUMENT?

Former Member
0 Kudos

Yes BAPI process IDoc ACC_DOCUMENT.

Also try following link for reference.

Thanks,

Narayan

Former Member
0 Kudos

>

> Barry... Interesting... The problem is that I just

> get told what documents to use by our FI Team... So

> you never use IDocs for FI Postings?

I am formally a Functional FI Consultant, before moving onto XI (don't hold this against me!), and by using the bapis, I feel I have more control - anyway, I now give advice to the functionals and not take instruction from them... I guide them so they feel they are making the decision...

Former Member
0 Kudos

Wow, so this is a Generic Processing Code that can Process all IDocs is that right? As I see this function module basically finds the appriate Function module that will process your message type appropriately is that right?

Then why the need for any other process code ????

Former Member
0 Kudos

Barry, That is not a bad position to be in... You must add some real value to projects

Former Member
0 Kudos

Also just quickly what is meant by

"All of the <b>generated interfaces</b> use the "BAPI" process code"

bhavesh_kantilal
Active Contributor
0 Kudos

>

> Then why the need for any other process code ????

Normally customizations in the processing of the Idoc is needed for clients. In these cases you write the report and then create a trsnmaction code ( think the t code is we 41 / 42 not sure though) and then use this in Partner Profile.

Have also seen cases when BAPI has been used. My understanding was that BAPI is used when a similar RFC exists .

Eg: BANK_CREATE Idoc has a similar BAPI called BAPI_BANK_CREATE and I remember us using BAPI for the inbound processing!

Am not a functional person at all, but just what I have understood of things.

Maybe Barry can validate it for me as well.

Regards

Bhavesh

Former Member
0 Kudos

> Am not a functional person at all, but just what I

> have understood of things.

> Maybe Barry can validate it for me as well.

>

> Regards

> Bhavesh

Sorry Bhavesh, that is a chargable consulting request! <b> ;-)</b>

The use of BAPIs is a personally preference...

The only time I have had to use an IDOC for FI was for create customer - no bapi available!

Idocs are easier to scale for requirements where additional/custom segments are

needed, but i prefer the re-usable vanilla approach.... hmmmm vanilla......

bhavesh_kantilal
Active Contributor
0 Kudos

Barry,

I think you got my post wrong.

My understanding is BAPI can be used as the inbound processing code for an Idoc , if, a similar BAPI exists for this functionality.

Like the example I have posted above

Regards

Bhavesh

PS : Will SDN points be ok as the consulting charge

Former Member
0 Kudos

hi guys...

maybe if someone could answer the following:

Also just quickly what is meant by

"All of the generated interfaces use the "BAPI" process code"

It will help us understand the use of the BAPI Process code better

Former Member
0 Kudos

you are correct, bapis are used to process idocs....

No one has enough SDN points for my consulting charge!

Former Member
0 Kudos

Usually Functional people set the whole partner profile. XI consultant job is to post the IDOC with the partner detail they provide you.

Regards,

Jai Shankar

Former Member
0 Kudos