cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching data from ZTransaction to standard transaction

Former Member
0 Kudos

Hi All,

i am working hired euiment, in which i am raising invoice w.r.t. order. But my process owner wants the no. of hours should pick -up from plant maintanance which is a ZTransaction.

Please suggest me if there is any USEREXIT or some came across this scenario?

Regards,

Suresh Yadav.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Suresh

The Z t code must store the hour details some where in database table. You need to fetch that value from table. Based on material and plant fetch the hours and assign that to sales order as quantity of that material.

for assigning you can use userexit USEREXIT_MOVE_FIELD_TO_VBAP.

Take help from your ABAPer.

Former Member
0 Kudos

Hi yadav,

Please tell me more on how to fetch the value from table, based material and plant how to bring the data?

As my requirement is the quantity should not entered maually it should be pick automatically.

Regards,

Suresh yadav.

Former Member
0 Kudos

Hi Suresh Yadav

But my process owner wants the no. of hours should pick -up from plant maintanance which is a ZTransaction.

Please check which table is getting updated by this Z transaction.

Write a select query on the table and fetch the values.

Former Member
0 Kudos

Hi Suresh,

I think we may need more details to answer this question, perhaps where no. of hours are stored from bespoke transaction in PM. Is it a customised table?

Thanks

Murali