cancel
Showing results for 
Search instead for 
Did you mean: 

Getting user specific data

Former Member
0 Kudos

Dear All,

how can I obtain the information for a determined user ?.

Is there a Function Module or any other way ?



*Account data*

BBP_ACCNO            Sequential Account Assignment No. in EBP Purchase Document
CO_AREA                  Controlling Area
PRCTR                      Profit Center


*User's Orgdata*

BBP_PROG_ORG_RESP_ID	   Responsible Organizational Unit (purchasing) Object ID
BBP_PROC_ORG_ID	CHAR	   Responsible Purchasing Organization Object ID
BBP_PROC_GROUP_ID               Responsible Purchasing Group Object ID

*User's Partner data*

PARTNER_ID                             Business Partner Number
CRMT_PARTNER_NO                Partner Number



*Item's*   

COMT_CATEGORY_GUID           Category GUID
BBP_LOGSYS_FI                       Logical System of FI System
WERKS                                      Plant
EKGRP                                      Purchasing group
EKORG                                      Purchasing organization
BUKRS                                      Company Code
BE_DOC_TYPE                          Purchase Requisition Document Type
BBSRT                                       Purchase Requisition Document Type
BBP_UNLOAD_PT                      Unloading Point in Backend

Hopefully can somebody help me on this topic .

Regards

sas erdem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Disha D is it enough to call the FM 'BBP_READ_ATTRIBUTES' to get finally the

required values for my very first mentioned above question ?

Regards

sas

Former Member
0 Kudos

Hi,

FM 'BBP_READ_ATTRIBUTES' fetches all the values maintained for the different attributes for a user in the SRM Org structure.

However details like User name,business partner ID are not maintained in the Org strcuture in SRM.hence you need to use the other FM's mentioned.

BR,

Disha.

Answers (3)

Answers (3)

Former Member
0 Kudos

I thank you thousand times.

Reagards

sas

Former Member
0 Kudos

Disha thank you very much.

Can you tell me please finally where I can find

IV_OBJECT	TYPE	SWHACTOR     	Orgobjekt ID
IV_USER	                TYPE	BALUSER	                User ID
IV_PARTNER	TYPE	BU_PARTNER	Businesspartnernumber

Regards

sas

Former Member
0 Kudos

Hi,

To get all USER details like name ,address(as maintained in SU01),you can use the FM BAPI_USER_GET_DETAIL.

To find the Business partner number for the user,

Try to use FM BP_BUPA_SEARCH_BY_USER entering in table IR_USER following values:

SIGN = I

OPTION = EQ

LOW = 'user_id'

in table ET_PARTNER You will get Business Partner number.

BR,

Disha.

Former Member
0 Kudos

Hi,

Use the FM "BBP_READ_ATTRIBUTES".

BR,

Disha.