Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Programm Update

HI Guru's

Iam new to ABAP.. I want add following fileds in this programm.. any one can help me to finish this one..

ANLA:

BUKRS: Company Name

SERNR: Serial No.

ANEP:

ANBTR: Dep Amount Posted(Line Items=total)

SK01:

SAKNR: GL Account No

EKPO:

BEDNR: Tracking No

AFNAM: Requester

MATL: Material Group

LOEKZ: Deletion Indicator in purchasing document

MENGE: Purchase order quantity

PSTYP: Item Category in Purchasing Document.

BSEG:

KOSTL : Cost Centre

EKKN: Sequential No of Account Assignment

AUFNR: Accounting Document Segment

LIFNR: Vendor No

Unable to find Table for this field..

Structure: MEREP_OUTTAB_ACCOUNTING

NETPR: Net Price

WTINV: Still to be invoiced

&----


*& Report ZFI_ASSET_ACQ *

*& *

&----


*& *

*& *

&----


REPORT ZFI_ASSET_ACQ .

  • Top includes for variables, screen declaration

INCLUDE ZFI_ASSET_ACQ_TOP.

  • Subroutines

INCLUDE ZFI_ASSET_ACQ_SUB.

  • Start of selection

START-OF-SELECTION.

CLEAR V_PROCESS_OK.

PERFORM: FM_GET_ANLA,

FM_GET_BKPF,

FM_GET_BSEG,

FM_GET_PO_DTL.

  • End of selection

END-OF-SELECTION.

IF V_PROCESS_OK = 'X'.

  • Process data

PERFORM FM_PROCESS_DATA.

DESCRIBE TABLE IT_DETAIL.

IF SY-TFILL > 0.

  • Display ALV

PERFORM: FM_KEYINFO,

FM_FIELD_CATALOG,

FM_BUILD_EVENTS,

FM_SORT.

CASE 'X'.

WHEN PA_LIST.

PERFORM FM_DISPLAY_HIER_ALV.

WHEN PA_GRP.

PERFORM FM_DISPLAY_ALV.

ENDCASE.

ELSE.

MESSAGE I519(GU).

ENDIF.

ELSE.

MESSAGE I519(GU).

ENDIF.

regards

JK

Tags:
Not what you were looking for? View more on this topic or Ask a question