LSMW to upload data using PA40 (Hiring Action)
Hi All
I have a requirement to upload the data in Actions (Infotype 0000) & Org.Assignment (Infotype 0001) using PA40.
For More information : I have to use the Action type = Hiring , this infogroup has 8 infotypes in a sequence as mentioned below .
1 . 0000
2. 0002
3. 0001
4. 0006
5. 0007
6. 0008
7. 0009
8. 0015
Now to upload the Actions & Org.Assignment data in need only the 0000 & 0001 infotypes .
Now the problem is while recording , once i enter the 0000 Infotype data & save . It goes to the 0002 (which i dont have to upload now).
Now my question is can i skip infotype 0002 while recording ??
After skipping i will enter the 0001 infotype (which is next in a sequence mentioned above) & save it .
After saving it goes to the 0006 (which follows the 0001 in a sequence mentioned above) .
As i dont want to enter the 0006 data now i will come out of it . Now the recording is complete . up to last step in lsmw
"Run Batch Input session " it is working fine .
But when i execute the Batch Input session , I am getting the error "No batch input data for screen SAPMP50A 2000"
Pls let me know the solution for this . Thanks in advance
Hi,
As suggested by experts here, create a new action for data upload with only IT0000 / IT0001 for updation of record as in LSMW PA40 doesnt run properly if there are too many fields for updation. Once these 2 infotypes are uploaded, then you can upload the remaining infotypes individually.
Also pls remember that you use external number range for the Hiring Action through LSMW.
Hope this helps.
Thanks
Ranjeeta
Similar Messages
-
Which method is easiest for uploading data using LSMW?
which method is easiest for uploading data using LSMW (Direct method or batch input method) bcs I am facing lot of problem using batch input method while recording.Even I cannot use direct method using standard program.can anyone tell me some other easiest way for uploading MM01.?
I personally used the direct input way 6 years ago and it was a little bit of a struggle cause I was very new to SAP at the time. But it worked out to be ok in the end. You just have to keep messing with it till the errors are clear and then you can upload for real. The test mode is a nice touch, you can get rid of all of the errors before actually uploading the data.
Regards,
Rich Heilman -
UPload data useing BDC for cost element allocation
Hi ALL,
i have to upload data useing BDC , have to upload data for cost centre accloction table ,What is the T.code and how to do it, i have knows LSMW,
very useful for me
Advance Thanks
NarraUsing BDC means...use theTCODE: SHDB + ABAPer help, it requires program need to create for this....you can have options in BDC is...u can test the data validity before you upload the data
VVR -
Hi Expert,
How to upload data using BDC. I have uploaded using LSMW....now want to know how to upload data using BDCHI
Ask your Abapper.
First you have to record in SHDB. then you have to generate the program and write the code in SE38
For more details please make a search
regards
Prashanth -
Can anyone list problems/errors when uploading data using BDC's and BAPI's?
Can anyone list the problems/errors when uploading data using BDC's and BAPI's?
Hi,
If you are actually creating a BDC to load data pls be more specific.
Data format incorrect. Tab delimited/ etc
Dates in wrong formats
Currency incorrect formats
Missing screens
Wrong transaction code
File not found,
Missing Mandatory fields,
Screen resoultion.
You should always use refresh for your Bdcdata table.
Loop at internal table.
refresh Bdcdata.
regards,
sowjanya. -
How to upload data using SXDA Transaction
HI,
Can any one explain step by step procedure to upload data using SXDA transaction.
I have already uploaded to txt file in Application server.
I have created a project and entered into the sub-project wizard and selected the object type as BKPF and then pressed continue, then i enter into task tab....
There i see convert data , Check file,File split,load data,
In convert data i have selected the program name as RFBIBL00.
In check file i have selected the file type as Physical file and selected the file name from F4 button.
I am fasing the probelm in load data ....
Can any one please explain how to proceed further..Hi Yogesh,
Use this function module
ALSM_EXCEL_TO_INTERNAL_TABLE to upload the excel sheet data into internal table.
Then from the internal table data use KE13 transaction to upload data.
Regards
Arun -
How to upload data using utl_file when you dont know the exact file name
Hi
i want to upload data from a flat file to a table.
i dont know the exact file name. i want to make a search for filename. like i want to make a search on file (say test*) which will give me all the files with test.
i want to upload data using these files.
how can i do this by using UTL_FILE.
Regards
ManishThank you very much.
Thing is previously we are using sqlloader and shell script for loading the data.
now i am creating a procedure (if possible without parameters).
Is there any other way i can do that.
can i make a wild card search using utl_file.
Thanks n Regards
Manish -
For transaction code MD61, I want to upload data using BAPI
Hi,
for transaction code MD61, I want to upload data using BAPI.
Which BAPi I ll call ?
Can anyone suggest me how to do it with any simple example program ?Refer the thread for details about coding-
BAPI_REQUIREMENTS_CREATE
Reards,
Amit -
How to upload data using idoc in lsmw
plz let me know how to upload material using idoc using lsmw. urgent
Hi Vrishali,
refer to the link below:
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
Hope this helps.
Reward if helpful.
Regards,
Sipra -
Difference between uploading data using BDC,CATT
Dear experts,
what is the difference between uploading the data using BDC and CATT tool?
is it only the coding or something else.
and can you explain the situations where we prefer to upload the data using CATT tool.
thanks in advance.Check this thread -
Differences between BDC , LSMW, BAPI,CATT
Regards,
Amit -
LSMW for uploading data in MM01
Hi,
I have never used LSMW.I have to upload data for material master for MM01 Fields are MATNR MTART LGORT MEINS etc from MARA MARC and MAKT table.I have the records in text file for uploading.
Could you please tell me which step will be good?
Direct i/p I do not want to use.
Batch i/p recording-Please explain me step while recording in MM01.
IDOC which msg type to be used and also port no details.
BAPI Which BAPI should be used?
Rgds,
Raguse LSMW BAPI method
Business Object BUS1001006 Standard material
Method SAVEDATA Create and change materia
Message Type MATMAS_BAPI Create and change materia
Basic Type MATMAS_BAPI02 Create and Change Materia -
Getting error while uploading data using the EXCEL( GUI_upload)
Dear Freinds,
I am uploading data from my excel sheet to my Custom table . I am using the below code
call function 'GUI_UPLOAD'
exporting
filename = l_fn
filetype = 'BIN' "'ASC'
has_field_separator = 'X'
tables
data_tab = p_i_ins_db
exceptions
others = 17.
i can see in my internal P_i_ins_db ...all the data is coming in encrypted format.
The flat given to me is the .CSV file .
Could any one please let me know how i can upload the data which is there in .csv file.
regards
syamalaHi Syamala,
Before using the GUI_UPLOAD to upload the data from the excel file to the internal table,you can try usng the Function Module 'SAP_CONVERT_TO_TEX_FORMAT' or 'SAP_CONVERT_TO_CSV_FORMAT' as it helps n formatting the data.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari. -
In RFC how to uploading data using bdc
Hi, Experts
In RFC how to use bdc program for uploading data
any example plz.
my requrement for tcode ME21.
thank you in advance.
with best regards
saiThank u reply
my requirement is in function moudle
( Program will be called from non-sap system with the data in the form of table as per the structure given above. Then the program will do the some validation for the data. If data validated correct, BDC will be run for creating DO
condition is )
ex:
if T_itab KNTTP = K,
Run BDC for transaction ME21.
( in that you should not use upload and ws_upload )
in put paramer is taking value for structure (non- sap ) run the bdc update in sap system.
plz any sample program
regards
sai -
UPLOADING DATA USING BAPI_DOCUMENT_CREATE2
Hi Friends,
I am uploading data for CV01N using FM "BAPI_DOCUMENT_CREATE2",
it is updating the data successfully,
but for my requirement i need to change the value of
RC29P-POSTP Bom Item Category in the DOCUMENT STRUCTURE , it is default taking as "D", my requirement with "T" also.
I am not finding the correct field in the Function module to mapp this POSTP (Bom Item Category ).
Can any one suggest, as its urgent.
Otherwise can any one suggest FM to create DOCUMENT STRUCTURE ( CV11 ) with above requirement.
Regards,
Sivaram.
Message was edited by:
Sivaram Prasad Gadde
Message was edited by:
Sivaram Prasad GaddeHi Frank,
Did you manage to figure out what the problem was?
Thank you.
Regards,
Bruno -
Flat file to upload data using BDC for transaction MM01
Hi
I am trying to update data using bdc code has been attached below using a txt file.
It is updating the first set of data into the table mara ,but for the rest it is not
All the data from txt file has being loaded to internal table , but the problem is it does not gets updated from internal table to the database .
Only the first set of data has been loaded ,<u><b> rest of the data is not loaded</b></u>
<u><b>content of txt file</b></u>
zsc zsc kg
zsv zsv kg
zsb zsb kg
<u><b>Actual code</b></u>
report ZMAT_UPLOAD
no standard page heading line-size 255.
types declaration..........................................................................
types : begin of t_mat,
matnr(20),
desc(50),
uom(5),
end of t_mat.
internal table and workarea declaration.......................................
data : i_mat type table of t_mat.
data : wa_mat type t_mat.
include bdcrecx1.
start-of-selection.
moving the flat file content to internal table................................
CALL FUNCTION 'UPLOAD'
EXPORTING
FILETYPE = 'DAT'
TABLES
data_tab = i_mat.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
perform open_group.
loop at i_mat into wa_mat.
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_field using 'BDC_OKCODE'
'=AUSW'.
perform bdc_field using 'RMMG1-MATNR'
wa_mat-matnr.
perform bdc_field using 'RMMG1-MBRSH'
'P'.
perform bdc_field using 'RMMG1-MTART'
'ZOH'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(01)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'MAKT-MAKTX'
wa_mat-desc.
perform bdc_field using 'BDC_CURSOR'
'MARA-MEINS'.
perform bdc_field using 'MARA-MEINS'
wa_mat-uom.
perform bdc_field using 'MARA-MTPOS_MARA'
'NORM'.
perform bdc_transaction using 'MM01'.
endloop.
Perform close_group.Hi Sumant,
just concentrate on bold one
report ZMAT_UPLOAD
no standard page heading line-size 255.
types declaration..........................................................................
<b>
data : begin of t_mat occurs 0,
matnr(20),
desc(50),
uom(5),
end of t_mat.</b>
internal table and workarea declaration.......................................
<b>*data : i_mat type table of t_mat.
*data : wa_mat type t_mat.</b>
include bdcrecx1.
start-of-selection.
moving the flat file content to internal table................................
CALL FUNCTION 'UPLOAD'
EXPORTING
FILETYPE = 'DAT'
TABLES
<b>data_tab = i_mat.---> t_mat.</b>
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
perform open_group.
<b>loop at i_mat into wa_mat.------>loop at t_mat.</b>
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_field using 'BDC_OKCODE'
'=AUSW'.
perform bdc_field using 'RMMG1-MATNR'
<b>wa_mat-matnr.---->t_mat-matnr(change in this for ur wa to t_mat.</b>
perform bdc_field using 'RMMG1-MBRSH'
'P'.
perform bdc_field using 'RMMG1-MTART'
'ZOH'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(01)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'MAKT-MAKTX'
wa_mat-desc.
perform bdc_field using 'BDC_CURSOR'
'MARA-MEINS'.
perform bdc_field using 'MARA-MEINS'
wa_mat-uom.
perform bdc_field using 'MARA-MTPOS_MARA'
'NORM'.
perform bdc_transaction using 'MM01'.
endloop.
Perform close_group.
Reward points for helpful answers.
Thanks
Naveen khan
Message was edited by:
Pattan Naveen
Message was edited by:
Pattan Naveen
Maybe you are looking for
-
Consignment issues,delivery,return.plese guide customise
hi, consignment problem and customise.
-
Filter for Attestation list IDM v7
All, I am trying to create a filter on the Access Approval List form to allow the attestor to filter which scan(s) etc. they see at any one time. So I have the following: <Field name='entitlementFilter'> <Display class='Text'> <Property name='title'
-
Hi I am new to portal development am ABAP developer . i got one task in portal development in that i have to do three changes 1.date format on the page 2. email address is not populating 3. contact number is not popluating how can analyze and where i
-
Fixing System Control Manager (SCM) Crashing from Unhandled Error in Windows 8
If you get an unhandled error message when rebooting your laptop after installing SCM v10.013.03016 check to see if you have Visual C++ 2012 Redistributable installed on you PC. If not, download from Microsoft. I installed version 11.0.51106.1 and SC
-
My compiled program will not execute on my PC.
I am new to Java so is there anyone out there who can help me with a problem. I have a compiled Java program, the basic Hello World beginner's file. The file will compile, but not execute. It will execute on other computers, but not mine. Can anyone