on 04-25-2011 8:56 AM
Hi All,
I am new to CRM and trying to understand and use Post Processing Framework. My requirement is i have to make a web service call on saving a opportunity. My understanding is that PPF is analogous to Output management using Tcode: NACE.
So of the possible processing type i feel that i should be using "METHOD CALL".
Now, below are the things that i have tried and i am still not able to invoke the implementation of the BADI: EXEC_METHODCALL_PPF.
I have created an action profile as given in the below Wiki, and feel that there is a few other configurations that need done, so that on saving the opportunity the control flows to the method call that i have configured.
http://wiki.sdn.sap.com/wiki/display/CRM/Actionprofilesin+SAP-CRM
I have also gone through the links on HELP.SAP.COM, but not able to understand and put the bits and pieces together.
So, any help in achieving the above, or guidance/pointers to understand the PPF framework (i have gone through the help portal and still not able to crack it), or any documentation that is a step by step guide to achive a similar requirement would be really appreciated.
Please let me know if you need any more information,
Regards,
Chen
Very basic step I would suggest is have you assigned the action profile to your transaction type?
In addtion your actions should be setup for "execute immediately" or otherwise the action monitor batch job will need to be run in order for them to be processed.
Take care,
Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen,
Thank a lot for taking time to help a novice,
No, i haven't assigned my action profile to a business transaction type, just to be sure i haven't missed anything else, below are the things i have covered/completed so far.
1) SPRO->CRM->Basic Functions->Actions->Actions in Transactions->Create actions with wizard.
a) Create New Action Profile - "ZTEST_OPPORTUNITY_WS_AP", date profile - blank, BOR - "BUS2000111"
b) Action Deifinition - "ZTEST_OPPORTUNITY_WS_AD"
c) Action details -> Processing Time = 'Immediate processing', Changeable in dialog, Exec in Dialod = 'X'
schedule automatically and Display in toolbox - blank.
d) Partner determination for the action - Set this as partner independent
e) Select Processing - Method call - Chose the method of the BADI implemented - EXEC_METHODCALL_PPF
f) Enter action description - "Test"
g) Assign Schedule Condition - None
h) Assign Start Condition - None
i) Complete.
2) SPRO->CRM->Basic Functions->Actions->Actions in Transactions->Assign Action Profile to the Business Transaction Type
Here i see that there is an existing transaction type - CXOP for opportunity, i copied this as "ZXOP" (not sure if this was the right thing to do).
Under Profiles, i changed the Action profile to the one i created above, and let the other values be the same as they were for CXOP
Text Det. Procedure CX000001 Opportunity
Partner Determ.Proc. CX000005 Opportunity
Status Profile CRMOPPOR
Org. Data Prof. CX0000000001 CRM Express - Org.Unit Resp. Employees
Partner Function ORG
Date Profile
Action Profile ZTEST_OPPORTUNITY_WS_AP
AP Procedure
Obj. Ref. Prof.
3) Now i go into "CRMD_BUS2000111" and pick an opportunity, change the description and save it. I tried creating an opportunity too, this is not triggering the call to the BADI method(i have added a pop up message in the method).
Please advise, on how to proceed.
Regards,
Chen
Chen,
I think your problem is you are trying to generate a popup via an action. Actions are meant for background and/or batch processing of data instead. Normally with actions you update the document or create output from the document. Action framework is not meant for dialog control.
What release are you on also? I assume you are working on a relase below CRM 2007, because the SAP GUI transactions for changing data are not supported in the newer versions of SAP CRM.
Take care,
Stephen
Hi Stephen,
Since i had chosen "immediate Processing" i thought the processing would happen within the same session. I guess i misunderstood the flow diagram in the below article.
Anyways, i changed the logic to update a Z table within the method(instead of a message), and executed the opportunity using the WEB UI, still no luck,
Do you think i might have missed something in the configurations steps listed on my previous post?
Regards,
Chen
Hi,
Tried setting the "Display in Toolbar" as 'X', still the same, let me describe my requirement at a high level,
On saving an opportunity, i need to update a few "Z" tables along with few other things, this i am trying to accomplish using PPF (which if i am correct is similar to message control using - NACE). As of now, i have not been able to get PPF trigger the method call.
Please look at my second post where i have given a brief account of all the settings and configurations i have tried, i feel that i have followed the steps as needed but still not able to figure out what is missing.
Thanks for your time and help.
Regards,
Chen
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
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.