2010 Dec 29 3:17 PM
Hi All,
i have used two BAPI's in my Z program to upload data from flat file to sap-system (BAPI_REQUIREMENTS_GETDETAIL and BAPI_REQUIREMENTS_CHANGE) and i uploaded the Monthly Data from the flat file on sap system successfully.
but i have to also upload the Weekly Data on the sap system using BAPI.
is there any BAPI for the same or what can be the solution for the uploading weekly data on sap system ?
Please reply me.
Thanks in advance..
Edited by: Prajapati_Shyam on Dec 29, 2010 4:19 PM
Hi All,
i have used two BAPI's in my Z program to upload data from flat file to sap-system (BAPI_REQUIREMENTS_GETDETAIL and BAPI_REQUIREMENTS_CHANGE) and i uploaded the Monthly Data from the flat file on sap system successfully.
but i have to also upload the Weekly Data on the sap system using BAPI.
is there any BAPI for the same or what can be the solution for the uploading weekly data on sap system ?
Please reply me.
Thanks in advance..
Edited by: Prajapati_Shyam on Dec 29, 2010 4:19 PM
2010 Dec 31 10:33 AM
2011 Jan 03 4:25 AM
Hi Prajapati,
I need some more details.
You said you are using these BAPI's to upload monthly data. Which is the tcode that you use in front end to upload monthly data?
Which tcode do u you to upload weekly data? Is it the same tcode ?
Regards,
Jovito.
2011 Jan 04 10:16 AM
Hi Jovito,
thanks for your reply,
i developed a Z program to upload monthly data as well as weekly data into tcode MD61 by selecting the radio button weekly or monthly but i am not able to upload the weekly data as i didnt' get any BAPI OR any other logic to upload weekly data Or not able to use the existing BAPI BAPI_Requirement_create , because the upload file is in monthly format.
MD61 tcode can be used for both data (Monthly or weekly data).
can you suggesst me any BAPI to upload the weekly data or any other logic for the same
thanks & regards
Prajapati
2011 Jan 04 10:49 AM
Hi,
You can use BAPI_REQUIREMENTS_CREATE.
Under REQUIREMENTS_SCHEDULE_IN-DATE_TYPE specify 2
REQUIREMENTS_SCHEDULE_IN-DATE_TYPE=2.
Its an internal table so code accordingly.
Values for REQUIREMENTS_SCHEDULE_IN-DATE_TYPE
1 Day
2 Week
3 Month
4 Posting period
5 Planning calendar period
Regards,
Jovito.
2011 Jan 05 7:40 AM
Hi Jovito,
Can this BAPI (BAPI_REQUIREMENTS_CREATE) do automatic conversion into Monthly Data because flat file contains monthly Data ?
Regds
Prajapati
2011 Jan 05 9:07 AM
Hi,
I have not tried the BAPI so cant be completely sure.
But under normal circumstances, you will have to take care of the conversion from Monthly to Weekly and supply the values.
Regards
Jovito.
2011 Feb 07 2:54 PM
yes..it's done but the file format should be weekly/daily format.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |