‎2008 Mar 21 6:39 PM
Hi Gurus!
I have a function module READ_HAUPTBUCH_TEXT , here in the importing table KONTENPLAN like ska1-ktopl.
But I need to pass a value as ZNOA for KONTENPLAN while calling the function which is maintained in the db, but it is always picking up the value 'AZ'.
can you please let me know as to how i do it .thx in advance.
‎2008 Mar 21 6:59 PM
hi sandeep it is better to pass like this...
data: v_ktopl type ska1-ktopl.
clear v_ktopl.
v_ktopl = itab-ktopl.
CALL FUNCTION 'READ_HAUPTBUCH_TEXT'
EXPORTING
kontenplan = v_ktopl
sachkonto =
sprache =
NO_BUFFER =
IMPORTING
TEXT_WA =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
regards,
venkat.
‎2008 Mar 24 9:24 PM
Hi All!
My requiremnt is to select the entries for company from a table where the company code value starts from 2* only there are many other company code values in that table apart from 2000 like1000 also.
Eg: I need values for Company that has a company code of 2000,2001,2002,2003.......
pls advice..