cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup in PI 7.1

Former Member
0 Kudos

Hi All,

I have to use RFC look up for a requirement. For this I need to create a Remote Function Module in SAP and have import in PI for RFC Look up.

My Logic will follows...

Parameter to be passed:

< PLNNR > = /LOIROU02/IDOC/E1MAPLL/PLNNR : multiplicity 1

< VORNR > = /LOIROU02/IDOC/E1MAPLL/E1MAPAL/E1PLKOL/E1PLFLL/E1PLPOL/VORNR: multiplicity n

Logic in FM:

Read table PLPO where

Task List type PLNTY = N

Group PLNNR = < PLNNR >

Valid From DATUV = latest Date for same Operation Number < VORNR >

-


>This should give you a record of type like table PLPO for each < VORNR >

After getting all values into one table, I need to get some other information (from table CRHD & CRTX) for every VORNR.

Logic for this is: Read table CRHD where OBJTY = A and OBJID = PLPO-ARBID.

Get KTEXT from CRHD.

Return table: (one record for each < VORNR >), to be passed back to PI

< VORNR >

PLPO-KTSCH

PLPO-LTXA1

KTEXT

So could you please help me to build a remote function module...and how do I pass values to PI as a internal table...

Regards,

Ramesh.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

developed code by myself

Shabarish_Nair
Active Contributor
0 Kudos

for lookups in 7.1 - /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups

in case you require help regarding building a RFC/BAPI, i suggest you take the help of the ABAP forum or read through this

http://help.sap.com/saphelp_46C/helpdata/EN/22/0424ce488911d189490000e829fbbd/content.htm