Skip to Content
0
Former Member
Apr 29, 2009 at 09:27 AM

In SAP 4.0 there is no Field BANPR in UEBAN Structure.

62 Views

Hi,

I need to change a Purchase Requition item in to Release Refused status, I know if we change the Processing Status 'BANPR' = '08' then it means that particulat line item is rejected.

But in SAP 4.0 in UEBAN there is no field called BANPR, Can any one give me solution which is field to update or any other way what we need to done.

DATA: container like table of swr_cont with header line,
xeban like table of  ueban with header line,
xebkn like table of uebkn with header line,
yeban like table of  ueban with header line,
yebkn like table of  uebkn with header line,
object_key type swr_struct-object_key,
item_numc type numc05.
 
select * into corresponding fields of table xeban
from eban where banfn = number
and bnfpo = item.
 
select * into corresponding fields of table xebkn
from ebkn where banfn = number and bnfpo = item.
 
yeban = xeban.
yebkn = xebkn.
 
read table xeban index 1.
xeban-kz = 'U'.
xeban-banpr = '08'.
modify xeban index 1.
 
CALL FUNCTION 'ME_UPDATE_REQUISITION'
TABLES
xeban = xeban
xebkn = xebkn
yeban = yeban
yebkn = yebkn.

Regards,

Suneel G