2007 Feb 13 9:25 PM
Hi Gurus,
BAPI_AP_ACC_GETOPENITEMS this is bapi for open items ,i want to get all the open item details ,,can anybody give me code for this ,,,,its gr8 helpfull to me..
Thanks
KRISNA
Hi Gurus,
BAPI_AP_ACC_GETOPENITEMS this is bapi for open items ,i want to get all the open item details ,,can anybody give me code for this ,,,,its gr8 helpfull to me..
Thanks
KRISNA
2007 Feb 13 9:42 PM
Just call the FM BAPI_AP_ACC_GETOPENITEMS and pass these values:
CALL FUNCTION 'BAPI_AP_ACC_GETOPENITEMS'
EXPORTING
NOTEDITEMS = NOTEDITEMS "Move SPACE into this field
KEYDATE = KEYDATE "Specify date
VENDOR = OBJECT-KEY-VENDOR "Vendor
COMPANYCODE = OBJECT-KEY-COMPANYCODE "Company code
IMPORTING
RETURN = RETURN
TABLES
LINEITEMS = LINEITEMS
EXCEPTIONS
OTHERS = 01.
Close your previous thread.
Thanks,
Santosh
2007 Feb 13 9:54 PM
Hi ,
I am sorry,,,and again i have to get data only based on COMPANY CODE ...i dont want to enter VENDOR,KEYDATE,NOTEDITES, how it is possible.....here is asking this is what i have done..can u pls check it...
DATA : LT_AP_OPEN LIKE BAPI3008_2 OCCURS 0 WITH HEADER LINE.
LOOP AT SO_BUKRS.
CALL FUNCTION 'BAPI_AP_ACC_GETOPENITEMS'
EXPORTING
COMPANYCODE = SO_BUKRS
VENDOR = ' '
KEYDATE =
NOTEDITEMS = ' '
IMPORTING
RETURN =
TABLES
LINEITEMS = LT_AP_OPEN.
ENDLOOP.
2007 Feb 13 10:46 PM
Here, companycode, vendor, keydate are mandatory.
Thanks,
Santosh
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |