2009 Feb 05 11:56 AM
I have cleared the data from SDBAP and SDBAR.
I want to upload a data from internal table and i already have uploaded the data in Internal table I_FINAL.
after doin this, am callin FM :
CALL FUNCTION 'ADD_DBA_PLANNING_ALL'
EXPORTING
PLANNING_DESC = PLANNING_DESC
PLANNING_STRUCT = PLANNING_STRUCT
START_IMMED = START_IMMED
*TASK_STR =
*TASK_NAME =
*IMPORTING
*PLANNING_RC =
TABLES
RESOURCE_TABLE = I_FINAL
EXCEPTIONS
PROBLEMS = 1
OTHERS = 2
.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
but the database is still empty.
Please help me out.
Is this FM is right?
Hi,
If i am not wrong you have all the data in your internal table,and want to upload this data from the internal table to the DB table right!
I think you can do this in two ways
1.Upload the data throught he bdc
2.In loop-endloop on internal table simply update the records form the internal table to db table along with commit after every update command.
Hope this solve your problem.
Pooja
2009 Feb 05 12:02 PM
HI Jatin,
I checked in that FM it was not using any commit statment
try below
if PLANNING_RC = 0 " exportting parameter of that FM
COMMIT.
ENDIF.hope it helps.
2009 Feb 05 12:09 PM
Hi,
Use this Fm ALSM_EXCEL_TO_INTERNAL_TABLE
Let me know if you still have a problem will provide u the necessary code.
Thanks
Kalyan.
2009 Feb 05 12:23 PM
IS THIS FM 'ADD_DBA_PLANNING_ALL'
UPLOADS THE DATA OF MY INTERNAL TABLE TO DB13 T-CODE TABLES?
2009 Feb 05 12:32 PM
Hi,
If i am not wrong you have all the data in your internal table,and want to upload this data from the internal table to the DB table right!
I think you can do this in two ways
1.Upload the data throught he bdc
2.In loop-endloop on internal table simply update the records form the internal table to db table along with commit after every update command.
Hope this solve your problem.
Pooja
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |