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: 

AC_DOCUMENT_DIRECT_INPUT Point will be awarded

adnanmaqbool
Contributor
0 Kudos
367

Dear guys

Can some one explain the documentation and purpose of the FM AC_DOCUMENT_DIRECT_INPUT.

In one of the report this FM is generating Exception 01.

Code is below.

CALL FUNCTION 'AC_DOCUMENT_DIRECT_INPUT'

EXPORTING

I_NODATA = '/'

  • I_TESTRUN =

I_GRPID = 'DOCUMENT'

IMPORTING

E_BUKRS = BUKRS

E_GJAHR = GJAHR

E_BELNR = BELNR

TABLES

T_BBKPF = T_BBKPF_S

T_BBSEG = T_BBSEG

T_BBTAX = T_BBTAX

T_BWITH = T_BWITH

EXCEPTIONS

ERROR_MESSAGE = 01.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
154

Hi,

In the function Module exporting parameter there is a field called i_testrun . make sure that this should be always space. if any values is there it is not going to post any document.

This may be the reason

purpose: local and global currency fields

<b>Reward points</b>

Regards

6 REPLIES 6

Former Member
0 Kudos
155

Hi,

In the function Module exporting parameter there is a field called i_testrun . make sure that this should be always space. if any values is there it is not going to post any document.

This may be the reason

purpose: local and global currency fields

<b>Reward points</b>

Regards

adnanmaqbool
Contributor
0 Kudos
154

Can you explain in little more detail.

What is the purpose of this field I_GRPID.

0 Kudos
154

Especially if some one can explain what are input parameters for this function.

Thanks.

0 Kudos
154

Hi Adnan ,

can u give me ur email-id please.

reena

0 Kudos
154

Can some one provide the link for the documentation of above FM.

Message was edited by:

Adnan Maqbool

Former Member
0 Kudos
154

Hi Adnan,

AC_DOCUMENT_DIRECT_INPUT - Fast entry Documents creation using the direct Input method

GRPID-Batch Input Session Name.

Hope this helps you.

Regards:

Sapna