on 2008 May 19 10:11 AM
Hi BW Experts,
I need a help on enhancing the standard Data source, 0PROJECT_ATTR. I am trying to add WBS Element (POSID) and network (AUFNR).As per Project Systems, each project will have more than 1 WBS and Networks. I have written the enchancement code but it is picking the first record for WBS and Network. I donu2019t know how to pick the second WBS Element for a particular project.
I have attached the code that I have tried.
When '0PROJECT_ATTR'. "Project System Datasource
Data : L_S_BIW_PROJ like BIW_PROJ,
l_tabix2 type sy-tabix.
LOOP AT i_T_DATA into L_S_BIW_PROJ.
l_tabix2 = sy-tabix.
select single PSPNR from PROJ into V_PSPNR where PSPID EQ L_S_BIW_PROJ-PSPID.
select single POSID from PRPS into L_S_BIW_PROJ-POSID where PSPHI EQ V_PSPNR.
select single AUFNR from AFKO into L_S_BIW_PROJ-AUFNR where PRONR EQ V_PSPNR.
MODIFY i_t_data from L_S_BIW_PROJ index l_tabix2.
ENDLOOP.
Can you please help on this issue.
Thanks,
Jelina.
Just use the attribute of 0wbs_element, you are approaching the problem from the wrong side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.