Field BSEG-MWSKZ does not exist in the screen SAPMF05A 0300
My colleague has an issue where we are trying to run RFBIBL00 to debit and credit the same account which runs fine when being manually posted in the system through t-codes FB50 / FB50L. When trying to run RFBIBL00 the error message in the subject appears. Does anyone have any idea what is causing this error message to appear considering that it posts fine when run manually in the system?
I would say (just guessing), that maybe it's a technical problem. Make sure the field BSEG-MWSKZ is initialized with '/' if not Tax Code is required for the corresponding GL Account. If you leave the field empty/blank for RFBIBL00, the program assumes this field has value.
If this is an ABAP program calling RFBIBL00, this can help you:
CONSTANTS: c_nodata LIKE bgr00-nodata VALUE '/'.
init_strukturen_erzeugen(rfbibli0) USING c_nodata,
"Initialize BDC Records With STYPE AND '/'.