Hi Experts,
I want to create FI Doc through BAPI BAPI_ACC_DOCUMENT_POST. but I do not know how to get the below fields for import parameters DOCUMENTHEADER:
OBJ_TYPE
OBJ_KEY
BUS_ACT
I try to use the function module GET_NEXT_FI_DOCUMENT_NUMBER to get above fields but it do not work, Because OBJ_KEY is the FI doc number, How I can get the FI doc number before calling the BAPI. I try to use the function module NUMBER_GET_NEXT to get next doc number but it seems that it is not a good idea, Would you please give me an example for this issus?? Thanks very much and you will be rewarded if it is helpful.