‎2006 Nov 27 8:40 PM
Hi All,
I'm using the BAPI_0050_CREATE and I don't obtaining to creat with the correct period.
CALL FUNCTION 'BAPI_0050_CREATE'
EXPORTING
header_data = r_i_header
header_data_add = r_i_header_add
testrun = ' '
TABLES
item_data = i_item_data
sender_item_data = i_sender_item_data
period_data = i_period_data
sender_period_data = i_sender_period_data
return = i_return.
Process = ENTR.
r_i_header is:
FM_AREA = LT01
VERSION = 000
DOCDATE = 20061127
DOCTYPE = 00
DOCSTATE = 1
PROCESS = ENTR
i_item_data is:
ITEM_NUM = 000001
FISC_YEAR = 2006
BUDCAT = 9F
BUDTYPE = 00
FUND = LT01
FUNDS_CTR = LT01015000
CMMT_ITEM = 6020600000
FUNC_AREA = 60600200
TRANS_CURR = UYU
TOTAL_AMOUN = 10,0000
DISTKE = 0
ITEM_TEXT = Test
VALTYPE = B1
i_period_data is:
ITEM_NUM = 000001
BUDGETING_PERIOD =
008
001
. Somebody knows as makes to create a document in the BAPI_0050_CREATE with the correct period?Regards,
Mário jr.
‎2006 Nov 27 9:23 PM
Hi Rob.
Using FMBB standard program it functions with any period.
But when use the BAPI_0050_CREATE it does not function, the proper BAPI palces 001 period.
tanks.
‎2006 Nov 27 8:50 PM
It may have to do with the configuration or budget profile of your fund. Check that it allows period budgets. If it does, check how they can be distributed.
Can you put a budget into a period using the standard programs?
Rob
‎2006 Nov 27 9:23 PM
Hi Rob.
Using FMBB standard program it functions with any period.
But when use the BAPI_0050_CREATE it does not function, the proper BAPI palces 001 period.
tanks.
‎2006 Nov 27 9:32 PM
To the same Fund/Fund Center/Commitment Item you are using here?
Rob
‎2006 Nov 27 9:45 PM
‎2006 Nov 27 9:50 PM
OK - what happens if you remove the distribution key and the total amount from the item?
If that doesn't work, try removing just one of them and then the other.
Rob
‎2006 Nov 27 10:04 PM
‎2006 Nov 27 10:06 PM
‎2008 Dec 25 11:46 AM
Hi ,
Merry X'mas,
Can I use bapi_0050_create for FR52 transaction ?
Its giving me number rage error : ''Number range 01 not found for object BUED_DOCNR in fiscal year 2008" .
We have former budgeting system instead BCS.
Thanks in advance.
Milind .