How to upload records into Infotype 382(Awards)
Hi,
Could anyone suggest me how to upload records into infotype 382(Awards) of an Employee.
For solutions points rewarded.
Regards,
Radhu
Hi
you can develop a <b>BDC</b> for transaction <b>PA30</b>
using infotype 382.
(or)
can upload using batch input recording in <b>LSMW</b>.
regards,
Thangesh
Similar Messages
-
How to upload data into IT0000 using ABAP-HR program
Hello,
I'm required to upload data into multiple infotypes [IT000, 0001, 0002, etc] using single input text file. Can anyone able to guide me, how to upload data into IT0000 using ABAP program ?
Thanks in advance.
Regards
Prabhakar.
Message was edited by:
Prabhakara MuthyalExample code for HR_MAINTAIN_MASTERDATA to COPY IT0002
DATA: INT_0002_FINAL TYPE STANDARD TABLE OF PA0002 WITH HEADER LINE.
DATA: VALUES LIKE PPROP OCCURS 10 WITH HEADER LINE,
RETURN LIKE BAPIRETURN1,.
LOOP AT INT_0002_FINAL.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-PERNR'.
VALUES-FVAL = INT_0002_FINAL-PERNR.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-BEGDA'.
VALUES-FVAL = INT_0002_FINAL-BEGDA.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-ENDDA'.
VALUES-FVAL = INT_0002_FINAL-ENDDA.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-nachn'.
VALUES-FVAL = INT_0002_FINAL-NACHN.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-gblnd'.
VALUES-FVAL = INT_0002_FINAL-GBLND.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-vorna'.
VALUES-FVAL = INT_0002_FINAL-VORNA.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-rufnm'.
VALUES-FVAL = INT_0002_FINAL-RUFNM.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-name2'.
VALUES-FVAL = INT_0002_FINAL-NAME2.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-inits'.
VALUES-FVAL = INT_0002_FINAL-INITS.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-famst'.
VALUES-FVAL = INT_0002_FINAL-FAMST.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-gbdat'.
VALUES-FVAL = INT_0002_FINAL-GBDAT.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-sprsl'.
VALUES-FVAL = INT_0002_FINAL-SPRSL.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-anzkd'.
VALUES-FVAL = INT_0002_FINAL-ANZKD.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-natio'.
VALUES-FVAL = INT_0002_FINAL-NATIO.
APPEND VALUES.
* maintain master data
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
PERNR = INT_0002_FINAL-PERNR
ACTIO = 'COP'
BEGDA = INT_0002_FINAL-BEGDA
* ENDDA = INT_0002_FINAL-ENDDA
SUBTY = SPACE
NO_ENQUEUE = SPACE
DIALOG_MODE = '0'
TCLAS = 'A'
IMPORTING
RETURN1 = RETURN
TABLES
PROPOSED_VALUES = VALUES
* MODIFIED_KEYS =
EXCEPTIONS
OTHERS = 1.
IF RETURN IS INITIAL.
WRITE:/' Done....'.
ELSE.
WRITE:/ RETURN-ID, RETURN-TYPE, RETURN-NUMBER, RETURN-MESSAGE_V1, RETURN-MESSAGE_V2, RETURN-MESSAGE_V3, RETURN-MESSAGE_V4.
ENDIF.
CLEAR VALUES.
REFRESH VALUES.
ENDLOOP. -
How to upload records in two different interface tables through WebADI.
We have created custom integrator with two different interfaces to insert records in AP_INVOICES_INTERFACES and AP_INVOICE_LINES_INTERFACE. Also defined the custom layout in which we mention the header and lines column info to be displayed in the spreadsheet. When I tried to create document to upload the records into the interface tables, could find two different interface for header and lines , when we select the header and upload records into the AP_INVOICES_INTERFACES table it was successfull. But couldn't upload records inserted in Lines interfaces tables. How do we upload records in both the table do we have constraint with Web ADI can insert records to only one interface tables. Any recommendation highly appreciated.
Raghu,
Thanks for the reply,
I have a concern, But if you are connecting a another database you have to create one more subreport and each time am creating connections across databases we have to create subreport and go for the design to show the record. Is it any way to have a common field or union records approach in crystal report 2008.
For Example :
Approach 1 :
Emp name Emp salary (Common Header)
Variable Field1 Variable field2 ( Iterations to be done here for records)
Variable field 1 contains ---> emptbl(employee name), b.emptbl(employee name) (A database, b database, c database or any .db)
Variable field2 contains ---> emptbl (salary info between databases)
Approach 2:
getting all the records and union all the records
Thanks
Murali Sri -
How to upload data into form of Oracle EBS R12 using ATS ver 9.0
Hi experts,
Could you please guide me how to upload data into form on Oracle EBS R12 using Oracle Application Testing Suite verson 9.(The simpliest way)
For example: I need to create user account on Oracle EBS. Normally, I use Dataloader to upload the data, however it just can upload one by one record, cannot upload multi record at same time. Moreover if the performance of server is low, so I will get the issue when using dataloader.
Thanks in advance
Best Regards
HieuHi you can create Virtual users to enter data. Note than you have to name the objects accordingly.
For Example default recording provided by Open script is ObjectNAME_(Index No of the object).
when you record one iteration the name of any object would be ObjectNAME_(0)
You can then create virtual users so the index will increment as the total number of Virtual users increases. Also you have to handle which row of your test data would get mapped to which Virtual user in the script run session.
Thanks -
How to upload data in infotype 0025 (Appraisals)
I want to make an upload program for infotype 0025 (Appraisals). The program will upload the data in 'Potentials' but I cannot make a recording work in it. Each time the system posts the data into next row and recording does not work since the line number is fixed in recording. There is no + sign to add a row at the top. Can someone please tell me a way to do this or if there is a Function Module that can upload data into infotype 0025.
ThanksDear Sohaib,
This upload could not be performed by BDC recording. You will have to make use of around four Appraisal BAPI's to create an entry in Infotype 25(Appraisals). I had the same scenario of uploading appraisal data here at NBP(National Bank of Pakistan). Here is the link for the article i wrote,covering this topic in depth,along with the complete solution:
http://scn.sap.com/docs/DOC-32084
If you like this article,kindly flag it as a 'Correct Answer.
Regards,
Fahad -
Query on uploading data into infotype
Hi,
I am in search of a method to upload data into infotypes IT0001,HRP1001.
I have serached and found we can do it using BDC,LSMW and through Hr_INOFYTPE_OPERATION--fm.
But in my flat file am having pernr ,begda,endda and supervisor..
Some of my searches said if i had a pernr in flat file its impossible to do with HR_INFOTYPE_OPERATION.
CAN ANYONE PLS SUGGEST ME THE BEST WAY TO DO?
ThanksHi Salini
Using BDC or LSMW might lead to some inconsistencies.
Uploading of various infotype data depends upon its volume.
There is a FM: HR_MAINTAIN_MASTERDATA through which you can upload the data. But this does for one record at a time. So the performance gets affected at times. Before calling this FM each time, clear the buffer using the FM: 'HR_PSBUFFER_INITIALIZE'. This will be of great help.
Incase you want to upload all your data at once, you can use BAPI_HRMASTER_SAVE_REPL_MULT.
Let me know incase you need any help in any of these.
Regards
Harsh -
How to display records into a non table base block..
Hi,
Can anybody help me how to display records into a non table base block....
Find below is my coding but it only display the last record in the first line
in the block.
PROCEDURE CREATE_CARTON_QUESTION IS
CURSOR car_c IS
select /*+ rule */ question_id, question_description
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
v_found VARCHAR2(10);
v_status boolean;
v_error varchar2(150);
v_count number;
car_r car_c%rowtype;
begin
begin
select count(*) into v_count
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
exception
when no_data_found then
v_count := 0;
end;
if v_count > 0 then
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
end loop;
end if;
end;
Thanks in advance.
Regards,
JunHi SNatapov,
Thanks for you reply but still I get this error...
FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
Find below is the code....
begin
go_block('la_carton');
first_record;
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
next_record;
end loop;
end;
Hoping you can help me this problem...
Thanks in advance.
Regards,
Jun -
How to upload pdf into iCloud?
I am very sattisfied with uploading .doc and .xls into iColoud (sorry about the fileextetions ).
From time to time I want to upload pdf files into iCloud also.
How to upload pdf into iCloud?
Regards Firak in OsloHi Prasad,
I dont think SAP provides any functionally for the same.
The least you can do is ask for a Text file instead of PDF file & use FM "GUI_UPLOAD" to upload the same.
Best regards,
Prashant -
How to upload Materials into SAP
HI,
How to upload Materials into SAP using MATMAS05 Idoc type?use the lsmw standard existing bapi or idoc method to upload the data into sap
-
How to upload forecast into sap.
how to upload forecast into sap.
Hi
You can use MD61 - create planned independent requirements or MM17 - Mass Maintenance
Thanks !
E.Avudaiappan -
How to upload data into Classification-MM02 for each MATNR By using BAPI
Hi all
How to upload data into characterstic value in classification- MM02 for each MATNR by using BAPI.Hi Siva,
Please try BAPI BAPI_OBJCL_CHANGE.
The object key should be material number and object table should be MARA.
Regards
Hiren K.Chitalia -
How to upload data into ztables
Hi all,
How to upload data into ztables
plz sent the detail description as well sa sample programsHi Narendra,
Sample code to update the Z db table :
REPORT yupload.
TABLES ybtab.
DATA itab LIKE ybtab OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
filename = 'C:\data.txt'
filetype = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = itab
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
INSERT ybtab FROM TABLE itab.
ENDIF.
Schedule this program as a Background Job with required time paramters .
Regards,
Ramganesan K. -
Stuck with a problem while inserting a record into infotype
Hi Gurus,
I have to insert all active record into 378 infotype. At particular pernr hr_operation_infotype is throughing with an error stating 'E00 058Entry does not exist - check your entry' . How to rectify it.
Ravierror message is 'E00 058Entry does not exist - check your entry '
My code is as follows
INFOTYPES : 0378.
DATA: BEGIN OF abc1 OCCURS 0,
pernr TYPE pa0000-pernr,
stat2 TYPE pa0000-stat2,
begda TYPE pa0000-begda,
END OF abc1.
DATA lt_pernr_pa0000 LIKE TABLE OF abc1.
DATA ls_pernr_pa0000 LIKE abc1.
DATA l_subrc LIKE sy-subrc.
DATA l_return LIKE bapireturn1 VALUE ' '.
DATA begda LIKE sy-datum.
DATA endda LIKE sy-datum.
CLEAR: ls_pernr_pa0000, lt_pernr_pa0000.
SELECT pernr stat2 begda
INTO CORRESPONDING FIELDS OF TABLE lt_pernr_pa0000
FROM pa0000
WHERE stat2 = '3' AND endda = '99991231' and pernr = 198.
LOOP AT lt_pernr_pa0000 INTO ls_pernr_pa0000.
REFRESH p0378.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = ls_pernr_pa0000-pernr
infty = '0378'
endda = '99991231'
IMPORTING
subrc = l_subrc
TABLES
infty_tab = p0378
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
IF l_subrc = 0.
IF p0378-event = 'open' AND p0378-subty = 'open' AND
p0378-pernr = ls_pernr_pa0000-pernr.
EXIT.
ENDIF.
ELSE.
locking the pernr ********************
CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
EXPORTING
number = ls_pernr_pa0000-pernr
validitybegin = ls_pernr_pa0000-begda
IMPORTING
return = l_return.
change the end date to 12/31/2007*************
IF l_return-number IS INITIAL.
p0378-pernr = ls_pernr_pa0000-pernr.
p0378-endda = '99991231'.
p0378-begda = '20070909'.
p0378-subty = 'OPEN'.
p0378-event = 'OPEN'.
p0378-barea = 'US'.
MODIFY p0378 INDEX 1 TRANSPORTING pernr endda begda subty event
barea.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0378'
number = ls_pernr_pa0000-pernr
record = p0378
operation = 'INS'
IMPORTING
return = l_return.
ENDIF.
unlocking the pernr ********************
IF l_return-number IS INITIAL.
COMMIT WORK AND WAIT.
ELSE.
ROLLBACK WORK.
EXIT.
ENDIF.
CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
EXPORTING
number = ls_pernr_pa0000-pernr
validitybegin = ls_pernr_pa0000-begda
IMPORTING
return = l_return.
ENDIF.
ENDLOOP.
ENDFUNCTION. -
How to insert records into an Excel file
i was wondering if anyone knows how to insert records from a pl/sql block straight into an excel file
try with spool or UTL_FILE...
Re: CSV into Oracle and Oracle into CSV
SQL> spool c:\test1.csv
SQL> select substr(str,2,length(str)-3) from (select regexp_replace(column_value,'\s*<[^>]*>[^>]*>',',') str from table(xmlsequence(cursor(select * from test_emp))));
SUBSTR(STR,2,LENGTH(STR)-3)
9999,fredi's,CLERK,2345,10-OCT-06,1250,123,20
4567,STEWART,ANALYST,3456,02-APR-07,3200,215,30
2345,Cockrel,CLERK,7566,23-JAN-82,800,30
3 rows selected.
SQL> spool off; -
How to add record in infotype 82 and correspondingly to infotype 2001?
Hi All,
I need to create leaves. I can do it by using "HR_INFOTYPE_OPERATION" and create records in infotype 2001.
But I also need to create corresponding records in infotype 0082.
I have the leave types as stored in infotype 2001, like PCPI, PVCL etc.
But I found that the SUBTY value stored in infty 2001 is different from that stored in infty 0082.
How can I find the relation between these two SUBTY so that I can create the records in both infotypes.
Please reply back if someone knows how to create the leaves in these 2 infotypes.Hi Ganesh,
I could get the relation between the SUBTY in infty 2001 and infty 0082 from the table T554S.
But I could not add the records to the two infotypes simultaneously. I am adding them one after another.
Maybe you are looking for
-
My new Ipod Nano 7 does not come up as a drive on my computer. The computer clunks to acknowledge a new device is attached but it is not shown in explorer. ITunes DOES open as it should, but it gives me a message "An IPod has been detected but it cou
-
Convert Date function to oracle
The follwoing Sql for Sqlserver, what is the equivalent function in oracle. Need help on this. YTD: YOUR_DATE_FIELD between DATEADD(yy, DATEDIFF(yy,0,@Prompt('BEGIN_DATE','D',,mono,free)), 0) AND @Prompt('END_DATE','D',,mono,free) MTD: YOUR_DATE_FIEL
-
DDX for disassembling packaged files
Hello, I created a very basic pdf portfolio using assembler service. My ddx for the same - <DDX xmlns="http://ns.adobe.com/DDX/1.0/"> <PDF result="Assembled Form"> <PDF source="cover" baseDocument="true"/> <PackageFiles> <PDF source="
-
Question Regarding Security Updates 2006-005 and 2006-006?
Okay I just noticed Apple Security Update 2006-005 and 2006-006 are available for download. Has anyone had any problems with these updates? I remember the Security Update 2006-001 was a nightmare for me -- Safari was broken after that update I had to
-
Aaa authentication using tacacs+ for LAP
WIth Autonomous AP, you can configure aaa authtentication using Tacacs+. In lightweight AP, do u have similar function where u authenticate using tacacs+ when u telnet/ssh into the LAP after it is registered to the WLC? Rgds Eng Wee