Sales order details

Hi ,
can you help me to find the (BAPI or Function module)
which will give the existing sales order detail...
similar to BAPI_PO_GETDETAIL,
is there any bapi or F.M. for that....
thanks in advance..
Manish

BAPI_CUSTOMERORDER_GETLIST
BAPI_SALESORDER_GETLIST.
SD_PARTNER_READ     
PRICING     
RV_ORDER_FLOW_INFORMATION     
SD_PRINT_TERMS_OF_PAYMENT     
BAPI_SALESORDER_SIMULATE     
RV_ORDER_FLOW_INFORMATION  Reads sales document flow of sales document after delivery and billing 
Don't forget also check direct reference documents for the both starting document # and preceding/following document types that you are searching for (For example, if you search delivery for the given SO, check also LIPS-VGBEL and LIPS-VGPOS, if it's possible with regard to performance
SD_SALES_DOCUMENT_READ   Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties) 
SD_SALES_DOCUMENT_READ_POS   Reads sales document header and item material: tables VBAK, VBAP-MATNR 
SD_DOCUMENT_PARTNER_READ   partner information including address. Calls SD_PARTNER_READ 
SD_DETERMINE_CONTRACT_TYPE   In: at least VBAK-VBELN
Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT 
RV_DELIVERY_PRINT_VIEW  Data provision for delivery note printing  
SD_PACKING_PRINT_VIEW   
SD_DELIVERY_VIEW  Data collection for printing  called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW 
RV_BILLING_PRINT_VIEW  Data Provision for Billing Document Print 
regards
vinod

Similar Messages

  • FM to get sales order details with billing document .

    hi ,
    is there any standard FM or BAPI to get the sales order details with input as billing document ?
    i have the billing document number now i need to get the sales order number and its details ..
    is that possible ..
    i very well know how to get it by using query, i need standard FM.
    Points will be awarded for sure , if it helps .
    Thanks and regards
    JK

    Here is the list of BAPIs
    BAPI_QUOTATION_GETDETAILBOS
    BAPI_INQUIRY_GETDETAILBOS
    BAPI_SALESORDER_GETDETAILBOS
    SALES ORDER->
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order

  • Deleting Sales Order Details using BAPI_SALESORDER_CHANGE And Reinserting

    Hi All,
    I need to <b>change a Sales Order</b> in such a way that I would <b>delete all the existing Line Items</b> of that SO And <b>then reinsert new Line Items</b> as generally is the practice of saving a document.(Update Header-Delete Old Item Entries-Reinsert New Present Entries).
    I coded a small test program in ABAP using the <b>BAPI_SALESORDER_GETLIST And BAPI_SALESORDER_CHANGE</b>.
    In order to affect the Qty I have to update the Schedule Parameter also of the BAPI_SALESORDER_CHANGE Function.But this causes a new entry in VBEP.
    eg:
    <b>Before BAPI Calls</b>
    SO-Number:9001
    Header:9001,etc......
    Detail:ItemNo=10,Material=xyz,TargetQty=100,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=100,etc...
    I coded the program such that
    1.I <b>Get the List of Items</b> using BAPI_SALESORDER_GETLIST.
    2.Call the <b>BAPI_SALESORDER_CHANGE</b> filling appropraite   values in Parameters <b>with UpdateFlag = 'D'</b>
    3.<b>Insert new values</b> in OrderItems And Schedule Parameters
    say:
    Detail:ItemNo=10,Material=xyz,TargetQty=25,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=25,etc...
    4.<b>Call the BAPI_SALESORDER_CHANGE</b> filling appropraite values in Parameters <b>with UpdateFlag = 'I'</b>
    <b>The output now becomes.</b>Header:9001,etc......
    Detail:ItemNo=10,Material=xyz,TargetQty=100,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=100,etc...
    ItemNo=10,Scheduleline=2,Req_Qty=25,etc...
    Now After Commit when I see my <b>SO it shows me a qty of
    125</b>.
    I am attaching the code for your analysis.
    Thanx in advance.
    *& Report  ZSM_CHANGESALESORDER                                        *
    REPORT  ZSM_CHANGESALESORDER                    .
    DATA:
    For Calling the GetList BAPI Function
      CUSTOMER_NUMBER LIKE  BAPI1007-CUSTOMER,
      SALES_ORGANIZATION LIKE  BAPIORDERS-SALES_ORG,
      IT_SALES_ORDERS LIKE TABLE OF BAPIORDERS,
      WA_SALES_ORDERS LIKE LINE OF IT_SALES_ORDERS,
      IT_RETURN LIKE TABLE OF BAPIRETURN,
      WA_RETURN LIKE LINE OF IT_RETURN.
    For Calling the ChangeFromData BAPI Function
    DATA:
      SALESDOCUMENT LIKE  BAPIVBELN-VBELN,
      WA_ORDER_HEADER_IN LIKE  BAPISDH1,
      WA_ORDER_HEADER_INX LIKE BAPISDH1X,
      IT_ORDER_ITEM_IN LIKE TABLE OF BAPISDITM ,
      WA_ORDER_ITEM_IN LIKE LINE OF IT_ORDER_ITEM_IN,
      IT_ORDER_ITEM_INX LIKE TABLE OF BAPISDITMX ,
      WA_ORDER_ITEM_INX LIKE LINE OF IT_ORDER_ITEM_INX,
      IT_SCHEDULE_LINES LIKE TABLE OF BAPISCHDL ,
      WA_SCHEDULE_LINES LIKE LINE OF IT_SCHEDULE_LINES,
      IT_SCHEDULE_LINESX LIKE TABLE OF BAPISCHDLX ,
      WA_SCHEDULE_LINESX LIKE LINE OF IT_SCHEDULE_LINESX,
      IT_RETURN_CHG LIKE TABLE OF BAPIRET2,
      WA_RETURN_CHG LIKE LINE OF IT_RETURN_CHG.
    DATA:
      IT_RETURN_CT LIKE BAPIRET2.
    PARAMETERS:
      P_SO LIKE VBAK-VBELN,
      P_CUSTNO LIKE  BAPI1007-CUSTOMER,
      P_SORG LIKE BAPIORDERS-SALES_ORG.
    START-OF-SELECTION.
      SALESDOCUMENT = P_SO.
      CUSTOMER_NUMBER = P_CUSTNO.
      SALES_ORGANIZATION = P_SORG.
    Retrieve the Existing Sales Order details for that Sales Order.
      PERFORM GETREQSODETAILS.
    Delete the Existing Sales Order details from that Sales Order.
      PERFORM DELETEOLDSODETAILS.
    Insert New details for that Sales Order.
       PERFORM ADDNEWSODETAILS.
    END-OF-SELECTION.
      PERFORM COMMITTRANS.
    *&      Form  GetReqSODetails
    FORM GETREQSODETAILS .
      CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
        EXPORTING
          CUSTOMER_NUMBER    = CUSTOMER_NUMBER
          SALES_ORGANIZATION = SALES_ORGANIZATION
        IMPORTING
          RETURN             = WA_RETURN
        TABLES
          SALES_ORDERS       = IT_SALES_ORDERS.
    *delete the Sales Order Details of Sales Orders other than the req.One
      IF NOT IT_SALES_ORDERS[] IS INITIAL.
        SORT IT_SALES_ORDERS BY SD_DOC.
        LOOP AT IT_SALES_ORDERS INTO WA_SALES_ORDERS.
          IF WA_SALES_ORDERS-SD_DOC NE SALESDOCUMENT.
            DELETE IT_SALES_ORDERS.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " GetReqSODetails
    *&      Form  deleteOldSODetails
    FORM DELETEOLDSODETAILS .
      DATA: IRECCOUNT TYPE I.
      IRECCOUNT = 1.
    *Clear all the Inernal Tables And Work Areas
    *and Update the SO Header Index
      PERFORM CLEARDATA.
      PERFORM SOHEADERINDEX.
      LOOP AT IT_SALES_ORDERS INTO WA_SALES_ORDERS.
    *Fill the Order Details Index Internal Table
        PERFORM FILLSODELETEDTLS_INDEX_PARAM
        USING WA_SALES_ORDERS-ITM_NUMBER 'D'.
    *Fill the Order Scedule Index Internal Table
        PERFORM FILLSODELETESCH_INDEX_PARAM
        USING WA_SALES_ORDERS-ITM_NUMBER IRECCOUNT 'D'.
      ENDLOOP.
    *call the Sales Order Change Fumction to delete the Existing Data
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALESDOCUMENT
          ORDER_HEADER_INX = WA_ORDER_HEADER_INX
        TABLES
          RETURN           = IT_RETURN_CHG
          ORDER_ITEM_INX   = IT_ORDER_ITEM_INX
          SCHEDULE_LINESX  = IT_SCHEDULE_LINESX.
    ENDFORM.                    " deleteOldSODetails
    *&      Form  SOHeaderIndex
    FORM SOHEADERINDEX .
      WA_ORDER_HEADER_INX-UPDATEFLAG = 'U'.
    ENDFORM.                    " SOHeaderIndex
    *&      Form  FillSODeleteDtls_Index_param
    FORM FILLSODELETEDTLS_INDEX_PARAM
    USING VALUE(P_ITM_NUMBER) VALUE(P_FLAG).
      WA_ORDER_ITEM_INX-ITM_NUMBER = P_ITM_NUMBER.
      WA_ORDER_ITEM_INX-UPDATEFLAG = P_FLAG.
      APPEND WA_ORDER_ITEM_INX TO IT_ORDER_ITEM_INX.
    ENDFORM.                    " FillSODeleteDtls_Index_param
    *&      Form  FILLSODELETEsch_Index_PARAM
    FORM FILLSODELETESCH_INDEX_PARAM
    USING VALUE(P_ITM_NUMBER) VALUE(P_RECCOUNT) VALUE(P_FLAG).
      WA_SCHEDULE_LINESX-ITM_NUMBER = P_ITM_NUMBER.
      WA_SCHEDULE_LINESX-SCHED_LINE = P_RECCOUNT.
      WA_SCHEDULE_LINESX-UPDATEFLAG = P_FLAG.
      APPEND WA_SCHEDULE_LINESX TO IT_SCHEDULE_LINESX.
    ENDFORM.                    " FILLSODELETEsch_Index_PARAM
    *&      Form  addnewSODETAILS
    FORM ADDNEWSODETAILS .
      DATA: IRECCOUNT TYPE I, ITEMNO TYPE I.
      IRECCOUNT = 1.
    *Clear all the Inernal Tables And Work Areas
    *and Update the SO Header Index
      PERFORM CLEARDATA.
      PERFORM SOHEADERINDEX.
      WHILE IRECCOUNT <= 1.
        ITEMNO = IRECCOUNT * 10.
    *Fill the New Order Details in the Internal Table
        PERFORM FILLSODTLDATA USING ITEMNO 'TEST FG' 37 .
    *Fill the Order Details Index Internal Table
        PERFORM FILLSODELETEDTLS_INDEX_PARAM USING ITEMNO 'I'.
    *Fill the New Schedule Details in the Internal Table
        PERFORM FILLSOSCHDATA USING ITEMNO IRECCOUNT 37 .
    *Fill the Order Scedule Index Internal Table
        PERFORM FILLSODELETESCH_INDEX_PARAM
        USING ITEMNO IRECCOUNT 'I'.
        IRECCOUNT = IRECCOUNT + 1.
      ENDWHILE.
    *call the Sales Order Change Fumction to Insert New Data
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALESDOCUMENT
          ORDER_HEADER_INX = WA_ORDER_HEADER_INX
        TABLES
          RETURN           = IT_RETURN_CHG
          ORDER_ITEM_IN    = IT_ORDER_ITEM_IN
          ORDER_ITEM_INX   = IT_ORDER_ITEM_INX
          SCHEDULE_LINES   = IT_SCHEDULE_LINES
          SCHEDULE_LINESX  = IT_SCHEDULE_LINESX.
    ENDFORM.                    " addnewSODETAILS
    *&      Form  clearData
    FORM CLEARDATA .
      CLEAR WA_ORDER_HEADER_INX.
      CLEAR WA_ORDER_ITEM_INX.
      REFRESH IT_ORDER_ITEM_INX.
      CLEAR WA_SCHEDULE_LINESX.
      REFRESH IT_SCHEDULE_LINESX.
      CLEAR WA_RETURN.
      REFRESH IT_RETURN.
      CLEAR WA_ORDER_ITEM_IN.
      REFRESH IT_ORDER_ITEM_IN.
      CLEAR WA_SCHEDULE_LINES.
      REFRESH IT_SCHEDULE_LINES.
    ENDFORM.                    " clearData
    *&      Form  FILLSODTLDATA
    FORM FILLSODTLDATA  USING    VALUE(P_ITEMNO) VALUE(P_MATERIAL)
    VALUE(P_TARGET_QTY) .
      WA_ORDER_ITEM_IN-ITM_NUMBER = P_ITEMNO.
      WA_ORDER_ITEM_IN-MATERIAL = P_MATERIAL.
      WA_ORDER_ITEM_IN-TARGET_QTY = P_TARGET_QTY.
      APPEND WA_ORDER_ITEM_IN TO IT_ORDER_ITEM_IN.
    ENDFORM.                    " FILLSODTLDATA
    *&      Form  FILLSOschDATA
    FORM FILLSOSCHDATA  USING    VALUE(P_ITEMNO)
                                 VALUE(P_RECCOUNT)
                                 VALUE(P_REQ_QTY)  .
      WA_SCHEDULE_LINES-ITM_NUMBER = P_ITEMNO.
      WA_SCHEDULE_LINES-SCHED_LINE = P_RECCOUNT.
      WA_SCHEDULE_LINES-REQ_QTY = P_REQ_QTY.
      APPEND WA_SCHEDULE_LINES TO IT_SCHEDULE_LINES.
    ENDFORM.                    " FILLSOschDATA
    *&      Form  committrans
    FORM COMMITTRANS .
      DATA:SUCCESSFLAG(1).
      LOOP AT IT_RETURN_CHG INTO WA_RETURN_CHG.
        IF WA_RETURN_CHG-TYPE = 'S'
              AND WA_RETURN_CHG-ID = 'V1'
              AND WA_RETURN_CHG-NUMBER = 311
              AND SUCCESSFLAG IS INITIAL.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              WAIT   = 'X'
            IMPORTING
              RETURN = IT_RETURN_CT.
          SUCCESSFLAG = 'X'.
        ENDIF.
      ENDLOOP.
      IF SUCCESSFLAG IS INITIAL.
        WRITE: 'SORRY SOME ERROR'.
      ELSE.
        WRITE: 'SUCCESSFUL'.
      ENDIF.
    ENDFORM.                    " committrans

    Thanx wolfgang,
    I needed that info.
    As I had mentioned in the earlier posts, I want to delete the old Sales Order Item Details,
    Schedule Details,Basic Price data And Reinsert data in the same.
    I am giving u the algo that I have used.
    1.<b>Get the SalesOrder Details</b> for a particular Sales Order using BAPI_SALESORDER_GETLIST(para:customer & sales Org and then deleting unwanted SO data).
    2.<b>Delete</b> the Sales Order <b>Item Details,Schedule Details</b> using BAPI_SALESORDER_CHANGE.
    3.<b>Commit</b> Transaction(<b>If I dont use this commit Error comes in Step No.7 while Commiting</b>)
    using BAPI_TRANSACTION_COMMIT.
    4.Check <b>Return Table</b> of both BAPI_SALESORDER_CHANGE and BAPI_TRANSACTION_COMMIT.
    5.if Step No.4 is <b>Not okay</b> <b>then Rollback</b>(BAPI_TRANSACTION_TRANSACTIN) <b>and Exit</b> <b>else move to step 6</b>.
    6.<b>Add New</b> Sales Order <b>Item Details,Schedule Details, Basic Price</b> using BAPI_SALESORDER_CHANGE.
    7.<b>Commit Transaction</b> using BAPI_TRANSACTION_COMMIT.
    8.<b>Check Return</b> Log of both BAPI_SALESORDER_CHANGE and BAPI_TRANSACTION_COMMIT.
    9.if Step No.9 is okay then Exit else Rollback(BAPI_TRANSACTION_TRANSACTIN) and move to step 10.
    10.Add Old Sales Order Item Details,Schedule Details, Basic Price from Data available in Internal
    table(Filled in step.1 ) using BAPI_SALESORDER_CHANGE.
    11.Commit Transaction using BAPI_TRANSACTION_COMMIT.
         This <b>works fine in 1 server in which I get the message of Incomplete Data,etc...when I make a Sales Order from va01</b>.
    But in another server where I dont this message,I get <b>error in step  7 or 11 as per the flow</b>.
    The return structure of BAPI_TRANSACTION_COMMIT contains error with Message 'Updating was not possible'. Also the message 'Updation was terminated' cms frm the SAP server.  
         What could be the reason?
    Thanx in advance

  • Do we have any BAPI to get the Sales quote or Sales order details

    Hi Experts,
    Do we have any BAPI to get the sales quote or sales order details from my other SAP system.
    My requirement is to get the sales quote or sales order details from the other SAP system.
    Please help.
    Regards,
    Chitrasen

    Hi Experts,
    Thanks for ur help. The BAPI is BAPI_SALESORDER_GETSTATUS which helps in fetching the sales quote information.
    Thanks,
    Chitrasen

  • Sales order details thru ALE

    hi folks,
    i have a simple scenario to do with ALE/IDOCS. i have to create sales order in SAP. And when ever that SO is created the sales orders details should be sent to an external system (here, notepad). could any one suggest me teh step by step proceduer for the same......or atleast some brief procedure hw to acheive this...i also have one more doubt....can we send IDOCS from ECC 5.O to IDES 4.6. if i am trying to do the same it showing some error mentioning that basic idoc type does not exist in 4.6c......can any one resolve my doubt,
    thnx in advance,
    santosh.

    Hi Gouri Sankar,
    would you be able to upload the sales orders with multiple line items using BAPI LSMW?
    if so could you plz suggest?
    Thanks in advance.
    Suresh/

  • Sending sales order details through ALE to External system

    hi folks,
             i have a simple scenario to do with ALE/IDOCS. i have to create sales order in SAP. And when ever that SO is created the sales orders details should be sent to an external system (here, notepad). could any one suggest me teh step by step proceduer for the same......or atleast some brief procedure hw to acheive this...i also have one more doubt....can we send IDOCS from ECC 5.O to IDES 4.6. if i am trying to do the same it showing some error mentioning that basic idoc type does not exist in 4.6c......can any one resolve my doubt,
                            thnx in advance,
                                santosh.

    Thanks for your quick response, Sarathy.
    Yes I am referring to SAP ECC to third party system but using ALE.
    Here is the scenario, a sales order will be created in SAP CRM and that sales order will be replicated to ECC as a sales order. Now I need to generate an Idoc for this sales order to send it to a third party system.
    Regards

  • Sales order details uploading using BAPI method in LSMW

    Hi Guys,
    Sales order details uploading using BAPI in LSMW, could you please suggest me, is any standard method or programs is available for this.
    I have some queries about this.
    1) One header line having multiple line items, in this case  we able to upload use the  LSMW method,
        if possible please tell me the steps.
      2) Do we need to do any config changes while uploading data?     
      3) Flat file should be which format.
      4) Steps to process each step wise if possible.
    Please help me
    Thanks,
    Gourisanakar.

    Hi Gouri Sankar,
    would you be able to upload the sales orders with multiple line items using BAPI LSMW?
    if so could you plz suggest?
    Thanks in advance.
    Suresh/

  • Function module or BAPI to get the sales order details.

    Hi,
    Can any one revert back with the FM or BAPI to get the sales order details.
    I tried using BS01_SALESORDER_GETDETAIL, in my driver program of smartform but when i execute the form using VA03 -> Sales Document -> Issue output to -> Print preview, I am getting the required output.
    if i see the print preview in the overview of the sales order (enter sales order and press enter), the above specified FM is not populating any data.
    Thanks,
    Prathap

    Hi Prathap,
    The above specified FM BAPISDORDER_GETDETAILEDLIST should work. As you need the item conditions,
    Fill the I_BAPI_VIEW with header = 'X', item = 'X' and sdcond = 'X'.
    Fill the SALES_DOCUMENTS-vbeln = sales order number.
    Regards,
    Shylaja

  • Sales order detail in AR invoice

    Hi,
    I want know Sales order details like SalesOrder No, Sales Order Value. Total Sales Order Qty in AR Invoice PLD screen. Please help how can i retrieve the information.
    Thanks in advance.
    Rajesh

    Rajesh
    Expanding to what Kamlesh has replied.  Adding Sales Order fields to the Invoice PLD would require a bunch of formula fields and the results might not be all that perfect.
    So as Kamlesh mentioned, create the UDF's you need for each data component you need from SO in the Marketing document rows.
    To these UDF's at the Invoice rows add SQL based formatted searches which will fetch the values from SO.
    Map these UDF's in the Invoice template.
    Suda

  • BAPI to get sales order details

    Hi guys
    I have copied a print program for outbound delivery (vl03n) and now i wanna use the same to get the details for an inbound delivery (vl33n). Obviously I need to change the logic, so i have taken the delivery num lips-vbeln and got the ref doc lips-vgebl and got the PO ekkn-vbeln anf now I have the sales orfer vbap-vbeln. The Question is i need the sales order detail like the vendor address name ship to party etc, is there a good bapi that gets the sales order details? I have tried the foll but they dont help
    BAPISDORDER_GETDETAILEDLIST
    BAPI_SALESORDER_GETDETAILBOS
    BAPI_ALM_ORDER_GET_DETAIL
    Does any one know of a better method to get the sales order detail? Maybe if some one could tell how to do it without a bAPI?
    Rgds
    Sameer

    check BAPI_SALESORDER_CREATEFROMDAT2
      MOVE 'TA' TO L_HEADER-DOC_TYPE.
      MOVE 'ABC' TO L_HEADER-SALES_ORG.
      MOVE '10' TO L_HEADER-DISTR_CHAN.
      Sold-to AG  partner mandatory fields
      MOVE 'AG' TO L_PARTNER-PARTN_ROLE.
      MOVE '101175' TO L_PARTNER-PARTN_NUMB.
      APPEND L_PARTNER.
      Ship-to WE  partner mandatory fields
      MOVE 'WE' TO L_PARTNER-PARTN_ROLE.
      MOVE '101175' TO L_PARTNER-PARTN_NUMB.
      APPEND L_PARTNER.
       MOVE 'DEXABC' TO L_ITEM-MATERIAL.
       APPEND L_ITEM.
      partner roles 'RE' and 'RG' (bill-to-party)

  • Error while saving the Sales Order details in EBS R12 Instance

    Hi all,
    After specifying the details of sales order. We are cant save the changes.
    It gives the error like :
    ERROR: AN UNEXPECTED ERROR HAS OCCURRED. PLEASE CONTACT YOUR SYSTEM ADMINISTRATOR.
    Actually system admin was not aware of these error. So can you please advice us to proceed this error.
    Regards,
    Thanvir A

    Wrong thread. This is the Data Guard thread and your problem has nothing to do with Data Guard. Either find the right thread or open a Service Request.
    Larry

  • How to get customer / sales order details for VBBS table?

    Hi Friends,
    I have a requirement to create a report that will give the details of sales order ( VBELN ) and customer ( KUNNR) details from the sales requirement totals record table ( VBBS )
    Currently we have a report that just gives out the VBBS table entries for plant and material combination. As you are aware, the VBBS table contains the sales / deliveries requirements as displayed in MD04 transaction.
    Now there is a requirement to have the customer ( KUNNR ) and sales order (VBELN )  detail for each individual requirement totals.
    I checked the VBBE table ( sales requrirement : individual records ) but I cannot find any relationship between VBBS and VBBE. If there is a material / plant in VBBS , the same entry does not exist in VBBE.
    Please suggest if there is any other table to get this detail.
    Thanks
    Satya

    Tables are related.
    MATNR
    WERKS
    MBDAT
    LGORT
    CHARG
    etc fields are common in both VBBS and VBBE.
    May be you can generate a condition a fetch data using this.
    I hope it helps.
    thanks

  • How can i show sales order details for specific partner in view

    Hi All,
              My Requirement is that I want to display the sales order id,sataus,amount in sales order assignment block  in Customer FACTSHEET. I created a new componnet and new view for Sales Order View  using BTQRSlsOrd BOL Entity in ONEORDER I want to diplay sales order id ,status ,amount for specifc business partner which i selected from Account Tab in WEB UI.How can i bind my ( view or context node or context ) so that it shows details of sales order for specific business partner.
    Thanks in Advance.......
    Vishwas Sahu

    Hi Vishwas
    I hope the following link helps you in setting up the sales order in account fact sheet:
    Add Sales Order to Account Factsheet
    If you are on CRM 2007 SP03 then you might need the following note:
    Note 1165224 - Search result is not showing up in IC account factsheet.
    Regards
    Rupesh

  • How to retrieve  sales Order details from BAPI_SALESORDER_GETLIST

    Hi Experts,
    I am using Visual Studio 2003 and SAP.Net Connector for Microsoft .NET 1.0.3 .
    I need to get the details of sales order.Following is the code snip.
    protected ConnectorDemo2.BAPIRETURN bapireturn;  /*Manually Added */
    proxy.Connection =  SAP.Connector.SAPLoginProvider.GetSAPConnection(this);
    proxy.Bapi_Salesorder_Getlist("0000000006","","","","","","0001","0",
    out bapireturn,ref bapiordersTable1);
    I already check records in SAP R/3 system for data Cust No=00000006 and Sales Org=0001.
    Please let me know about out parameter and if anyone is having correct list of ref and out parameter.
    Help will appreciated and points will rewarded.
    Thanks
    Sunil Pawar
    Edited by: Sunil Pawar on Nov 26, 2008 1:54 PM

    To Solve the problem I created one custome RFC and call BAPI_SALESORDER_GETLIST in it and my problem get solved.
    This is just work around but still not found why no data when using OUT parameter.
    CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
      EXPORTING
        CUSTOMER_NUMBER             = Z_CUSTOMER_NUMBER
        SALES_ORGANIZATION          = Z_SALES_ORGANIZATION
    IMPORTING
      RETURN                      =
      TABLES
        SALES_ORDERS                = Z_SALES_ORDERS
    Thanks
    Sunil Pawar

  • COOIS report with sales order details

    Hello,
    I am looking for a COOIS report attribute or an extension of the COOIS report that will have the sales order detials on the ALV grid instead of having to drill down to it. I want the item level details and the characteristic values... Hopefully there's a function module that will get that information.
    Thanks,
    AJ
    Edited by: Antonio Jones on Feb 11, 2008 7:07 PM

    Hi,
    As far as my understanding there is no standard report is availbale
    see in va05 and in layout see inco term option is available or not
    Otherwise you can develop zreport, extract this from table VBKD
    Kapil

Maybe you are looking for

  • Can't see anything in Print and New File window and others..

    Hello, I just bought a new computer with Windows 7. I downloaded the Illustrator CS5 trial to check it out before I purchase it. It installed fine and I can open files but when I open the print menu, the print window opens in a long vertical rectangl

  • How Use badi "MB_MIGO_BADI" method "LINE_MODIFY" and "CHECK_ITEM"?

    In MIGO I enter Transfer Posting with two positions of materials, then I press the button POST - Conducting, in this case my expansions fulfil correctly. If I press button HOLD - temporarily to keep the document, then I will leave transaction MIGO, a

  • How to make a transparent background

    I have a design and i need the background to be transparent, as it is going onto a website asap. I use Photoshop CS5 (64 bit). thank you

  • No SOP value

    Hi, I've ran MC8E and the job was successful. Yet not all materials has been updated with SOP value in Demand Planning. I've realised only materials in table S076E will have demand data. Based on the OSS notes 500354, SAP has suggested me to run prog

  • Where can I find a glossery of itunes terms

    where can I find a glossery of itunes terms?