on 01-14-2008 2:05 PM
Hi all,
here i am using RFC connection for getting the values from WBS table PRPS for fields PSPNR POSID and USR11..whenever i m running the FM in R3 i m passing these values to some Ztable in SRM..one strange thing is that if a POSID field contains 'T-08245000.F002' in SRM i m getting as 'T08245000F002'..missing "-."..how to get those values also...
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi
SAP PS uses templates to show the WBS element etc in a configured template form but stores the data without these templates. The stored data is converted in the template form while showing on screen.
In SRM, in the standard fields it should work. But, if you have custom fields, then there shd be a 'conversion' FM which shd do the trick. Am not sure which FM in PS does the conversion job. Why don't you try Atul's FMs to get the data ?
Best regards
Ramki
In R3:In ZFM(RFC enabled)
SELECT PSPNR POSID USR11 FROM PRPS INTO CORRESPONDING FIELDS OF
TABLE LT_PRPS WHERE USR11 = 'X' .
In SRM:in Zreport:
CALL FUNCTION 'ZFM_WBS_TO_SRM' DESTINATION v_destination
TABLES
LT_PRPS = LT_ZTWBS_R3.
*Sending to ztable ZTWBS_R3
IF NOT LT_ZTWBS_R3[] IS INITIAL.
MODIFY ZTWBS_R3 FROM TABLE LT_ZTWBS_R3.
COMMIT WORK.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.