cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to ABAP DB table

Former Member
0 Kudos

Hi all

I have the scenario where a idoc will be send to XI, The data in the IDOC needs to be saved in a custom table in the R3 system? Is there a easy way to do that or will I have to use ABAP mapping? If so can you pls explain how I will go about using ABAP mapping for this?

Thx in advance

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

The scenario is that the IDOC is send from the R/3 system to XI, from the IDOC we need to store the value of matnr unit of measure and plu nr , other interfaces then need to access the values where they will have matnr and UM and we need to give the interface the plu number for that specific matnr and um, and vice versa other interfaces will send the plu nr where we then need to give them matnr and um?

Former Member
0 Kudos

For this you can use IDOC ---XI --- Inbound Proxy. Inside the proxy you can validate the data as per your need and then you call the Function Module or BAPI or BDC to post the data into respective database tables.

Former Member
0 Kudos

Hi

As said no need XI u can go with Traditional SAP ALE communication type.

But it all Depends on u r landscape.

Do u have XI already in u r landscape running with other systems , if s then go with XI as it wud b better for error tracking and maintance , single point for all u r Bussiness Interfaces

If u plan exclusively for this scenario then it's not needed !!

regards

srini

former_member192295
Active Contributor
0 Kudos

Hi,

No need XI between two R3 system, we can update data directly at receiver end. Develop simple function module for custom table up dation at receiver R3 system and add this function to inbound process code (we42). At receiver end partner profile inbound configuration choose ur developed function as process code. Once receiver idoc from sender, process code will execute automatically and data will be update to customer table.

R3...........IDOC..................R3 (Partner Profile inbound Process code)

Former Member
0 Kudos

What is your scenario? it is not very clear from your question.

Is it IDOC --- XI -


IDOC ???

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

Are you sending IDOC from one R/3 system to another R/3 system for table updation.

If yes, you dont require xi, you can do it in RFC.

At the same time,,, if you are updating into table in the same R/3 system, you can write a FM to do this.

But still if you want to use XI, you can use sender as IDOC receiver as RFC or proxy which will update the table in R/3