‎2006 Mar 22 11:38 AM
I have to write a check in E1MARMM segment in inbound processing of material master.
however, a user exit 002 in IDOC_INPUT_MATMAS01, looks to allow only custom segments for extension.
i m not going to create any custom segments, but only write some additional logic for standard segment E1MARMM.
how to proceed ?
PLEASE REPLY SOON.
thanks,
pavan.
‎2006 Mar 22 1:10 PM
Hi pawan,
for this purpose you can use a BTE linked to the event MGV00200. Use transaction FIBF to create a new customer event. In this way you can use a Z function module to check all data from IDOC_DATA table (the entire Idoc).
Best regards, Manuel
‎2006 Mar 22 12:31 PM
Hello Pawan,
If u just want to check in segment E1MARMM, just code it straight in the exit 002, even though it is not available in the FM. U can use
data: f1(50) value 'E1MARMM'.
field-symbols: <fs1>.
assign (f1) to <fs1>.
now u can use <fs1> to check anythign as it is pointing to E1MARMM.
‎2006 Mar 22 1:10 PM
Hi pawan,
for this purpose you can use a BTE linked to the event MGV00200. Use transaction FIBF to create a new customer event. In this way you can use a Z function module to check all data from IDOC_DATA table (the entire Idoc).
Best regards, Manuel
‎2006 Mar 22 1:36 PM
hi manuel,
this looks to be the most probable area bcoz i have to change the status also, based on a logic. i have idoc_data as well as idoc_contrl details here.
however, when i go with FIBF, i dont see anything there. i have chosen the menu path settings -> process funct. modules -> of a customer.
it takes me to a table where i can make entries. here i give my Z function module. is it right ?
thanks,
pavan.
‎2006 Mar 22 1:59 PM
Hi pawan,
i've done the following:
- run FIBF
- choose Settings -> Products -> ...of a customer
- Add an entry (for example: ZMATMAS Active='X') and save and go back
- choose Settings -> P/S function modules -> ...of a customer
- Add an entry
EVENT='MGV00200'
PRODUCT='ZMATMAS'
CTR=' '
APPL=' '
FUNCTION MODULE='ZMY_BTE_MGV00200'
and save
- create FM ZMY_BTE_MGV00200 (see the sample function module SAMPLE_INTERFACE_MGV00200)
Let me know if you need further infos
PS: your name is Pawan or Pavan ?
Have a nice day.
Manuel
‎2006 Mar 22 2:24 PM
thank u very very much. my problem is solved.
by the way, my name: pavan, my user name: pawan (i put it so).
‎2006 Mar 26 12:17 PM
Hello Manuel,
i have done everything. when i try debugging it somehow my FM is not called.
what did u mean by 'ZMATMAS' in ur message ? do i give the message type there? what is this 'product'. RFC destination doesnt matter in my case. Active = 'X' is ok.
i think here only i have some problem.
please help.
thanks
pavan