Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

inbound processing pgm for material

Former Member
0 Likes
903

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.

1 ACCEPTED SOLUTION
Read only

manuel_bassani
Contributor
0 Likes
835

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

6 REPLIES 6
Read only

Former Member
0 Likes
835

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.

Read only

manuel_bassani
Contributor
0 Likes
836

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

Read only

0 Likes
835

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.

Read only

0 Likes
835

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

Read only

0 Likes
835

thank u very very much. my problem is solved.

by the way, my name: pavan, my user name: pawan (i put it so).

Read only

0 Likes
835

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