Skip to Content
author's profile photo Former Member
Former Member

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 20, 2015 at 08:52 AM

    You could try to create a customer SPA/GPA parameter, export some data with SET PARAMETER ID and use it in a substitution rule, but you may be required to use some exit in the validation (to update structure BKPF) to change the value as this field is not allowed in standard and not selectable thru the Customizing transaction (SPRO, OBBH)

    NB: Posting_interface_document allows creation of BDC (but you used call transaction option) I would have understand your requirement were you using a BAPI?



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.