‎2006 Oct 02 9:02 AM
hi experts,
iam looking for sample code on budget transfer(senders and reciever tabs,process type is transfer) using tcode FMBB using bapi BAPI_0050_CREATE.
URGENT.
answer will be rewarded
praveen
‎2006 Oct 02 11:45 AM
hi,
I can understand u r problem..but u have to try for it..
I will explain u what to do..
the data u will get from txt or from .xls file..read thye data from the file and seggregate into the internal table according to the field length..and make sure that which fields are mandatory..for this initially what u have to do is get the data from the functional guy ..go to the se37..give bapi which u r using..execute the bapi..and give the inputs..and execute the function module..if it is exeuted succesfully...then u will idea which fields are mandatory..important is check whether the fields which u r using have any conversion routines..in the bapi structure..coing back to the code..after u populate tyhe internal table..
call the bapi...and pass the structure to the function module..and then call commit function..
Hope this may help u..still if u dbts u can raise a query in the sdn..
Njoy SAP
‎2006 Oct 03 3:24 PM
hi ravi,
can u please tell me which parameters must i pass to this bapi.i use the bapi like this.
CALL FUNCTION 'BAPI_0050_CREATE'
EXPORTING
HEADER_DATA = ls_header
HEADER_DATA_ADD = ls_header_add
TESTRUN = 'X'
TABLES
SENDER_ITEM_DATA = lt_item_set
SENDER_PERIOD_DATA = lt_sender_period
RETURN = lt_return.
but it is showing shortdump.it is telling 'it_item' parameter must use. the documentation is telling if recievers and senders tab,if process type is transfer we must use the parameter 'sender_item_data'.
regards
praveen