Skip to Content
Former Member
May 18, 2015 at 10:29 AM

Filling bkpf-GRPID field on non-batch-input document direct posting



I have a procedure that now posts documents through "Call Transaction", whereas I previously used batch-input.

After such posting, I have other procedures that expect to receive the GRPID field (name of batch-input folder) for them to distinguish between different posting runs.

Let it be said that I'm not in position to change such methods, and that therefore, I need to arrange a way to fill the GRPID field in the BKPF record. I'm using the 'Posting_interface_document' call function.

Adding a record "BKPF-GRPID" with my "folder_name" to the internal table t_ftpost does not work as an error is generated, due to the fact that the function is not expecting such value to be filled.

Do you have any suggestion on how can I fill such field using a non-batch-input mode?