on 11-04-2009 6:03 PM
Hi,
I'm creating a Purchase Order via BAPI_PO_CREATE1 but in tb_return I have always an error message (ME045): "ME045 G/L account XXXXXX cannot be used".
I try to do the same purchase order with same data throught t-code ME21N and it's possibile save PO because there aren't errors
I see abap source of BAPI and error happens in this section:
Include: LMEXFF0
Form: feldauswahl_fehler
Code:
SELECT SINGLE * FROM tmodp WHERE spras = sy-langu
AND fauna = 'SKB1-FAUS1'
AND modif = tmodp-modif.
IF sy-subrc EQ 0.
MESSAGE e045 WITH skb1-saknr t162k-knttp tmodp-ftext.
ELSE.
MESSAGE e045 WITH skb1-saknr t162k-knttp tmodp-modif.
ENDIF.
Thanks for help
Try switch E:ME045 - G/L account & cannot be used (please correct) to warning in the Backend using /OME0 (note 815849, )
Maybe that field group settings for additional accounting in the backend ta FS02 - G/L account master, OME9 - AccAssCat
send by SRM PO are not 'Opt.Entry', but 'Display' or 'Hidden'. Check this also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.