data: it_bapimepoitem type bapimepoitem occurs 0 with header line,
it_bapimepoitemx type bapimepoitemx occurs 0 with header line,
it_poaccount type bapimepoaccount occurs 0 with header line,
it_poaccountx type bapimepoaccountx occurs 0 with header line. data: it_return2 like bapiret2 occurs 0 with header line. data: flines like tline occurs 0 with header line,
string(132) type c, fobject like thead-tdobject, fname like thead-tdname.
data: line_no type i. data: vendor_no type lifnr.
data: ntgew type ekpo-ntgew. data: brgew type ekpo-brgew.
data: str type string. data: str1 type string.
data: v_plant(4) type c,
v_whno(3) type c,
v_sorg(4) type c,
v_dplnt(4) type c,
v_ccode(4) type c,
v_curr(3) type c,
v_shippt(4) type c,
v_country(2) type c.
data: temp_char(200) type c.
data: banfn type vbep-banfn. " for purchase requisition number.
select single banfn into banfn from vbep where vbeln = zsalesdocument. " fetching purchse requisition number
Social Plugin