Sales order list by Partner Function "Customer Contact"

Hi, I can see I can get a list of sales orders out of SAP based on Customer, but I want to obtain the same list for the Partner Function "Customer Contact". Any idea how to do this?
Regards

Hi,
You can get a list of sales order by any type of partner, by making the configuration / customizing changes.
This since you can select the partner function to use in transaction VA05.
In SPRO there is a function for reports (sorry if I'm wrong on that), where you need to maintain the index per function (either inquiry, sales order, delivery or billing document) and the partner function (sold-to, ship-to, etc).
Once the customizing change has been made you might have to execute a report to update the appropriate indexes. I believe the help function in the customizing transaction tells you which report to execute (RVV50 IB or something in that nature).
Regards,
Jan Pel

Similar Messages

  • Sales Order line item Partner Function issue.

    Dear Guru's
    I want to assign the (Employee response) partner function ER more than 5 times in Sales Order line partner function tab, but system is not accepting for that.
    Please suggest me how to over come this issue with out assigning the u201CERu201D partner function more than 5 times in sales order line item Partner determination procedure.
    Regards,
    Hari Krishna

    sent this to SD module (Sales and Distribution) Forum
    this is PS module and we do not deal with this object

  • Sales Orders with diffrent partner functions

    Hi,
    I wanted to find all the sales orders for which sold-to-party is diffrent than ship-to party.
    can you help me.
    Thanks in advance
    jack

    select vbeln posnr parvw kunnr
          from vbpa into it_vbpa
      where vbeln in so_vbeln.
    loop at it_vbpa into wa_vbpa where parvw = 'AG'.
         read table it_vbpa into wa_buff with key vbeln = wa_vbpa-vbeln
                                                                  posnr = wa_vbpa-posnr
                                                                  parvw = 'WE'.
    if sy-subrc eq 0.
    if wa_vbpa-kunnr = wa_buff-kunnr.
    delete it_vbpa index sy-tabix.
    clear: wa_buff, wa_vbpa.
    endif.
    endif.
    endloop.
    "<<finally it_vbpa will contain all such entries which Sold to is not equal to ship to..
    Edited by: Jay Sadaram on Jul 7, 2008 12:02 PM

  • Changing sales order for a Credit blocked customer

    Hi Gurus
    One of the requirement of my client is that they create sales order for a customer and deliver the goods. During sales order creation billing block is automatically applied. This block is removed by a batch job after the goods are delivered. Sometime credit department block the customer using FD32 (KNKK-CRBLB). Now when the batch job is run to remove the billing block the system will not allow it for that order as the system calls VA02 during that batch job run. When you process a sales order using VA02 for a customer which is blocked (KNKK-CRBLB) then system will through error message V1 (154) i.e Order receipt/delivery not possible, credit customer blocked.
    So the batch job will not be able to remove the billing block from the order. NOw the requiremetn is that how can I achieve this so that the billing block are removed by that batch job as the customers has already been delivered the goods (Any user exit?).
    Thanks
    KTK

    Dear KTK,
    Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
    REPORT ZTEST.
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.
    Alternatively, you can do the following:
    1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
    4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
    ull get a list of Enhancements related to that Componene....
    5. Choose which ever enhancement will suit ur business need ..
    6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
    For a user exit......
    Finding whether there is any User Exit or not for tcode VA42
    1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
    Reward points if this helpful.
    Regards,
    Naveen.

  • Any report or Table to see orders with BP partner functions  in SAP CRM?

    Hello All,
    Could anyone help me  in getting  the table or any report  for orders with BP partner functions in SAP CRM?
    Would appreciate replying at the earliest.
    Cheers
    Sreedhar

    Hello Bruno,
    Thanks very much.
    It is somehow helpful for my need but  not completly. This is ok when the orders are less in number.
    My requirement is how to check the first name , last name and number for  contact persons in a list of  CRM orders(simply who is the contact person for a list of orders).Let me know for any additional info.
    I would apprecaite if you could help me in getting any other way.
    Cheers
    Sreedhar
    Edited by: sreedharhazari2 on Jun 8, 2010 9:18 AM

  • SAles Order not appearing in Sales Data Warehouse SAles Order List

    Hi Gurus,
    Can you help me in this regard :- My Sales Order has been invoiced but its not appearing in the Sales Data Warehouse Sales Order List.

    Hi poonam,
    I don't get clearly, but mean here your sales order doesn't exist in your cube or ODs in BW.
    If so check the delta load has been done or not.
    Before that check in tables VBAK (Header data) and  VBAP (Item data) , wheather your sales order exists.
    Hope this helps.
    Regards,
    Reddy

  • Confirmed Open Sales Order List

    Hi Every body,
    Is their any best way to find the list confirmed open sales order list. because i am working on one report, where user will run the report in foreground.
    the problem is we dont have time period field as a input parameter. i found some table like V_VMVAC to list  the unconfirmed sales order. In same way do we have any other tables. or any other to list these confirmed open sales order.
    Regards,
    Srinivas.

    You can use open order report VA05.
    Once you executed with date selection parameters, in the output report, you can sort the column status. The status with "OPEN" displays the sales order items that are confirmed but not delivered.
    Regards,

  • VA05 - Sales Order Listing

    Can anyone advise how we can go about saving different layout set for sales order listing in VA05?  Currently, the 'save' option under the setting menu is greyed out.
    Thanks
    Peter

    Dear Peter
    Use SU3, goto parameter ID, type SD_VARIANT_MAINTAIN and assign value "A" to that
    Now come to VA05 so that you can save the layout.
    thanks
    G. Lakshmipathi

  • Where do we find open return sales order list

    HI gurus
    where do we find open return sales order list whihc have not yet been issued to credit note. and where do we find

    hello, friend.
    use VA05.  you can specify the document type by clicking on 'further selection criteria' on the initial screen.  you can further click 'open orders'.
    when the sales returns is displayed in the following screen, look for the status column.  if the entry is 'A', then no inbound delivery has been done yet (but you could not say if credit memo has been issued or not).  if the entry is 'B', inbound delivery has been done but not the credit memo.  if the entry is 'C', both inbound delivery and credit note have been done.
    regards.

  • Sales order with reference to a custom object

    Hi all experts, I have a question.
    I want to create a sales order with reference to a complete custom object created in the CRM system. The custom object has a unique number assigned to it. How can I use the reference of this custom object in my sales order?
    In other words, can I use a field in the sales order which will be storing this custom object number? If yes, which field can be used? If no, how else can this be achieved? Thanks in advance.

    Animesh,
    You have two options:  Use the external reference number field on the Sales order if it is not be being used, however if you capture the customer's PO number you are probably aleady using that field.  Otherwise I would do what you said and create a new Z-field via the EEWB and store your external reference number there.
    If the custom object number was 10 digits alpha numeric, you could possibly create a custom partner function, but I really don't recommend it.  The z-field will give you better performance for reporting, and future processing.  I would put the z-field field in the CUSTOMER_H segment of the document.
    Take care,
    Stephen

  • VA05 -  VA05N  Sales Order Listing Customisation

    Hi,
    I'd like to know how whether it is possible to make the entry of the Sold to Party a required entry in the VA05 Orders Listing, and also how to change the default document date range on the selection.
    Currently the system defaults a document date range of the last 30 days.  I cannot see how to change list...
    I've been looking in the IMG path
    S&D, Sales, Lists - but can see nothing obvious.
    The problem is that users after first running the report with Sold to Selected, are going back and running it for a different range but noticing that thier prior Sold to entry has been cleared - and so running it with too big a criteria and it taking ages to run and tying up system resources.
    Finally I notice there is a VA05N report, how would I go about adding Ship to as a selection option?
    Thanks in advance for any replies.

    Hi,
    We can assign ship-to party to selection screen.
    IMG>SD>Sales>Lists>Set Updating Of Partner Index
    Click on new entries 
    Transaction group "0", partner function "SH" and save it.
    Goto VA05 T.Code, click on partner functions tab. you will get pop-up window. choose "SH" and press enter
    you will get ship-to party filed in selection screen.
    Regards,
    Chandra
    Edited by: chandra sekhar S on Sep 17, 2008 2:15 PM

  • Sales order list according to docu. type

    HI,
    How I can get list of sales order according to document type?
    Regards,
    Chetan.

    Dear Muthupandiyan
    Just for information, In VA05, we can generate the report without giving either customer code or material code.  Only in VF05, both these are mandatory and only if you give either of these, reports will be generated.
    thanks
    G. Lakshmipathi

  • Sales Order Line Item Partner Address overrides in VA01/VA02

    Dear All.
    I noticed that I can not update the address details of the standard ship-to on the line item level of the sales order (VA01/VA02) without first typing over the ship-to account number.  If I do this, then it's possible.
    I found an OSS note on the subject ( 380507 -#2 ), which basically states the reason for this.
    While it's a little inconvenient for the online business user, this is really troubling for interfaces where we can't manually type over the account number.
    Does anyone have any ideas on getting around this without major design changes?  Could there be a customer function, userexit, other as a way of opening this up?
    Many Thanks!

    Hi,
    It is difiicult for the system to determine which address you are typing in, if you dont specify a ship to party.
    What you could do is assign the SH to you SP in master data and maintain the delivery/shipping address in the SH.
    As soon as you enter the SP you SH would be populated automatically with the address.
    You may also have multiple SH's for the same SP. The system would ask you to choose your SH during Order processing.
    Hope that helps.
    Regards,
    Amit

  • Sales order attachments (e.g. Customer PO attached to sales order) interfac

    Dear Experts,
    I am trying to find the solution on how can we interface the Attachments documents (e.g. customer PO in PDF format) attached to sales order (Via services for object) to webportal?
    I know how to attach the documents using GOS. But not through DMS. Even in any of these options, not sure where the attachments are stored and can extract it to pass on to webportl.
    Kindly help. I have searched the forum and google, but did not find anything solution.
    Thanks,Krishna.

    Hi Murari,
    You can attach documents through Services for Object (GOS) Using Archivelink functionality.
    Generall Incoming documents ( Documents received by Company as part of transaction such as Invoices, Delivery challans, Cutomer PO which come in form of hard copies) are stored using SAP ARchivelink.
    Please refer the link
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/33/5cd7345a238045e10000009b38f83b/frameset.htm]
    With Warm Regards
    Mangesh Pande

  • Extending sales order change BAPI and updating custom fields

    Hi
    i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
    i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
    may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
    also can some one send me code to actually check if bapi is changing my values?
    if poss tell me how should i populate values into BAPI.

    After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
    Fill values as follows :
    Data :   ls_parex  TYPE  bapiparex,
                lt_parex  TYPE STANDARD TABLE OF  bapiparex.
    ls_parex-structure = 'BAPE_VBAK'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(XX) = somevalue.  <---- Value for custom field no 1
    ls_parex-valuepart1+XX(XX) = somevalue.  <---- Value for custom field no 2
    APPEND ls_parex TO lt_parex  .
    clear ls_parex.
    ls_parex-structure = 'BAPE_VBAKX'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
    ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
    APPEND ls_parex TO lt_parex.
    Same pair for VBAKKOZ & VBAKKOZX
    Updating custom fields
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = Sales order number
          order_header_inx = 'U'   <--- U for update
        TABLES
          extensionin      = lt_parex[].
    Edited by: nkarwa on Oct 25, 2010 12:39 PM

Maybe you are looking for

  • Printer problems on MacBook Pro with CC Cleaner

    Hi I just installed CC Cleaner and ran the program to clean up some files.  Since doing so I can no longer print to my Epson PX800FW.  I am afraid that an important file might have been deleted.  I ve tried to reinstall the program / printer on my Ma

  • Configuration issue on 1231G AP

    Hi, I configured one vlan and trying to authenticate it through radius server.My objective is when a internal users want to connect through this SSID they just put username and password and authenticate through Radius server. Another vlan is getting

  • SSL code returns HTTPClient.HttpURLConnection

    Challenge: connect to a secured site to post some data. Issue: tried several ways, HTTPSURLConnection is not getting obtained, just HTTPClient.HttpURLConnection every time. Environment: OS - Linux, version 2.6.9. java.version: 1.5.0_10. Server: Oracl

  • Passing value from one prompt to another in different section

    Scenario: I have three columns to be used for this particular case Month (eg 2011 Jan) Month No (eg 201101) Previous year Month (eg 201001) Now i am using "Month" as a prompt in all my reports. But i am fetching the report for a period of 1 year. Whi

  • VoIP Gk or Proxy Accounting?

    Hi all. My Customer is a long distance VoIP Service Provider, currently collecting calls from and delivering them to the PSTN using several Cisco 5350's. In this environment, billing is a "simple" matter - they collect syslog info from the PSTN gatew