‎2010 Aug 27 11:49 AM
hi to all,
can any body tell me how can I pick open balance using BAPI_AR_ACC_GETKEYDATEBALANCE in my main progam.
I have a report which shows customer summary. for this I have to pick the open balance using BAPI_AR_ACC_GETKEYDATEBALANCE function module. please help me .
resma
‎2010 Aug 27 11:56 AM
Hi,
you need to pass the parameters Customer, Company code, KEYDATE, Balance per special G/L indicator.
This method supplies a customer's total balance at a given key date. The total balance includes both standard and special general ledger transactions. If you so wish, noted items can also be included in this balance.
Regards,
Vamsi Krishna.
‎2010 Aug 27 11:56 AM
Hi,
you need to pass the parameters Customer, Company code, KEYDATE, Balance per special G/L indicator.
This method supplies a customer's total balance at a given key date. The total balance includes both standard and special general ledger transactions. If you so wish, noted items can also be included in this balance.
Regards,
Vamsi Krishna.
‎2010 Aug 27 12:07 PM
the parameters are few and simple, what cause you some trouble in this BAPI ?
DATA : gt_bapi3007_3 TYPE TABLE OF bapi3007_3.
CALL FUNCTION 'BAPI_AR_ACC_GETKEYDATEBALANCE'
EXPORTING
companycode = p_bukrs
customer = p_kunnr
keydate = p_budat
TABLES
keybalance = gt_bapi3007_3.The BAPi will then read useful records from BSID/BSAD. (posted before the date and not cleared or cleared after the date) and perform summation.
Regards,
Raymond
‎2010 Aug 28 8:15 AM
hi
I know how to pass the variables in the function module and i have done that also. My function module program is showing correct output. but from that program I am not able to retrieve the open balance in my main program ( customer summary ) .that I want to know .I have already used the SUBMIT key word and also declared the memory ID .but still it is not working.
resma
‎2010 Sep 03 6:51 AM
hi
how to put authority check on region ( field REGIO ) in a report ? What is the authority object ?
I know how to put authority check on plant ( WERKS ) .
can anybody solve this .
resma
‎2010 Sep 03 7:49 AM
Call transaction SU20, look for your field name/data element, doublec-click and it will display some attributes and the list of objects which use this field.
If none found, build your own via SU20 (create field if field not found) and SU21 (create a z-object)
([Authorizations|http://help.sap.com/abapdocu_70/en/ABENBC_AUTHORITY_CHECK.htm] and [Programming Authorization Checks|http://help.sap.com/saphelp_nw04/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm])
Regards,
Raymond
‎2014 May 03 6:42 AM
m not getting values in internal table gt_bapi3007_3
how to get those values
loop at it_bsid INTO wa_bsid.
DATA : gt_bapi3007_3 TYPE TABLE OF bapi3007_3,
wa_bapi TYPE bapi3007_3.
CALL FUNCTION 'BAPI_AR_ACC_GETKEYDATEBALANCE'
EXPORTING
companycode = bukrs-low
customer = kunnr-low
keydate = budat-low
* BALANCESPGLI = ' '
* NOTEDITEMS = ' '
* IMPORTING
* RETURN =
tables
keybalance = gt_bapi3007_3
.
ENDLOOP.