on 09-08-2012 8:47 AM
HI,
The requirement is to selectively delete modes from PDS on the basis of either Person responsible or resource name.
In Badi /SAPAPO/CURTO_CREATE there is a method to change CIF structures.There is a possibility to it by writing logic inside this.But selection criteria is stringent. We want to filter modes on the basis of resource name.But resource name is not populated inside CIF stuctures(while debugging inside Badi)
ct_activities,ct_modes-resname field i dont get resource name in this. So I am not able to use above selection criteria.
How can I achieve my requirement?
Hi,
You can get resource name and id as follows:
CIF_IMPORT method's parameter CT_MODES structure (/SAPAPO/CIF_CURTO_MODE) gives you KAPID (/SAPAPO/KAPID). Then, read /SAPAPO/RESKEY table for resource name and id from the record whose R3KAPID (/SAPAPO/CRES_R3OBJID) value matches with that of KAPID. Please refer the function module /SAPAPO/CRES_KAPID_GET_RESUID for details.
Thanks,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.