‎2008 Oct 31 5:27 AM
Hi All,
We have created a new WBS Element in the existing Project.
The new WBS Element have few Networks, against which the Employees have booked their times.
Now, i have developed a Function module to get the list of Project Definitions ( PROJ-PSPID) to an internal table.
The interface logic has been written as follows.
The inputs to the Function module will be today's date.
1. SELECT OBJID SOBID FROM HRP1001 INTO CORRESPONDING FIELDS OF TABLE IT_TEMP
WHERE OTYPE = 'P'
AND RSIGN = 'A'
AND RELAT = '108'.
2. The field IT_TEMP-SOBID will be converted as WBS Element using the function module CONVERSION_EXIT_ABPSP_OUTPUT.
3. In later steps, the WBS Element's Project Definition will be retrieved and hence the Project Defn data will be pased into final internal table.
In debug mode, it has been observed that the WBS Element of particular Project will not be retrieved.
The Project is created properly and the time has been booked for Network (under the WBS Element).
Still the WBS Element is not getting retireved and hence the Project is not getting passed into final internal table.
What might be the reason for this issue?
Please guide me in this regard....
Regards
Pavan
‎2008 Nov 03 12:32 PM
Hi,
I guess that the field SOBID holds the internal id for the WBS element.
This field should match field PRPS-PSPNR in table PRPS.
If so, then do not use FM CONVERSION_EXIT_ABPSP_OUTPUT at all.
In my system there is no hit for RELAT = 108 so I am not 100% sure.
Use trans SE16N to search in table PRPS with the number from table HRP1001.
Hopefully this solves the problem.
Regards, Johan
‎2008 Nov 03 12:32 PM
Hi,
I guess that the field SOBID holds the internal id for the WBS element.
This field should match field PRPS-PSPNR in table PRPS.
If so, then do not use FM CONVERSION_EXIT_ABPSP_OUTPUT at all.
In my system there is no hit for RELAT = 108 so I am not 100% sure.
Use trans SE16N to search in table PRPS with the number from table HRP1001.
Hopefully this solves the problem.
Regards, Johan