How to get business partner name from sap user
Hello,
We want to get in the code the business partner name from sap user.
What function modules should we use to perform it?
Thanks in advance,
Sergey
HI,
You can use the FM:CRM_CENTRALPERSON_GET
pass the input parameter IV_USERNAME as the user name
You can get the result in the export parameter EV_NAME as user's first name last name
regards,
PP
Similar Messages
-
How to get Business Partner Number from Position Code
Please help me in determining the Business Partner assigned to a particular position in the Organizational Structure.
Short code of the position is available in table HRP1000 field SHORT.
Thanks in advanceDear Saurabh
You can determine business partner assigned to organization by using PDP.
When you assign partner to organization, in relationship tab of partner we notice relationship of "is employee responsible".
we can use this relation to determine patner assigned to org
Step 1: Define partner function
Step 2: Define Access Sequence..Here use "BP relationship" and specify the partner function that you are going to determine from organization.
Step 3: Define PDP
Step 4: Goto business partner relationship and select maintained sales org and your partner function.
Your pdp will be able to determine partner assigned to organization. -
How to get business partner no from guid of shopping cart
Hi experts,
is there any relation between guid of shopping cart and business partner in but000 table , here we need to find the approver for the shopping cart based on guid , when it is just being created in single step approval. we are using process controlled workflow in srm 7.0.
Thanks
kamakshiHi Kamakshi,
I do not which FM can do the trick. But you can build your own FM by searching table swiwiobjct, provide below data:
- objtype = 'BUS2121'
- objkey = shopping cart number
- wi_stat = COMPLETED
- wi_rh_task = TS10007991 (or other tasks to set SC status to released)
Then the value(s) of field wi_aagent should be the user ID of approver.
Regards,
Donald -
How to link the Business Partner with the SAP User ID.
Hi,
We are working on a scenario wherein the resources are created as Business Partners in R/3.
now How to link the Business Partner with the SAP User ID.HI AP,
Maintain the business partner in role Internet User - BUP005.
Now assign the existing user to this BP .(you can make this assignment in tab "internet user'. Just enter the user name in the field User and save).
You can now see the link in table HRP1001.
Cheers,
Rishu. -
Discoverer Report: How to find Business Area name from Report Name.
Hi
I opened a report in Disco Desktop 4 -> Resonsibiolity --> Report Name.
So I know Report name but don’t know which Business Area it belongs to.
How to find Business Area Name from Report Name?
Cheers
VijayHi,
There is no relationship between reports and business areas. Each report can be built from many folders. Each folder can be in many business areas.
However you can try the following SQL which may give you the result you want for an v5 EUL. You will have to modify for Discoverer 4 EUL:
select distinct doc_name, obj.obj_name folder_name, bas.ba_name
from eul_us.eul5_documents doc
, eul_us.eul5_elem_xrefs xref
, eul_us.eul5_expressions exp
, eul_us.eul5_objs obj
, eul_us.eul5_ba_obj_links bol
, eul_us.eul5_bas bas
where xref.ex_from_id = doc.doc_id
and doc.doc_name = &your_report
and xref.ex_to_id = exp.exp_id
and obj.obj_id = exp.it_obj_id
and bol.bol_obj_id = obj.obj_id
and bas.ba_id = bol.bol_ba_id
Rod West -
How to get ther servlet name from the Httprequest / servletContext
Hi,
How can I get the servlet name from the Http Request / Servlet conext?
ArthikI have a requirement to call the business logic either in local server / external server.
Local / External server
The original / main request is made to the server from the client and from the server if the main request requires some resource (second request from server side) available in the external server then I need to make a URL connection. If the requested resource is the local resource then I need to by-pass the HTTP call. So I need to verify the server name , port with the originally requested server.Then I need to check if the request servelt is available in local or not.
Can you please help me. -
How to get the file name from Oracle B2B 10g
Hi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b userHi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b user -
How to get IDL file name from CORBA IOR string
hi, is it possible to get IDL file name from the IOR string? how?
regardsHi,
I don't think so.
And if it was possible, which interface should be returned if
the referenced object implements more than one?
Regards.
Karl -
How to get business partner/contract account if i have DFKKKO-OPBEL?
HI Gurus,
Can you please tell me the way to link DFKKKO-OPBEL(Number of Contract Accts Rec. & Payable Doc.) field with business partner(FKKVKP-GPART) or contract account(FKKVKP-VKONT) in CRM. I have input as OPBEL and its my requirement to get business partner and contract account.
PLease help me on this
Thanks
SudiptoHi,
You can surely get GPART and VKONT from DFKKOP table for the relevant OPBEL.
Thanks,
Vimala P -
How to get the real name of a user from WFSYST-AGENT
Hi,
I am retrieving the WFSYST-AGENT value (which correspond to the US<user_id> of the agent responsible of a task) in a container variable in my workflow.
I would like to get the real name of the user represented by WFSYST-AGENT. How should I do that ?
Thanks in advance for your help.
ThibaultHi,
Take the user name and write a select for database table USER_ADDR fetching fields NAME_FIRST and NAME_LAST by passing BNAME = username.
Regards,
Jayesh -
How to get Universe Long Name from DataProvider from BO SDK Web XI R3
In BO 6.5 I was able to query the repository using an Oracle query to get details about the classes, property(s) and property data value(s). I'm using the following query:
SELECT DISTINCT u.uni_longname, c.cls_name, p.prp_name, p.property_id,
d.prp_datavalue
FROM unv_universe@PRBA u,
unv_class@PRBA c,
unv_property@PRBA p,
unv_prop_data@PRBA d
WHERE c.universe_id = u.universe_id
AND c.universe_id = p.universe_id
AND c.class_id = p.class_id
AND p.universe_id = d.universe_id
AND p.property_id = d.property_id
AND d.prp_datatype = 'W'
ORDER BY 1, 2
where PRBA is our BO oracle repository. It would return the following, though I get multiple rows for this query, I am pasting one row only
UNI_LONGNAME CLS_NAME PRP_NAME PROPERTY_ID PRP_DATAVALUE
Accounting Universe Account Details Account Option 15 ACCT.ACCT_ID IN @Prompt('ACCOUNT_OPTION','N', ['Account Details\Account ID'],multi,free)
I'm wondering what is the equivalent methods/objects using BO Java SDK in Webi XI R3 to get the same information. I use the above information to delete the prompts for which user has not provided a value.
Also I need to know, Is it possible to get Univers Long Name from DataProivder, then from Univers Long Name, will I be able to get the above Records Set? Is this possible in BO SDK Webi XI R3?
My requirement is, I have BO Prompts and I need to remove certain prompts which are not supplied by the User, for example if I need to remove ACCOUNT_OPTION, I iterate the record set, as long as ACCOUNT_OPTION is there in PRP_DATAVALUE then I would remove the Filter Condition.Can anyone help me out on this? Rightnow This is a show stopper for me.
ThanksThanks for your reply, NO Java SDK means, what is it not possible? and what is possible through COM SDK?
my requirement is, I need to remove certain Filter condition for a DataProvider, for example, ACCOUNT_OPTION is the name of the field, but through JAVA SDK, I am getting Account Option ,
I have been trying the below code, Can anyone help me out what am I doing wrong? I could not go further.
ACTXTRACTCon is my list of arrays, these prompts have to be removed from BO Prompts. Although I wanted to post my entire code, for some reason I could not embed the code. This code may have some compilation errors.
// Get Providers from DocumentInstance
DataProviders oProviders = oDoc.getDataProviders();
int iDataProviderIndex = 0;
int iQueryCount = 0;
int iQueryIdx = 0;
Query oQuery = null;
// Declare ConditionContainer
ConditionContainer oCC = null;
int iCCIndex = 0;
FilterConditionNode oFCN = null;
ConditionObject oCO = null;
String ACTXTRACTCon [] ={
"PRINTER_NAME",
"PARTNER_RANK",
"PARTNER_DOMICILE",
"TO_GL_CYCLE_DT",
"ENTITY_OPTION",
"LONG_MEMO",
"SHORT_MEMO",
"ENTITY_TYPE",
"POST_END_DT",
"TCODE_TYPE",
"ACCOUNT_OPTION",
"PARTNER_STATUS",
"ACCT_TYPE",
"POST_BEGIN_DT",
"TCODE_OPTION",
"FROM_GL_CYCLE_DT",
"PARTNER_TYPE"
while (iDataProviderIndex <= oProviders.getCount()-1){
// Get DataProvider from DataProviders
DataProvider oProvider = oProviders.getItem(iDataProviderIndex);
// Get Query from DataProvider
QueryContainer oQuerys = oProvider.getCombinedQueries();
System.out.println("oProvider------->"+oProvider);
System.out.println("oProvider.getName().."+oProvider.getName());
System.out.println("oProvider.getDataSource().getLongName().."+oProvider.getDataSource().getLongName());
System.out.println("oProvider.getDataSource().getUniverseID().."+oProvider.getDataSource().getUniverseID());
iQueryCount = oQuerys.getChildCount();
if (iQueryCount > 0) {
// Loop through Query to get ConditionObject
for (iQueryIdx = 0; iQueryIdx <= iQueryCount - 1; iQueryIdx++) {
oQuery = (Query)oQuerys.getChildAt(iQueryIdx);
oCC = oQuery.getCondition();
if (oCC != null){
// Only Leaf object has condition
if (!oCC.isLeaf()){
// Loop through ConditionContainer to get all conditions
int iCCCount = oCC.getChildCount();
int iRevCCIndex = 0;
//Removing universe level conditions
for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
iRevCCIndex= iCCCount - iCCIndex -1;
oFCN=oCC.getFilterConditionNode(iRevCCIndex);
if (oFCN instanceof ConditionObject) {
oCO = (ConditionObject)oFCN;
FilterCondition oOperand=(FilterCondition)oCO.getOperand();
System.out.println("oOperand.."+oOperand);
for (int iRow = 0; iRow <= ACTXTRACTCon.length - 1; iRow++){
if (oCO.getName().trim().toString().equals(ACTXTRACTCon[iRow])){
oFCN.remove(oCO);
break;
// Removing report level conditions
iCCCount = oCC.getChildCount();
for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
iRevCCIndex= iCCCount - iCCIndex -1;
oFCN=oCC.getFilterConditionNode(iRevCCIndex);
if (oFCN instanceof ConditionObject){
oCO = (ConditionObject)oFCN;
FilterCondition oOperand=(FilterCondition)oCO.getOperand();
if (oOperand != null){
int iOperandCount = oOperand.getOperandCount();
int iRevOperandIdx = 0;
boolean bBreakInd = false;
for (int iOperandIdx = 0; iOperandIdx <= iOperandCount-1; iOperandIdx++){
// Removing conditions start with high index
iRevOperandIdx = iOperandCount - iOperandIdx - 1;
for (int iRow = 0; iRow <= ACTXTRACTCon.length-1 ; iRow++){
if (oOperand.getOperand(iRevOperandIdx).toString().equals(ACTXTRACTCon[iRow])){
oFCN.remove(oCO);
bBreakInd = true;
break;
if (bBreakInd == true){
// Exit from loop if condition has been removed
break;
// fetch the changes
oProvider.runQuery();
iDataProviderIndex++;
System.out.println("Data Provider Index = " + iDataProviderIndex);
Thanks
Gokul.
Edited by: mgggkn on Jul 11, 2011 8:18 PM -
How to get the domain name from the System
I need to get the domain name from the system in JDK 1.1.8
Any Ideas?InetAddress.getLocalHost().getHostName() will get you the name of the computer the code is executed on. If that isn't the "domain name" then perhaps you could give more detail about what "domain" you are trying to find the name of.
-
How to get business partner from premise?
Hello gurus,
I'm looking for a way to get the business partner (but000-partner) from a premise number (evbs-vstelle). I tried FM ISU_FINDER but he cannot find a business partner for the object.
Can someone tell me another function module, table connections or at least sap transactions with which I can do it?
Thanks in advance,
Alej
PS: Points will be rewarded!Hi ,
use this function module ISU_S_OWNER_FOR_PREMISE .
or you can try this path:
you have EVBS-VSTELLE (Premise)
get the EANL-ANLAGE(Installtion) from VSTELLE
each Installtion have one Contract so
get EVER-VERTRAG(Contract) from ANLAGE
Now you can get the Contarct Account from Contract.
get FKKVK-VKONT(Contract Account Number) from VKONTO of EVER.
Now you can get BP Number from Table (FKKVKP-GPART ) .
use this if you not able to find any FM or BAPI , because its not a efficient way .
revert back if any query.
regards
Deepak -
How to generate Business Partner only in SAP for Naksia
Hi Everyone,
Having one issue, if you can help me out
In SAP when we run HRSYNC_PERSON report automatically it will generate Central Person and Business Partner.
Here my question is what options to select in this report to generate Central Person & Business Partner?
If I want to generate only Business Partner, then what options to be select, because in my system Central Person is already created.
Could you please help me on this issue.
Waiting for your response!!
Regards
UtkarshHi Utkarsh:
Well, there's a variety of issues that could be causing this.
It could be your pernr is simply missing a valid infotype 6. A BP needs infotype 0,1,2 and 6 at a minimum to be generated.
It could be a problem with your actual Business Partner configuration. It would be good to see if you can generate a BP from scratch on your own using transaction BP. That will tell you if your BP config has any issues.
It could be a problem with tax jurisdictions in VERTEX or some geocode tables that need refreshing from client 000. It's hard to say from here. The lower left hand corner of the screen when you hit the 'synchronize' button should tell you why a BP wasn't generated.
Let me know what you get when you create a BP through transaction BP. Then let me know what the bottom left hand corner of HR_SYNC_PERSON says after you synchronize.
Thanks,
Chris -
How to get business partner number of a Company code
How to get Company code business partner number..
Any FM or table name which can help us to get comapny code business partner number
Actually we want to find the default address number of the company code.
please suggest a way to find partner number of company code or directly to get default address number of the company codeHello LS Kumar,
Try to use below Code may help:
DATA ls_object TYPE hrhctobjc.
DATA ls_company TYPE bbps_es_unit_id.
DATA ls_company_bupa TYPE hrobjbupas.
ls_object-otype = is_org_unit_id-otype.
ls_object-objid = is_org_unit_id-objid.
CALL FUNCTION 'HR_OBJECTBUPA_GETBUPA'
EXPORTING
is_object = ls_object
IMPORTING
es_hrobjbupa = ls_company_bupa
EXCEPTIONS
object_type_not_allowed = 1
OTHERS = 2.
IF sy-subrc NE 0.
RAISE EXCEPTION TYPE cx_bbp_es_not_found.
endif.
Which determines the company code of the user belongs to:
CALL FUNCTION 'BBP_OM_DETERMINE_COMPANY'
EXPORTING
i_user_id = lv_user
IMPORTING
et_compc =lt_compc
EXCEPTIONS
OTHERS = 1.
Regards,
Sankarbabu
Maybe you are looking for
-
Watching downloaded movies on big screen with mac mini
Has anyone hooked up a mac to a big screen (dlp, lcd, plasma) tv? If so is video quality good? Would it be a good alternative to subscribing to cable or satelite to watch tv programs or movies?
-
I have an iPod mini 1st gen 4gb. When I click the wheel to advance to the next song nothing happens. The wheel works fine otherwise. I have reset and restored the iPod several times. What am I not doing?
-
Song in my playlist but not in purchased list.
I bought a song yesterday through iTunes. A Stereophonics track. It synced from the cloud to all my devices. Great! Works perfectly. Except, the song is now not appearing in my "Purchased" list. The purchased list shows I have 8 songs in my iTunes -
-
Upload a big file size cause the server down
We are currently using WebLogic 6.1 SP 2 with jdk1.3.1. We have encountered the below error when trying to upload file on client side. Does anyone able to help us solve this problem? <Error> <HTTP> <myserver> <myserver> <ExecuteThread: '0' for queue:
-
Battery 79% life after 72 recharge cycles and Amperage -1356
Hi to all, this is my story, I've bought a macbook pro 15'' on November 2007 and in about 4 months battery was at 50% of life after 92 recharge cycles, after one year from purchase, apple store has changed battery, megasafe and the connector on the m