2008 Feb 01 4:53 PM
I have to add a new method in an existing include object and the result should display a screen showing billing details.
Can u suggest how actually this screen can be displyed inside this method?
R write statements allowed inside method ?
Looking for some suggestion.
NOTE : This is an object within the BOR. This object will be called by CIC0.
As long as there's an input parameter defined for C. Account, we can call this report from CIC0.
INCLUDE<OBJECT>
BEGIN_METHOD TEST CHANGING CONTAINER. --- this is a sample code ,
I assume name test given by programmer.. ?am I right
END METHOD
ques :2. FKK_ACCOUNT_DETERMINE -
I need to know the purpose /result of this FM.
Thanks in advance.
2008 Feb 04 4:22 AM
Question 2:
We will call this FM to determine the GL Account:-
FKK_ACCOUNT_DETERMINE
We have to pass the variables to find out the General Ledger account is:
START of code to find the General Ledger Account *
ls_tfk033d-applk = lc_app. " Application area: Constant 'R'
ls_tfk033d-buber = lc_bub1." Posting Area: Constant 'R000'
ls_tfk033d-ktopl = lc_agl. "Chart of Accounts:
ls_tfk033d-key01 = ls_fkkvkp-stdbk. " Key field for account determination - Company Code
ls_tfk033d-key02 = lc_01. " Key field for account determination - Division
ls_tfk033d-key03 = ls_fkkvkp-kofiz_sd. " Key field for account determination - Acct Determination ID
ls_tfk033d-key04 = p_mtran. " Key field for account determination - Main Transaction
We will get the output general ledger a/c
lv_generalledger = ls_tfk033d-fun01. " General Ledger Account.
Please Award Points if it helps
Regards,
Shiv