Application Development 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: 

regarding migo transaction

Former Member
0 Kudos

I had ztable with material number and plant fields.and i had written logic in user exit that if ztable material number and migo transaction material number is equal it should call transaction.it is working for some of the material numbers and for some materials it is not triggering.can any one specify the query for this problem.

6 REPLIES 6

Former Member
0 Kudos

are those material numbers present in your Z table?

Nishant

0 Kudos

yes that material number is present in ztable

0 Kudos

Hi,

Can you please provide the code snippet that you are using?

Nishant

0 Kudos

z_matnr = ztable-matnr.

SELECT SINGLE matnr FROM ztable INTO z_matnr

WHERE matnr = s7_tab_mseg-matnr.

call transaction ' z'

0 Kudos

Ajay,

I am sure you have more code than what you have provided above. The way your code is given call transaction will get executed always.

This may be simplistic, did you try all these things?

a. Check in debug what are the contents of the field at the time of select.

b. Could it be issue with the steps followed in the transaction? May be the user exit is not getting triggered always.

c. Some times there are issues with the field length and zeroes the are prefixed. But I am sure you probbaly looked into it. If not check again.

Good luck

ST

Former Member
0 Kudos

Try using conversion exit before comparing material codes.

Regards,

Sunil