‎2008 Aug 28 7:10 AM
how to find a notification number corressponding to a sales or repair order number?.
‎2008 Aug 28 12:34 PM
hi,
Please clarify where you want to search it.
Inside SE11 or in a program.
If you want it in a program use the following code.
Check that whether notification number has some value in the table and use the following code.
REPORT Z101754_TEST.
tables vbak.
data itab type vbak occurs 0 with header line.
select-options : s_vbeln for vbak-vbeln.
AT SELECTION-SCREEN ON s_vbeln.
SELECT *
INTO CORRESPONDING FIELDS OF TABLE itab
FROM vbak WHERE vbeln IN s_vbeln.
end-of-selection.
LOOP AT itab.
WRITE : / sy-vline,
itab-vbeln ,
5 sy-vline,
itab-QMNUM,
50 sy-vline.
endloop.
If you want to search in the table you can search for the corresponding values of notification number directly.