Findiing Partners from contract number

Hello All,
I have a contract number.I have to find out the following partners at header level :
Bill to party
Bill to party contact person
ship to party and
ship to party contact person.
Please guide me as to how do I go about it.
relevent replies will be handsomely awarded points .
Regards
Dukhi Atma

Dear nilesh,
No BAPI or function module is required for this ,
Goto table VBPA , enter your contract number in VBELN and set PARVW as following and execute you will get .
In case of report , your need to write select statement in prog with the above mentioned input paramter .
PARVW
AC         Agent/Com. Collector
AG         Sold-to party
RE         Bill-to party
RG         Payer
WE        Ship-to party
saravanan

Similar Messages

  • To find partners from contract number

    Hello All,
    I have a contract number.I have to find out the following partners at header level :
    Bill to party
    Bill to party contact person
    ship to party and
    ship to party contact person.
    Please guide me as to how do I go about it.
    relevent replies will be handsomely awarded points .
    Regards
    Dukhi Atma

    Hi Atma,
    Please go to VA42 transaction enter your contract number then go to menu Goto>Header>Partner here you can find Bill to party and ship to party you select bill to party or ship to party then go to menu Environment> Partner>Display ship to party noe sytem will take you to the customer master of that ship to party here you can find contact person tab under General Data.
    I hope it will help you,
    Regards,
    Murali.

  • PO number  not copied from Contract to Sales order

    Hi Gurus,
    when i try to create a sales order w.r.t a contract the Po number is not copying from cintract to sales order.
    also the PO item is not copying from contract to sales orde.
    Could u tell me the reason.
    Cheers,
    Sumith

    Hi Sumith,
    I'm not sure though but try this one this might jus help.
    Go to VTAA,
    select the target & Source doc type.
    Go to header and check the COMPLETE REFERENCE CHECK BOX,
    Which says it copies the whole of the reference doc from the
    source doc to the target doc.
    I jus hope this will sole your problem.
    Cheers!!
    Nitin

  • Item number to be regenerated when copying from contract to sales order

    Hi,
    I am copying items from contract to sales order, say there are 10 items in contract. I copy all items leaving 5th & 7th item in contract. The numbers in sales order has to be in sequence (regenerated leaving the 5th & 7th line item) rather than it is copying the line item number as in the contract. Can any one kindly suggest me how to handle this in sales order.
    Thanks
    Ghanesh

    Hi,
    In VTAA
    QT to OR at header level
    REMOVE TICKMARK OF COPY ITEM NUMBER
    Then system will genrate new item numbers in targer document.
    Kapil

  • Copy PO Number from contract to sales order

    Hi,
    My clients requirement is that when i create sales order with reference to contract the PO Number should be copied from contract to sales order other wise we have to enter PO Number every time while creating the sales order.
    Please guide me.

    Hi
    Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer
    Data which is not copied
      LOCAL: VBKD-FKDAT.
      LOCAL: VBKD-FPLNR.
      LOCAL: VBKD-WKWAE.
      LOCAL: VBKD-WKKUR.
      LOCAL: VBKD-DELCO.
      LOCAL: VBKD-BSTKD.
      LOCAL: VBKD-ABSSC.
      LOCAL: VBKD-BSTDK.
    In your data declaration, you have
    LOCAL: VBKD-BSTDK
    Please comment out this line and your purchase order should be copied over. You might also have to comment out some of the other fields which are declared locally if you wish to copy them as well.
    Ramesh

  • Track Contract number from CITT (PR for Open Contract)

    Dear Gurrus,
    I raised a PR for open contract. Our procurement department do all things (Bidding , Tech / Financial evaluation etc.)
    They are authorized to select 01 vendor & made open contract against vendor.
    How do we track Contract number against PR.

    Hi,
    i am solving the same issue but i am not able to obtain any value in parameter BLN. I try to make standard substitution in GGB1 and i would replace some value in reversing from reversed document.
    My substitution exit is like:
    FORM u302 CHANGING bseg-bewar.
      DATA: i_belnr_orig TYPE bseg-belnr.
      CLEAR i_belnr_orig.
      GET PARAMETER ID 'BLN' FIELD i_belnr_orig.
      SELECT SINGLE bewar INTO bseg-bewar FROM bseg
      WHERE bukrs = bseg-bukrs
      AND belnr = i_belnr_orig
      AND gjahr = bseg-gjahr
      AND buzei = bseg-buzei.
    ENDFORM.                                                    "U302
    THANKS

  • How to get the contract number selected on VA01.

    Hello Experts,
    While creating a sales order a contract number is selected.
    ie to which contract this SO is being created.
    We get a ALV list with list of contract number and we select one.
    But no where this contract number is displayed.
    I have a placed a input/output box on additional tab header leve of VA01.
    I need to display the contract number selected by the user for that sales order on to that box.
    and this should  happened the moment the user copies the contract number from the ALV list
    any functon exit or badi's which could be used to get the value.               
    right now iam using the include MV45AFZZ
    I know the table getting used.
    Thanks in advance.
    Regards,
    Ranjith

    You can put your code into the MOVE_FIELD_TO_VBAP userexit in include MV45AFZZ. The contract information is stored on item level (VBAP) in fields WKTNR (contract number) and WKTPS (contract item). If you can have more than one contract in a sales order you should display that information on item level rather than header level, if you always reference one contract only per sales order header should be fine.
    Hope that helps,
    Michael

  • Contract number not appearing in PO while converting PR into PO using ME21N

    Hi SAP MM Experts,
    We are having scenario as Demand PO  SOPRHub PO. We are creating demand PO for company code 1700 by setting massage type ZYT1 in that because of which SO got created through Idoc. In that SO, PR is updated. This is the Hub PR which is created automatically for hub plant 4511 & company code 4500. In this PR, on source of supply tab contract & vendor are appearing as required. When I am converting this PR in PO using ME21N the contract number is not fetching into PO though it is there in PR. This is the issue.
    I know the source list (ME03) having multiple sources & contracts so that I need to follow 2 steps as:
    1) We need to fix the vendor in source list
    2) In change mode of PR we need to assign source manually by clicking on u2018Assign source of supplyu2019 button.
    But avoiding these two steps, how can it possible to fetch contract number into PO from PR.
    Any pointers in this case will be great help for me.
    Thanks in advance.
    Regards,
    Sachin Patil

    does the item in your contract have a different item category or accounting category than in your PR/PO?

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • SC Vendor flag on PO level populated from contract

    Dear all,
    maybe you can help me with this topic.
    I have an external vendor (B)  who should provide components to a Subcontractor (A). So the first PO is for my subcontracotr with the item category L, secondly as I do not have the component on stock the system is triggering a PREQ and from there I would convert to a PO. In this PO to Vendor (B) I have to mark the "SC Vendor" indicator along with the Subcon Vendor (A) number.
    As the PREQ for my external Vendor is coming out of MRP I would like to automate the process using a Contract for the component where the delivery adress of the Subcon Vendor (B) is maintained. Source list is created, contract entered and fixed.
    However, I get an error message when trying to assign a source of supply that I should also mark the SC vendor indicator. The OSS note 857367 states that this is normal system behaviour but then I would need to handle these PREQs manually and not automated via ME57 and so on.
    I am pretty sure this worked in the past for a different client, but somehow I cannot get it to work here.
    The final end would be of course to link the Subcon Vendor to an MRP area but I would like to avoid this for now.
    Any thoughts? Is that populating of the "SC Vendor" flag from contract to PO working for your systems or do I miss something?
    Thanks in Advance,
    Mr. MM

    This SC flag and the SC vendor had always to be set manually in our POs.
    I think there was something developed to make it happen at your former client.
    Didn't you establish a good relation to people from this client, a telephone call could clear all your doubts.

  • Error during PO creation from contract

    Hi all,
    my requirement is to change the Handling type field of that purchase order that is referred from contract using the BADI ME_PROCESS_PO_CUST and Method PROCESS_ITEM. but i am getting an error message " Data from Business Add-In ME_PROCESS_PO_CUST not transferred successfully " . but when we are pressing ENTER this error was by passed.
    This error is occuring only when i am trying to change the Handling type field.
    This error does not occur when i am changing the Track number.
    Note: i am trying to create a PO that is referred to a contract.
    Thanks.

    Hi Santosh,
    362 is not maintained for BASB,but its maintained for condition type JMO1(IN:A/P BED Deductable) & JMO2(IN: A/P BED non deduct )in <b>AltCTy</b> field.
    And For BASB 605 is maintained in the field AltCBV.
    Can you Pls explain the significance of this alternative calculation type.
    Regds

  • In the source list contract Number is  not showing up.

    On 10.11.2010
    we added this Material 2211583 to contract 4600000149.
    When we do display source list it is still not showing up.
    Contract  4600000149  Validity Start  04.02.2008   Validity End    31.12.2009
    We have changed validity End date for Contract to 31.12.2010;even then it is not showing up in source list
    Is there any possibility to get Contract number in the source list
    Thanks in advance
    SAP MM

    what did you do to get the contract into the source list for this item?
    it does not create a source list item by itself, only because you entered the item in a contract.
    You can either create the source list entry from the contract via menu. or you have to enter the contract manually  in ME01 or you generate the source list with ME05

  • FBRA - Clearing cannot be reversed (contract number)  Message no. F5538

    Dear
    In T.code F-51-- transfer posting with clearing-- user has posted the document by giving posting key 27 and vendor code, amount  and later in line item 2 by giving posting key 39, vendor code spl gl indicator (for further security deposit), amount and profit center and by mistake filled contract number and contract type.
    In t.code F-51, since in line item 002 the fields contract number and contract type are filled by mistake the same could not be removed even in FB02 as they are greyed out. 
    Later the above spl gl credit was paid by t.code F-53 by selecting the above open item, process open item, and cheque is not yet issued.  Now he would like to reverse the document.
    Now  when the same is tried in t.code FBRA the following error is coming.
    "Clearing cannot be reversed (contract number)  Message no. F5538"
    If contract number and contract type are not filled there is no error at all and the document can be reset and cleared. 
    We are in ECC 6.00.  I just verified the note number 31547 but it is issued on 29.07.1998.  Our basis team also said the same thing.
    Your valuable inputs are highly solicited. 
    Regds

    Dear
    F-53 document has got a clearing document.  Hence I cannot directly use F-08 here.  So I have to use FBRA only
    Requirement is :
    Delete the contents at the line item level in the field labels Contract Number and Contract Type viz., BSEG-VERTN, BSEG-VERTT  fields. (ex., in T.Code F-51 --in posting key 39 contract number and contract type are filled by mistake by user and they need to be deleted after posting the document) 
    The above fields have been included in SPRO>Financial Accounting (New)>Financial Accounting Global Settings (New)>Document>Rules for Changing Docuements-->Document Change rules, Line item after posting the document.
    But even then I could not delete the contents in the above fields in FB02
    Please throw some light as to where I am missing still ?
    Regds
    Through coding the relevant fields were deleted as per reply received from sap. 
    Edited by: aravindpc on Jan 14, 2011 4:47 PM
    Edited by: aravindpc on May 14, 2011 12:18 PM
    Edited by: aravindpc on May 14, 2011 12:21 PM

  • Service details are not copying from contract to Maint.Order

    Dear Experts,
    I was doing a service contract cycle, with the following steps.
    1. Created a Service contract, in T. Code ME31K.
    2. Given all the details in the Header data of the Contract.
    3. Mentioned the, Item category as D (Service), Account Assignment as F (Order), short text, Target Quantity, Material group, Plant and Storage Location in the Item Overview screen.
    4. Given the Service Number and Quantity, Gross Price, Cost Center and GL Account.
    5. Saved the Contract.
    6. After released the Contract in T. Code ME35K.
    7. Then created a Maintenance Order through T. Code IW31.
    8. In the Operation Overview screen of the Maintenance Order, the control key is given as PM03 and clicked on External button of the Maintenance Order.
    9. In the External Processing Operation screen the Contract Number and line Item is mentioned in the Agreement Field.
    10. System given a message Data copied from contract.
    11. All the data copied excepting the Service details of the Contract.
    Here the Service Number and its details which were mentioned in the Service specifications of the Contract are not getting copied from the Contract.
    What could be the reason for that? Did I perform the transaction properly?
    I have searched the forum earlier for the same but could not get any required information.
    Can any one help me out on this??
    Thanks and Regards,
    Praveen
    Edited by: b praveen savan on Jan 31, 2008 2:33 PM

    Select the services from the service selection button, then click on current spec, all the services which are under contract will be displayed. select your required services or copy all services.(Click on adopt services)

  • FBL5N t code and BSEG table is showing wrong contract number

    Hi,
    The proces flow is contract number>sales order>DMR-->Invoice
    Now when I am checking the VBFA table it's showing correct contract number against invoices but FBL5N t code and BSEG table are showing wrong contract numbers.
    Why FBL5N and BSEG table is showing wrong contract number?
    Currently we are using one enhancement and user exit is used to incorporate one customized field as identifier for bill type.
    1. During the billing document release to accounting VFX3, The user exit triggering and it is update the customized fields and Net settlement indicator.
    2. Using the Invoice number, get the fields VGBEL(Document number of the reference document) and VGPOS (Item number of the reference item) from VBRP and read table VBAP with VBELN and POSNR, to get DMR number (Sales Document) that created for the Invoice.
    3. Use fields VGBEL and VGPOS on table VBAP to get the sale order number.
    4. By using the Sales order number, get the Distribution channel to update Net indicator field
    In accounting table BSEG-UZAWE = JF must be updated on the customer line.
    5. Retrieve the sale order number and item level to get customized field from table VBAP
    Any pointers.
    Thanks
    Ashu

    Hi Reazuddin,
    Thanks for your reply,
    I am concercerned about BSEG table and using user exit EXIT_SAPLV60B_008 to post the document in FI.
    Now in we have enhanced this user exit  for contracts and included in this way.
      SELECT SINGLE ZZ_CONTRACT FROM VBAK INTO (LC_CONTRACT) WHERE VBELN EQ cvbrp-vgbel.
    Endloop.
    *Moving the values to final accounting table
    loop at xaccit.
    xaccit-vertn = lc_contract.
    xaccit-VBEL2 = xaccit-AUBEL.
    xaccit-xref3 = lc_vbel2.
    MODIFY xaccit .
    ENDLOOP.
    Clear: lc_contract,lc_vgbel,lc_vgpos,lc_vbel2.
    But I am getting correct data when checked other clients( development and quality), this problem I am getting in production.
    Do I need to ask the ABAP'er to debug this enhancement in production?
    Thanks
    Ashutosh

Maybe you are looking for

  • Executing a procedure in package

    Hi, How to execute a procedure in a package? Below is the package CREATE OR REPLACE PACKAGE BODY POPULATE_GLTD_TABLES IS -- LOCAL VARIABLES val1 VARCHAR2(10); -- Create some job objects: v_job1_str VARCHAR2(4000) ; v_job1 XXMCK.XXMCK_JOB_OT; PROCEDUR

  • Icloud storage upgrade - unknown error occured

    Hi, I have a problem while upgrade my iCloud storage. After buying 10 GB and apply with password a error occure: "a unknown error occurs" -> german error message "Ein unbekannter Fehler ist aufgetreten". So I cannot finish process and hold on 5 GB st

  • Error trasfering PO

    Hi All, I'm creating a PO on srm (SRM 5.0 exetended classic scenario). But I take this error after I create it Error reading the export data for EXEC transfer of purchase order 5000000035     This error is displayed in Local error section of Applicat

  • Panasonic GH2 video files not compatible

    iMovie (and Final Cut) cannot import the mts video files from the latest video cam by Panasonic the GH2 BTW: RAW photos also dont import in iPhoto.. Apple is not ready for the GH2 yet.... Hoping for an update soon

  • Not getting response in soap ui after cache refresh

    Hi Experts,       I have a scenario SOAP- PI-RFC Synchronous scenario. when we are trying to send message in  SOAP UI nothing is coming to PI and its showing blank in soap UI . Before doing cache refresh all interfaces were working fine in QA but aft