Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a FM to create GL account master data ?

Former Member
0 Kudos
1,557

Instead of the BI based report RFBISA00 I would prefere to use a FM or BAPI.

Does anybody know such a FM?

Thank in advance

8 REPLIES 8

Former Member
0 Kudos
315

Hi Oleg,

Check the BAPI's

BAPI_ACC_DOCUMENT_POST

BAPI_INCOMINGINVOICE_PARK

You can also use LSWM for the same:

13 step will create a session which can be executed from SM35.

Object 0010

Method 0001

Program Name RFBISA00

Reward points if this Helps.

Manish

Message was edited by:

Manish Kumar

0 Kudos
315

Thank you Manish,

the question is about creation of Master Data & using FunctionModule, not RFBISA00.

Any idea?

0 Kudos
315

Hi

Try out this BAPI. This should help. Let me know if not.

BAPI_ACC_GL_POSTING_POST

Check out this FM also:

GL_ACCT_MASTER_MAINTAIN_SINGLE

GL_ACCT_MASTER_MASS

Message was edited by:

raghav sharma

0 Kudos
315

Hi

I don't believe, but try to search fm GL_ACC*

Max

Former Member
0 Kudos
315

Thank you guys,

it tried with GL_ACCT_MASTER_SAVE and it works!

0 Kudos
315

hi Oleg / expert

I tried to use FM GL_ACCT_MASTER_SAVE to do g/l account master mass upload, but error messag return:

Type :E ID:FH Number 502 "Internal error: Import of table SKA1 not possible". Is there any step I miss ?

SAP: ECC6.0

GUI: 710 Patch Level 0

Here is my program coding:

loop at t_importlist into wa_importlist.

doc_account_coa-keyy-ktopl = wa_importlist-ktopl.

doc_account_coa-keyy-saknr = wa_importlist-saknr.

doc_account_coa-data-ktoks = wa_importlist-ktoks.

doc_account_coa-data-xbilk = wa_importlist-xbilk.

doc_account_coa-action = 'I'.

append doc_account_coa.

clear doc_account_coa.

doc_account_names-keyy-ktopl = wa_importlist-ktopl.

doc_account_names-keyy-saknr = wa_importlist-saknr.

doc_account_names-keyy-spras = 'E'.

doc_account_names-data-txt20 = wa_importlist-txt20_en.

doc_account_names-data-txt50 = wa_importlist-txt50_en.

doc_account_names-action = 'I'.

append doc_account_names.

clear doc_account_names.

call function 'GL_ACCT_MASTER_SAVE'

TABLES

account_names = doc_account_names

    • account_ccodes = doc_account_ccodes*

return = doc_return

CHANGING

account_coa = doc_account_coa.

read table doc_return with key type = 'E'.

if sy-subrc = 0.

loop at doc_return where type = 'E'.

endloop.

else.

call function 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.

read table doc_return with key type = 'S'.

endif.

endloop.

Thanks

0 Kudos
315

hello sir i am also facing same error :   Internal error: Import of table SKA1 not possible did you found any solution on this plz help me. i am in big problem.

Former Member
0 Kudos
315

can any one help me to over come on this error  Internal error: Import of table SKA1 not possible

plz help me i am in big problem