Key words: FBD1, recurring posting, original document, SAPMF05A
When you enter a recurring posting using a document type that is only allowed for batch input, error message F5310 is issued: "Document type xx is only defined for batch input".
Not defined
SolutionWorkaround: when entering the original documents, remove the indicator "Only for batch input" from the document type.
Changed in standard in Release 3.1G, advance correction possible:
Program MF05AI00, Module BELEGART_PRUEFEN
*------- Keine Systembelegarten, wenn kein Batch-Input -----------------
IF SY-BINPT = SPACE
AND T003-XSYBL = CHAR_X "<<<<<< change ('.')
AND T020-FUNCL NE CHAR_D. "<<<<<< insert
MESSAGE E310 WITH BKPF-BLART.
ENDIF.
Function module FI_DOCUMENT_TYPE_CHECK
- 1. Create additional parameter 'Import Parameter'
Name X_NOBDC with default SPACE
- 2. Changes in the source text IF X_NOBDC IS INITIAL. "<<<<<< insert
IF SY-BINPT IS INITIAL
AND NOT T003-XSYBL IS INITIAL.
MESSAGE E310 WITH I_BLART RAISING DOCUMENT_TYPE_FOR_BATCH_ONLY.
ENDIF.
ENDIF. "<<<<<< insert
Function module FI_DOCUMENT_TYPE_DATA
Changes in the source text
CALL FUNCTION 'FI_DOCUMENT_TYPE_CHECK'
EXPORTING
I_BLART = I_BLART
I_KOART = I_KOART
I_LANGU = I_LANGU
X_DIALOG = X_DIALOG "<<<<<< change ('.')
X_NOBDC = CHAR_X. "<<<<<<>
No comments:
Post a Comment