07-31-2007 6:00 PM
Hi,
is there any table of FM to get an SD-VBELN and SD-POSNR
by the OBJNR VB0000002170000010.
Thanks.
Regards, Dieter
08-01-2007 3:13 PM
Hi Dieter,
It is hard to find a FM to make vbeln and posnr from objnr.
i think OBJNR is used to update in some status table like NAST.
and the value is programitacally pass to update in that table; and all the records will conatins same format.
so to fetch VBELN and POSNR from OBJNR...
follow this code:
data: loc_objnr(18) type c,
loc_vbeln(10) type c,
loc_posnr(6) type c.
loc_objnr = OBJNR.
loc_vbeln = loc_objnr+2(10).
loc_posnr = loc_objnr+12(6)
i think it will solve ur problem.
Regards
Krishnendu
08-01-2007 2:59 PM
08-01-2007 3:04 PM
08-01-2007 3:06 PM
08-01-2007 4:23 PM
Hi Rob,
thanks it's solved.
I found it in ONRVB. i think the table name is ONR + OBJNR(2).
Regards, Dieter
08-01-2007 3:13 PM
Hi Dieter,
It is hard to find a FM to make vbeln and posnr from objnr.
i think OBJNR is used to update in some status table like NAST.
and the value is programitacally pass to update in that table; and all the records will conatins same format.
so to fetch VBELN and POSNR from OBJNR...
follow this code:
data: loc_objnr(18) type c,
loc_vbeln(10) type c,
loc_posnr(6) type c.
loc_objnr = OBJNR.
loc_vbeln = loc_objnr+2(10).
loc_posnr = loc_objnr+12(6)
i think it will solve ur problem.
Regards
Krishnendu
08-01-2007 3:14 PM
08-01-2007 3:17 PM