cancel
Showing results for 
Search instead for 
Did you mean: 

scenario: MATMAS request inside BPM

Former Member
0 Kudos

HI,

we are using the following scenario: BOMMAT IDOC -> XI BPM -> lot of MATMAS IDOCs.

I have to check a materialnumber in the SAP R/3 Applikation System(Sender) for a special Item inside the BPM.

Exampel:

The BOMMAT IDoc is filled with materialnumber 119911. Now i have to get (either outside or inside the BPM) maybe via RFC ? special information about this item from the R/3 sender system (not XI). With this information i can go ahead inside the BPM transformation.

Any ideas/scenarious ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Gordon,

I presume u are going to check a material number in the same system, then why do you want to use BPM for it? Check with functional consultants there should be some BADI / user exit for that business process, where you can put the logic and also do lookup and feed in some unused or unrequired field in idoc so that you can use in ur mapping, as you can do multi mapping in XI without BPM now, I would suggest you to avoid BPM as you are not replicating a process in XI but a mere data exchange. This approach will give you much better performance.

regards

Mustafa

Former Member
0 Kudos

use RFC lookups in your message mapping.

Thanx

Aamir

Former Member
0 Kudos

can you provide me with m ore details ?

Thanks,

Gordon

Former Member
0 Kudos

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples...

also there are loadz of info. on SDN regarding RFC look ups please search for them

Thanx

Aamir

Former Member
0 Kudos

HI,

You can go for either RFC Lookups where you will be sending a MATMAS request to R3 system and it will response the details from R3 system or you can go for the scenario like IDOC-> RFC request and RFC response-> IDOC

For Lookup refer the below weblogs and help :

Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function

http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0

Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -

http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

/people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api

Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes

Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm

/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi

Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffb...

/people/sravya.talanki2/blog

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4...

How we have to create the lookups?

Check this weblogs with some screenshots on how to achieve this:

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi

/people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes

For RFC scenario using BPM refer below weblog:

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

thnx

Chirag