cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for Aleau Idoc

Former Member
0 Kudos

Hello everybody.

We have the next scenario:

JDBC--->PI-(iDOC)--

-


>SAP

SAP---->PI-(ALEAUD)-->JDBC

We sent a Orders Idoc to SAP. In this Idoc we have informed the field BELNR (Purchase number) and I need to get this number in the ALEAUD Idoc. The problem is that this field doesn´t exist in ALEAUD Idoc.

I have two questions:

- Is there any User Exist for Aleaud Idoc where I can fill it?

- With the Aleaud Idoc I have the original idoc number, how can I get the field BELNR from this Idoc number?

Thanks a lot

Regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Christian,

The E1STATE segment of the ALEAUD idoc usually has the status record of the original IDOC.

If the Status of the original inbound IDOC says "the PO 45XXXXXXX was created", then the E1STATE segment of ALEAUD idoc will have that information.

YOu can then extract the value of the PO from the whole text.

Regards,

Ravi

Answers (2)

Answers (2)

Former Member
0 Kudos

Ravi thanks a lot but this doesn´t solve my problem.

I can get back the field because it does´n exist in the aleaud idoc. I can know how to get it back from original inbound idoc.

Thanks!!!

Former Member
0 Kudos

Sorry... I didn´t write the scenario correctly....

JDBC--->PI-(iDOC)--

-


>SAP

SAP(ALEAUD)>PI--

-


>JDBC

Thats is the correct scenario. I need to get back a field of original inbound idoc and send it in the aleaud idoc to PI.

Thank a lot!!!!