06-11-2007 7:38 AM
Hi...
i have to find damage code and Equipment id fields in a table....urgent
for this....If the Sales Order type is KB (i.e. VBAK-AUART=KB) then Equipment ID and Damage Code are instead taken from the Service Order referred by the KB Order. From Sales Document Flow table (VBFA) find document no of preceding Service Order.
please reply soon.
06-11-2007 7:46 AM
Hi
We will find the DAMAGE code in the Notifications table nly
<b>QMFE-FECOD</b>
Get the order details from the order related tables(AUFK,AFKO and AFPO) for the order that is fetched from VBFA and link with the notificatiosn table and fetch this
field from QMFE
Use the VIEW <b>VIQMFEL</b>to fetch the Equipment no and the Damage code by passing the Order no AUFNR
Reward points for useful Answers
Regards
Anji
Message was edited by:
Anji Reddy Vangala
06-11-2007 7:46 AM
Hi
We will find the DAMAGE code in the Notifications table nly
<b>QMFE-FECOD</b>
Get the order details from the order related tables(AUFK,AFKO and AFPO) for the order that is fetched from VBFA and link with the notificatiosn table and fetch this
field from QMFE
Use the VIEW <b>VIQMFEL</b>to fetch the Equipment no and the Damage code by passing the Order no AUFNR
Reward points for useful Answers
Regards
Anji
Message was edited by:
Anji Reddy Vangala
06-11-2007 8:02 AM
hi...
i went to the same procedure initially....n found EQUNR from AFIH table.....
will that be ok...as common field for QMEL ,AFIH, QMFE tables is QMNUM..(notififcation no.)
06-11-2007 7:53 AM
Hi,
Check in the table S064 Single object - damage analysis.
Regards