Skip to Content
0
Former Member
Oct 03, 2005 at 11:45 AM

Function Module - 2

41 Views

Hello again,

I have not really solved the problem I had a couple of hours ago. Maybe someone can help me to understand why this program does not work.

REPORT Z_TEST_FUNKTIONSMODUL.

DATA: it_order TYPE STANDARD TABLE OF VPKVBAKTTYP.

DATA: wa_order TYPE VBAK.

wa_order-vbeln = '5100000'.

CALL FUNCTION '/SAPNEA/SMAPI_ORDER_GETDETAIL'

EXPORTING

PI_ORDER_HEADER = wa_order

  • PI_PARVW =

  • PI_PRICE_CONDITION1 = 'PR00'

  • PI_PRICE_CONDITION2 =

  • PI_PRICE_CONDITION3 =

  • PI_TAX_CONDITION =

  • PI_UNIT_SPLIT = 50

  • PI_TEXT_ID = '0001'

  • PI_LANGUAGE = SY-LANGU

  • IMPORTING

  • PO_ORDER_HEADER =

  • RETURN =

TABLES

POT_ORDER_ITEM = it_order.