Skip to Content
0
Former Member
Sep 22, 2005 at 09:52 AM

error in bapi_po_getdetail

84 Views

Hi all,

I am using BAPI_PO_GETDETAIL to get required data. cODE IS

data: po_items type table of bapiekpo with header line.

data: po_item_schedules type table of BAPIEKET with header line.

data: PO_ITEM_TEXTS type table of BAPIEKPOTX with header line.

data: PO_ITEM_ACCOUNT_ASSIGNMENT type table of BAPIEKKN

with header line.

data: PO_HEADER_TEXTS type table of BAPIEKKOTX with header line.

data: PO_HEADER type BAPIEKKOL.

data: return1 type table of BAPIRETURN with header line.

parameters: p_ebeln type ekko-ebeln.

call function 'BAPI_PO_GETDETAIL'

exporting

purchaseorder = p_ebeln

ITEMS = 'X'

  • ACCOUNT_ASSIGNMENT = ' '

  • SCHEDULES = ' '

  • HISTORY = ' '

  • ITEM_TEXTS = ' '

  • HEADER_TEXTS = ' '

  • SERVICES = ' '

  • CONFIRMATIONS = ' '

  • SERVICE_TEXTS = ' '

  • EXTENSIONS = ' '

IMPORTING

PO_HEADER = PO_HEADER

  • PO_ADDRESS =

tables

  • PO_HEADER_TEXTS = PO_HEADER_TEXTS

po_items = po_items

  • PO_ITEM_ACCOUNT_ASSIGNMENT = ITEMACCOUNT_ASSIGNMENT

PO_ITEM_SCHEDULES = PO_ITEM_SCHEDULES

  • PO_ITEM_CONFIRMATIONS =

  • PO_ITEM_TEXTS = PO_ITEM_TEXTS

  • PO_ITEM_HISTORY =

  • PO_ITEM_HISTORY_TOTALS =

  • PO_ITEM_LIMITS =

  • PO_ITEM_CONTRACT_LIMITS =

  • PO_ITEM_SERVICES =

  • PO_ITEM_SRV_ACCASS_VALUES =

RETURN = RETURN1

  • PO_SERVICES_TEXTS =

  • EXTENSIONOUT =

.

Problum is there is no data in PO_ITEM_SCHEDULES. But there is data in database.

What would be problum?

plese let me know as soon as possible.

Thank you,

shashikanth.