on 05-24-2011 10:48 AM
Hai All,
I am currently working on HR req.
I hav to upload my data form my webdynpro screen to Infotype 267.
Can I use BDC recording and program to upload it to the infotype???
Please give ur suggestions....
Thanks in advance.
Nalla.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nalla ,
You can use standard FM to upload data to infotype . get the attributes from webdynpro applicattion . pass it to the below FM in a action tigger .
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0267' " pass infotype
subtype = p_record-subty
objectid = P_record-objps
number = p_record-pernr "employeenumber
validityend = validityend
validitybegin = validitybegin
record = p_record
recordnumber = p_record-SEQNR
operation = INS "insert
nocommit = nocommit
dialog_mode = '0'
IMPORTING
return = return_struct
key = personaldatakey
EXCEPTIONS
OTHERS = 0.
regards
chinnaiya
Edited by: chinnaiya pandiyan on May 24, 2011 4:42 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi nalla,
take this as my suggestion:
in your view, create update button, in that update action update your infotype using above function module.
and about function module paramets.. pass that field attributes to parameters.
if you want to pass multiple records....
get data all the data into one node...
then loop the node and follow the same above method.
Regards
Srinivas
Hai Srinivas,
Thanks 4 ur response.
I want to use three parameters
1)Pernr (emp no)
2) TotalAmount (Variable used as global attribute)
3) Date (Requisition date : sy-datum)
Can u please explain me in coding hw can I pass these parameter in side that FM using that looping.
I have created these as individual context attributes not inside a single node.
Pls give some suggestions.
Thanks in advance,
Nalla.B
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.