cancel
Showing results for 
Search instead for 
Did you mean: 

Retrive a field from an Idoc

Former Member
0 Kudos

Hi eveybody

I´ve got the next scenario:

JDBC---->PI-(Idoc)----->SAP

SAP -(Aleaud)--->PI--

-


>JDBC.

How could I retrive a field from reference Idoc when the Aleaud Idoc is processed??

Im going to try to explain it better.

In the Outbound Idoc travel a field called FIELD_A.

Before the Aleaud Idoc is sent to PI I need to retrive this FIELD_A that travelled in the reference Idoc and send this FIELD_A in the Aleaud Idoc because I need it in the query used in the JDBC adapter.

How can I do this????

Thanks everybody.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can do this in 2 ways.

1. Use of RFC lookup as mentioned above.

The IDOC data can be recovered from EDIDC & EDIDD table

2. Add customized segment in ALEAUD IDOC types. Couple of links available in ABAP section for both these otpions...

Thanks

Swarup

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
Former Member
0 Kudos

Thanks a lot Raja Sekhar

In the defined function how could I retrive this fileld?? From reference Idoc number?? How could I do that??

And, Where do I call my function??? Exist any userexit to Aleaud Idoc??

Thanks a lot

rajasekhar_reddy14
Active Contributor
0 Kudos

Which version of PI r u using, PI7.1 we can perfrom RFC lookups graphically.

search in SDN how to retrive field from IDoc, sample codes also available, i dont know exact link:)

rajasekhar_reddy14
Active Contributor
0 Kudos

Write use defined function to retrieve value from IDoc,that means perfrom RFC lookup.