2008 Nov 07 8:09 AM
I have created an Infotype, on the development server, and now the client wants some of the fields to come already completed.
Thus, it means, I have to take the employee number, and use it ina select. Unfortunately, no matter what I do I can't figure out where that particular pernr is hiding. Could you help me with a piece of code, on getting that.
Kind regards,
2008 Nov 07 8:37 AM
>
> I have created an Infotype, on the development server, and now the client wants some of the fields to come already completed.
>
> Thus, it means, I have to take the employee number, and use it ina select. Unfortunately, no matter what I do I can't figure out where that particular pernr is hiding. Could you help me with a piece of code, on getting that.
>
> Kind regards,
Hey Ahmed What exactly your requirement ?
I didnt understood single piece even......
u created one infotype thats fine...
then what client is expecting?
Regards
Sas
I have created an Infotype, on the development server, and now the client wants some of the fields to come already completed.
Thus, it means, I have to take the employee number, and use it ina select. Unfortunately, no matter what I do I can't figure out where that particular pernr is hiding. Could you help me with a piece of code, on getting that.
Kind regards,
2008 Nov 07 8:15 AM
Hello Ahmed,
PERNR field is already populated while you create entry for a employee for that particular Infotype field is PERNR-PERNR. You can select the information that you want to display by default in the PAI event of the Module pool screen.
Thanks,
Jayant
2008 Nov 07 8:27 AM
Hello,
I have the following code, in PBO, screen 2000:
select single nachn into it_tab from pa0002
inner join pa0000 on pa0002pernr = pa0000pernr.
Evidently, it brings only the first value in p0000. I'd actually need for that pernr, to be the number inputet by the user. I'm quite positive it must be stored somewhere, but I have no idea where.
2008 Nov 07 8:37 AM
>
> I have created an Infotype, on the development server, and now the client wants some of the fields to come already completed.
>
> Thus, it means, I have to take the employee number, and use it ina select. Unfortunately, no matter what I do I can't figure out where that particular pernr is hiding. Could you help me with a piece of code, on getting that.
>
> Kind regards,
Hey Ahmed What exactly your requirement ?
I didnt understood single piece even......
u created one infotype thats fine...
then what client is expecting?
Regards
Sas
2008 Nov 07 8:42 AM
Client is expecting, me, to take data from the tables, and bring the infotype, completed, so that he can look at the data.
Let's say the client, introduces a employee number, my infotype, and clicks create in pa30.
The client wants the fields name, vorname...etc to come completed already with that particular employees data. if let's say employee numer 01 is ahmed mumbasa, when he clicks create the client wants to see:
Name Ahmed
Vorname Mumbasa
Sex Male
Problems with employee None.
Terefore i need the employee number from somewhere, so I can do my select, I think.
2008 Nov 07 8:58 AM
So i understood By clicking the infotype created by you say ex:9002 u created...
AND emp number 120 doesnt exists so in PA30 when u give emp 120 and give infotype 9002 and click create u expecting the employee to be created?
RegarDS
Sas
2008 Nov 07 9:02 AM
No no, if employee number exists, I want to complete my fields with the values. IF employee number, doesn't exist, then leave the fields blank.
2008 Nov 07 10:09 AM
Ok So u want the default values then chech parameter id of the field and pass the values in PBO.
Hope that will solve the problem...But populate the data based on the Check tables not on the tables...
Regards
Sas
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |