Professional Documents
Culture Documents
INDEPENDENT
REQUIREMENTS MADE
EASY AUGUST 6, 2009|IN SAP |BY PASCAL
You only need to go through the forums on SDN to realise
that there are people out there that actually write
programs or develop LSMWs to upload Planned
Independent Requirements (PIR) into SAP. Whilst I am
sure that there are many valid reasons for wanting to
develop your own upload programs, it is a shame to do so
especially in light of the fact that SAP offers standard
methods for you to do this. I know of at least two:
You can use the BAPI BAPI_REQUIREMENTS_CREATE.
This BAPI is RFC enabled so it is a good candidate if you
are using an external application to perform your forecast
and want to replicate them in SAP by making a remote
function call.
Another option is to use the standard upload program
RM60IN01 which is a direct input program that reads a
formatted file to create your PIRs in SAPs demand
management (the RM60IN01 program can also be used in
LSMW in concert wth object 0180).
Select the menu entry Goto / DX tools. This will take you
to the Data transfer tools screen. In that screen type the
information as it is indicated below.
From this screen we are going to generate a template
upload file. Youll be able to use that file to get a feel for
what data has to be uploaded, where it fits in the file and
how it has to be formatted if you want to successfully
upload your planned independent requirements.
So the next step is to generate that file by populating it
with some demo data. To do that, click the From Test
Program button located at the top of the screen. In the
next screen that comes up, type the data that
corresponds to the material for which we created some
requirements earlier on and just click execute.
Well now try to upload a new file. This one will have two
materials and for the second material, well upload not
monthly but weekly buckets.
So lets upload our new file and process it.
Note that you can, execute the program in test mode first
if you prefer.