IDOC_EXIT

HI ,
Please kindly give me the solution.
i have data in idoc basic type orders03.
segments : e1edk02-belnr purchase ordernumber,
e1edp01-posex purchase order item,
e1edp01-menge quantity.
my rquairment is:
1) i have to get the Sales order number and sales order item from vbfa.
2)i have to get the quantity from the vbep for this sales order.
3)i need to pass these values to the exact fields of internal tables in the funcion moudle EXIT_SAPLVEDB_001.
BUT i am not able to get this.
i am writing the code in include ZXVDBU01.
PLEASE SEND NE THE CODE .
IT IS VERY VERY URGENT.
Kindly can any one help me.
Thanks in Advance.
Thanks&Regards.
Ramu.

Hi ramu,
  Your FM EXIT_SAPLVEDB_001 is nothing but the first user exit triggered, if you can do a where-used-list you will understand. Now the FM has VBAK, VBAP, VBEP, VBPA etc filled with different names DXVBAK,DXVBAP, DIVBEP, DXVBPA etc.You can take these values & populate in your code & modify the data.
For example in your Include ZXVDBU01.
Use case.
CASE SEGMENT-SEGNAM.
  WHEN 'E1EDK02'. 
  MOVE YOUR VALUES HERE...
ENDCASE.
Message was edited by: Phani Kiran Nudurupati

Similar Messages

Maybe you are looking for