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 advance

Dear 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.

Similar Messages

  • 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 code

    Hello 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

  • How to get busines partner number from organization id ?

    Hello,
    I'm working into SRM 4.0.
    I would like to determine the business partner number of an organization for which I know the organization id ('O' + number).
    Do you know a way / function module to achieve it ?
    Thank you very much for your support.
    Regards.
    Fabrice

    Hi,
         You can enter the name of the org in "NAME ORG2" field of table BUT000 to get the BP id in the field "PARTNER".
    BR,
    Disha.
    Pls reward points for useful answers.

  • 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

  • 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
    kamakshi

    Hi 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 get payment document number from paid column in monthly invoice

    Dear experts
    I use SBO japan version and i need to know how to get payment document number from paid column in monthly invoice ?
    in table MIN1, only contain invoice and credit note document number, there is no payment document number
    thank you for your help
    Best Regards
    JeiMing

    Dear Gordon
    Yeah, you are right, i can use field MIentry in RCT2
    thank you
    Best regards
    jeiming

  • How to get Accounting document number from billing document number

    Hi,
    How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
    Cheta Pant

    Hi,
    VBAK is the Sale Order header table, Billing document table is VBRK.
    Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
    You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
    If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
    Regards,
    Chintan Joshi

  • 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
    Sudipto

    Hi,
    You can surely get GPART and VKONT from DFKKOP table for the relevant OPBEL.
    Thanks,
    Vimala P

  • How to get purchase order number from delivery number?

    hi all,
    how to get purchase order number and item if i have only delivery.
    and in same way how to get po number and item if i know only batch number.
    kindly give me some solution i need this urgently.
    thanks in advance.

    Check the logic below:
    * Selecting the Sales Documents from VBFA for corresponding Invoice
        SELECT vbelv
                     posnv
          FROM vbfa
          INTO TABLE gt_itab3
         WHERE vbeln EQ gt_itab5-vbeln
           AND posnn EQ gt_itab5-posnr
           AND vbtyp_n EQ 'J'.
        IF sy-subrc EQ zero.
          SORT gt_itab3 BY vbelv posnv.
        ENDIF.
      ENDIF.
      IF NOT gt_itab3 IS INITIAL.
    * Selecting the Purchase Orders from VBFA for corresponding Sales Documents
        SELECT vbeln
               posnn
          FROM vbfa
          INTO TABLE gt_itab4
       FOR ALL ENTRIES IN gt_itab3
         WHERE vbelv EQ gt_itab3-vbelv
           AND posnv EQ gt_itab3-posnv
           AND vbtyp_n EQ 'V'.
        IF sy-subrc EQ 0.
          SORT gt_itab4 BY vbeln posnn.
        ENDIF.
      ENDIF.
    Batch number will be there in delivery item.
    Regards
    Kannaiah

  • 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 can I Business partner Number create manully or Externally In SRM 7.0?

    Hello all, I am working in SRM 7.0
    1. I am trying to replicate Employee from backend system to SRM, but I want that all Employee have same number in two  systems, for example:
    Employee 1000 in backend shows as 1000(Employee ID or Business Partner ID) in SRM
    How can I do it?
    2. How can I set Busines Partner Number range as external?
    3. There are several Business Partners in SRM 7.0
        For Example, Internal Bp(Employee, Purchasing Company) and External BP(Invocing Party and Contact Person and Employee so on).
        Is it possible to use each Business partner External Number Range separately?
        Ex) 0000000001 ~ 0000000100 : Employee Number
              0000000101 ~ 0000000200 : Contact Person
              0000000900 ~ 0000001000 : Supplier         
    Thanks in advance                    
    Chris.

    My opinion is standard function not support. Modification(not Enhancment) is necessary....

  • How to get the BP number from OBJECT ID or ID rel.Object taken from HRP1001

    Hi Gurus
    I am trying to find the BP number from the OBJECT ID or ID rel.Object which i got from the table HRP1001 in CRM  but i am not able to find the link straightaway to get that details
    Kindly help me to find out the table where i can simply put the OBJECT ID or ID rel.Object to get the BP number for ROLE EMPLOYEE
    Thanks a lot
    Regards
    Soni

    Hi Soni,
    I found this in a different thread:
    first you get the all connected partners to a position by selecting SOBID from hrp1001 (with OTYPE / OBJID of position, RELAT = 008, SCLAS = CP).
    With this SOBID go again to HRP1001 and fill the SOBID into OBJID (with OTYPE = CP, SCLAS = BP) and the SOBID of the result is the connected partner number.
    You can also use FM 'CRM_CENTRALPERSON_GET' instead of the last SELECT-Statement. Here IV_PERSON_ID = SOBID (of first select). You get the partner guid and can get data of the partner from but000.
    In this thread:
    Help needed...Infotype HRP1001--Getting details OF Position Users...
    Hope it helps.
    regards,
    Wim

  • How to get business partner in BUPT for BP screen enhancement ??

    I have enhanced Business partner transaction screen using BDT - BUPT to show a sub screen, my problem is that I don't know how to get the BP no at subscreen level. Please help.

    A subscreen should have the main screen data available, so you just have to refer to the main screen's BP field.

  • How to extend business partner number length

    My legacy business partner id is 13 digits long. But SAP business partner is only 10 digits long at maximum.
    Please tell me how to extend this constraint?
    Giang

    Hi Giang,
    Unfortunately, this is not possible - you cannot extend the length of BP number.
    But there's a simpler way - there is a field called BPEXT in BUT000, this is the external BP number, and can store 20 digits.
    You can transfer the BP number of legacy system into BPEXT field on the SAP system. This is a standard practice and is used by most people.
    Regards,
    Rishu.

  • How to get Shopping cart number from TECH_INFO Guid approval offline

    Hi,
    When a user approves a shopping cart via e-mail (offline approval), then in transaction SOIN we can the mail which is like this:
    TECH_INFO_A=00F3D1395134D34D34D37DFBE75E81512DB5DB5FBE&submit_a=Approve by e-mail&TECH_INFO_R=444244093D34D34D34DF7EF9D7A0544B6D76D7&NOTM_OUT=&EOM=1
    How can I retrieve shopping cart number from these guids ?
    Thank you very much.
    Regards,
    Peggy

    Hello,
    E-mail data extraction is done by method EMAIL_DATA_EXTRACT from class /SAPSRM/CL_OFFLINEAPP_INBOUND.
    With the exporting parameter EV_WIID, call function BBP_PDH_WFL_OBJECT_WI_GET: you will get the Shopping Cart number.
    To have an idea of the whole mail data extraction process, check report /SAPSRM/OFFLINEAPPROVALGET
    Regards.
    Laurent.

Maybe you are looking for

  • Settlement for sales order  TAB item

    Hi Experts, 1. Is that only when the sales order item status change from " Not invoiced " to Invoiced ", the settlement can be performed ? 2. We have one sales order , which item category is TAB, we alreday GR for parts, GI for sales order, and invoi

  • Where can i find my podcast in this system

    i dont know how to find my podcast-clip in this system, ios7?

  • Calling transaction from Workitem - Credit Management workflow

    Hi, Our client have a requirement to have a link in the workitem and when we click on the link it should open transaction S_ALR_87012218. The requirement in Credit management workflow, in which we are having included object as sales order, when we cl

  • Update report item.

    Hi, I am new to apex. I have created one report in apex. one of the column is not a database column. Total amount due is the column i have to get in to the report. Total amount due is coming from one of the process. I have created one process to get

  • Functions oracle help required

    hai select  99.9899 from dualafter decimal i want only 2 digits i want 99.99 SHOULD BE MY ANSWER pls i used ceil and floor it is not working so help S