on 07-10-2006 2:17 PM
Hello all,
From a custom i-view in the portal with some name and address fields, i would like to call accounts(business partner) change (if an account exists) or call account creation, automatically filling in some fields from my custom i-view.
So the question is:
- Can i automatically open account maintenance for a certain account, via an url call or something?
Is there anyone who knows how to realize this?
Kind regards,
Martijn de Jong.
Hello Gregor,
Thnx for yout input.
I'm gonna proces this FM in a BAPI which i will call from my Web Dynpro App. But how do i then open this url automatically? Is that just a simple bsp call from within my BAPI?
Kind regards,
Martijn.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gregor,
My Web Dynpro App will be an application in an I-view in the portal. Basically what i want is that from that new application i open the standard PC-UI application in the portal for maintaining business partners with a business partner which i used in my WD-application. Any suggestions?
Also i saw in your code example that you have an exporting parameter "ep_base_url", what do i put in that variable?
Kind regards,
Martijn.
Hello Martijn,
1. I would suggest to provide a link to the PC-UI Application.
2. The Base URL is: http://server.test.com/irj/portal
Regards
Gregor
Hello Gregor,
It just works partly. As a testcase, i linked the url to a custom tabpage which i added to the BP. This results in showing the portal content studio, which is the start page of the portal, but within the new tabpage.
So the link opens the portal, but doesn't goto the application.
The created link (without the base url):
/roles/com.sap.pct.crm.SalesManager/AccountsProducts/nf/nf_2/
MaintainAccounts?SAP_QueryString=
CRM_OBJECT_TYPE%3dACCOUNTCRM
%26CRM_BOR_TYPE%3dBUS1006
%26CRM_OBJECT_ID%3d300000
%26CRM_LOGSYS%3dCROCLNT010
%26sap-syscmd%3dnocookie
&~logical_system=CROCLNT010
&~object_type=BUS1006
&~object_key=300000
Some more suggestions?
Regards,
Martijn.
Message was edited by: M. de Jong
Message was edited by: M. de Jong
Hello Martijn,
can you please add some line breaks to the URL that it gets wrapped. Now we have to scroll to read your message.
Is the Object Link working in the Portal PC-UI with that User and for this Object? First try to get it working there. Then you can go on trying it in your own application.
Regards
Gregor
Hello Martijn,
I presume that you have the Portal installed with the Business Package for CRM. Now you should get a User which exists in the Portal and CRM. Assign this User in CRM the Role SAP_PCC_SALES_REP and in Portal SalesRepresentativeFPS.
When you now logon to the portal you should see in the Main navigation the Point Account. Open it and then open Contacts. Search of a Contact. In the list of Contacts you should see a link back to the Company of the Contact. This is a Object Link.
With that User account you also can test the Function Module mentioned before. That should return you a correct Link.
Regards
Gregor
Hello Martijn,
to create the Link in your iView you can use the Function Module CRM_PRT_GET_SINGLE_NAV_INFO in CRM which is used in CRM for the Object Link generation.
Here a small example in ABAP which I use to create the link from a R/3 ALV to a CRM Opportunity:
*
* Create Portal URL
*
call function 'CRM_PRT_GET_SINGLE_NAV_INFO'
exporting
bor_object_type = 'BUS2000111'
crm_object_type = 'OPPORTUNITYCRM'
object_id = opp_id
method = 'DEFAULT'
* LOGICAL_SYSTEM =
nav_model_version = '0'
ep_base_url = ep_base_url
ep_version = '6.0'
importing
ex_url = ex_url
* TABLES
* IM_PARAMETERS =
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
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.