Performing coding operation for sales order

Dear All,
I have project to code for sales order. I need to know about linked tables for respective field areas and also i need to know any standard report available for the same.

Hi,
Just check this link..
http://www.sapgenie.com/abap/tables_sd.htm
Regards
vijay

Similar Messages

  • DIServer insert operations for sales orders with error

    DIServer insert operations for sales orders with
    That even though the insert is inserted DocDueDate DocDueDate it says error.
    Subtracting the value of the format 'yyyy-mm-dd', 'yyyy/mm/dd', 'mm-dd-yyyy', 'mm/dd/yyyy' put all reporting
    When the input is entered DocDueDate ShipDate also put together ... but I get an error.
    The error message 'env: Receiver-10Enter due date [ORDR.DocDueDate] 171AddObject2EEE7D98-AB71-464A-93AB-933F0AD3D4DC'
    Purchase order entered into the normal value because the xml is missing or wrong with you.
    Please answer all the possibilities that can be resolved
    This Xml used.
    "<BOM>" +
    "<BO>" +
    "<AdmInfo>" +
    "<Object>oOrders</Object>" +
    "</AdmInfo>" +
    "<QueryParams>" +
    "<DocEntry />" +
    "</QueryParams>" +
    "<Documents>" +
            "<row>" +
            "<DocType>I</DocType>" +
            "<DocDate>2012-01-11</DocDate>" +
            "<DocDueDate>2012-01-11</DocDueDate>" +
            "<CardCode>CD00001</CardCode>" +
            "<Address>Anymode</Address>" +
            "<DocCurrency>KRW</DocCurrency>" +
            "<Comments>[sales orders] LGU TEST</Comments>" +
            "<TaxDate>2012-01-11</TaxDate>" +
            "<JournalMemo>JournalMemo</JournalMemo>" +
            "<Address2>Addr</Address2>" +
            "<BPL_IDAssignedToInvoice>1</BPL_IDAssignedToInvoice>" +
            "</row>" +
    "</Documents>" +
    "<Document_Lines>" +
            "<row>" +
            "<ItemCode>ACDT0100ET</ItemCode>" +
            "<Quantity>1</Quantity>" +
            "<Price>5000</Price>" +
            "<DiscountPercent>10</DiscountPercent>" +
            "<WarehouseCode>A100</WarehouseCode>" +
            "<VatGroup>A2</VatGroup>" +
            "</row>" +
    "</Document_Lines>" +
    "</BO>" +
    "</BOM>";

    I had the same error change the Date to the format yyyymmdd, and problem solved.

  • User exit for  Sales order

    hi,
       i need to eliminate leading zeros for PO number which comes in SO created trough ALE.i found the enhancement for the FM idoc_input_orders.in that enahancement we have 12 FM's.my Leading zeros are comming for field belnr which comes in e1edk01 segment of idoc orders05.now i had coded my part of coding in FM exit_saplved.._oo1 and i had activated that.but it is not working for me.than i tought of going to other FM exit_sapl..._009.in which i'm not able go into the include either.plz help me out.thank you.

    Hi, Krishna!
    With IDOC_INPUT_ORDERS during IDoc interpretation PO number is assigned to XVBAK-BSTKD field which is later used for sales order creation with reference to PO.
    So all you need is to use some customer exit with changing parameters containing XVBAK after IDoc interpretation is completed. For example you can use EXIT_SAPLVEDA_009 which is called at the end of IDoc check after interpretation.
    Regards,
    Maxim.

  • SAP Mobile Sales 2.0 delta load issue for Sales Orders

    Hello,
    we have used Mobile Sales 2.0 with a Windows app for a while now. Our current issue is that sales reps won't see any historical sales order data on their devices.
    Background
    Due customer requirements, we need to make small changes to customer master data attributes and reload all customers from ERP to CRM. Then we ran delta loads (MAS_PARTNER followed by all other objects) to DOE, in which virtually all 5000+ customer accounts were compared. The delta load ran for about 3 days (some performance bottleneck we haven't located yet).
    During the delta load, data on devices was inconsistent. Accounts were missing and all transaction data disappeared. After the delta loads, all accounts and contacts are OK, save for a few. Data from activities (appointments, tasks) have reappeared, as they should. Only sales orders won't reappear. The sales orders exist in the backend and belong to active accounts and sales reps.
    Settings and troubleshooting so far
    We don't have any limitations for sales orders in CRM Sales Mobile configuration.
    We've run delta loads for all objects in transaction SDOE_LOAD.
    MAS_CUSTOMIZATION etc seem fine.
    We've re-run initial load for sales orders from CRM.
    In the test system, we've even reinitialized the whole CDS database on DOE and on the devices, then re-ran the loads.
    Checked steps suggested in discussion
    SAP CRM 2.0 initial load issue
    Historical sales orders (those created before the master data reload) exist in the backend, but don't show up on the device.
    If I change one of those historical sales orders in the backend, it gets sent to the device.
    If I create a new sales order in the backend or on the device, it is saved and replicated just fine.
    To sum it up, it seems DOE is unable to identify the sales orders relevant for replication.

    First Doubt i got clarify by my self as we can go with Unwired Runtime option .
    But i still have doubt in :
    2. How can i Modifying the Main Menu for iOS.
    i am able to customize the same for windows using files SybaseCRM.Configuration.xml file.
    Same how can i do for iphone/ipad.

  • Sample script to insert  into mtl_transactions_interface for sales order

    Hi,
    can any one provide me the script to insert into mtl_transactions_interface for sales order transactions. actually i have to create the transactions for all the assemblies/components of C* item (configured item). as per the standard functionality it will create only for the C* item.
    Thanks in advance..
    Regards,
    Sreenath

    If I understood your question correctly, your requirement is as follows.
    You have a sales order for a configured item - say C*123.
    The components of C*123 are A and B.
    A and B as well as C*123 appear on the sales order.
    When you ship the sales order, Oracle will create sales order issue transaction for C*123.
    You would like to use the transactions interface to create sales order issue transactions for A & B.
    That is wrong thing to do.
    You should not create a sales order issue for A & B.
    You need to BUILD C*123 by creating a work order. You need to perform WIP component issue transaction for A & B.
    Hope this helps,
    Sandeep Gandhi

  • 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 invoiced to customer, when we run VA88, why there is no change on this item ?
    Thanks and Regards
    Shubin

    when u invoiced, then run VA88 (settlement).
    kapil

  • Alerts for Sales Order

    Dear All,
    I want to generate alert when ever a sales order is added in the system by sales team (user) and send this alert to purchase team ( user).
    how to perform this.
    swap

    You have posted duplicate threads for the same question. Please refer to the other thread and close this one:
    Alerts for Sales Order
    Thanks,
    Gordon

  • FM account assignment for sales order

    Hi!
    How can be done FM account assignment (funds center, commitment item) for sales order items using ABAP (during creation or change through BAPI, or separate FM-call)?
    It seems FM_CO_***_INPUT_MAINTAIN_SD is "from those opera", but can anybody show exact way it should be used?
    Regards,
    Maxim.

    hi,
    during the creation/change of sales order you want to do the account assignment, try with MV45AFZZ and MV45AFZB user exit
      CALL FUNCTION 'FM_CO_***_INPUT_MAINTAIN_SD'
           EXPORTING
                I_COBL  = ls_cobl
                I_VBAK  = ls_vbak
                I_VBAP  = ls_vbap
                I_ACTYP = 'B'.
    cheers,
    sasi

  • Business Object Template for SALES ORDER

    hi all,
              how to get the business object template for sales order..iam able to get template for business partners but unable to get for sales order.... i have tried all the codings given, by still iam getting a error like
    <?xml version="1.0" encoding="utf-8" ?>
    - <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
    - <env:Body>
    - <env:Fault>
    - <env:Code>
      <env:Value>env:Receiver</env:Value>
    - <env:Subcode>
      <env:Value>-1</env:Value>
      </env:Subcode>
      </env:Code>
    - <env:Reason>
      <env:Text xml:lang="en">General Error</env:Text>
      </env:Reason>
    - <env:Detail>
      <Command>GetBusinessObjectTemplate</Command>
      <SessionID>DC703486-75R0-AD4D-97D1-0E80D8195155</SessionID>
      </env:Detail>
      </env:Fault>
      </env:Body>
      </env:Envelope>
    my coding for getting business object template for sales order is
    <WebMethod()> Public Function GetBusinessObjectTemplate(ByVal SessionID As String) As Xml.XmlDocument
            Dim n As SBODI_Server.Node
            Dim s, strXML As String
            Dim d As Xml.XmlDocument
            d = New Xml.XmlDocument
            n = New SBODI_Server.Node
            strXML = "<?xml version=""1.0"" encoding=""UTF-16""?>" & _
            "<env:Envelope xmlns:env=""http://schemas.xmlsoap.org/soap/envelope/"">" & _
            "<env:Header>" & _
            "<SessionID>" & CStr(SessionID) & "</SessionID>" & _
            "</env:Header><env:Body><dis:GetBusinessObjectTemplate xmlns:dis=""http://www.sap.com/SBO/DIS"">" & _
            "<Object>oOrders</Object>" & _
            "</dis:GetBusinessObjectTemplate></env:Body></env:Envelope>"
             s = n.Interact(strXML)
            d.LoadXml(s)
            Return (RemoveEnv(d))
        End Function

    Hi,
    I need to pass object key or object type to a function module 'SAP_WAPI_WORKITEMS_TO_OBJECT'. This function module returns the worklist details(workflow inbox). In worklist details i need to use the field for workitem id.
    Regards,
    Gautham

  • Condition for sales order delivery block

    Hi All,
    I am new to Workflow,
    I have created work flow  for Sales order changes, its works fine.
    but my requirement is after that it will check whether sales is block for delivery or not.
    if it is block then only it should send mail.
    Regards,
    Arpit

    Hi Arpit,
    1. Go to t-code SWO1.
    2. Click Settings -> Delegate.
    3. Delegate the BO YBUS2032 to the BO BUS2032.
    In workflow perform the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name BUS2032 (not YBUS2032), in Event of object enter the BO event.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Use the attribute that you created and make the start condition. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    Hope this helps!
    Regards,
    Saumya

  • PCA substituion for Sales Order

    Hi,
    Our requirement is to create the sales order substition for the followins
    For each region different PCA values, we have 20 regions.
    Can you please tell us how to achieve this through substituion.
    Thanks,

    Hi
    The standard solution is defined in the link
    http://wiki.sdn.sap.com/wiki/display/ERPLO/ProfitCenterSubstitutioninSales+Orders
    You can also look at the following notes
    173798 - User exit for PCA substitution
    1532865 - FAQ: Profit center in the billing document
    167912 - Substitution call-up points for sales order/billing document
    114954 - Partner profit center for intercompany billing
    112974 - Subst. Prof.ctr subst.,create KDAUFf.cross-CC sales
    39254 - Profit Center - cross-company code sales
    If you want to write your own logic, you can use the User Exit MV45AFZZ.
    There is a perform which moves the Value to VBAP. This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    Regards
    Sanil Bhandari

  • Activating Pricing for Sales Order in Retail

    Hi All/Vijay/KK,
    Please tell me how activate the pricing for sales order, actually in SD we do Pricing Determination, what has to be done for Retail pricing

    Hi,
    To do sales order pricing
    Goto IMG>Sales & Distribution>Basic Functions>Pricing>Pricing Control
    Either Follow Standard, condition type PR00
    or in case of Custom
    1. Use condition table 406 Site/article
    2. Define Access Sequences ZPR0
    Enter accesses:10 406 Site/article Exclusive x
    3. Define Condition Types (ZPR0 assign newly defined access sequence)
    4. Define And Assign Pricing Procedures (assign condition types ZPR0..etc. to it)
    Then maintain condition record , go to VK11 --> Enter your Z condition type (eg. ZPR0)., enter the amounts.
    Add the pricing procedure , to sales document type.
    For Retail Sales Pricing
    For Retail Sales Pricing based on Purchase pricing you can follow the following method:
    The retail price is always based on the purchase net/net price. This purchase net price is built up from the purchasing pricing elements or condition types defined to be included in the purchase net price. A planned mark-up is applied to the purchase net/net to calculate the proposed retail price. The planned mark-up can be set by merchandise category and for exceptions, more specifically by article.
    You can perform Two-step calculation for retail pricing, for example, for stores that are supplied by a distribution center (internal vendor). Calculating sales prices for the stores is based on the transfer price for distribution centers (preceding organizational unit).
    1. Set up Master Data (WB02) - Relevant Fields should be maintained
    2. Set up Article Master Data - Logistics DC and Store View (MM42)
    Relevant Fields should be maintained
    3. Maintain Mark up for DC(VK11) -Markup % at Distribution channel distribution chain level
    Mark ups maintained at two levels:
    For DC: At distribution chain level
    Condition type used: AUFS
    For Stores: At article level
    New condition type ZUFS created.
    4. Maintain Mark up for Stores (VK11) Markup % at Store distribution chain level
    5 Create Pricing Procedures (IMG) -Pricing Procedures created
    6. Carry out Price calculation for DC(VKP5) - Pricing Document created - DC Transfer price calculated
    7. Carry out Price calculation for Stores (VKP5) - Pricing Document created - Final Retail Price Calculated
    The final retail price that is calculated is stored in the condition type VKP0.
    Hope it helps,
    Regards,
    Anirban Roy

  • Query for Sales Order Analysis

    Dear Experts
    I have written a Query for Sales Order Analysis and would like to have help on this.
    The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
    where U_Total_GP is a UDF for storing the GP of each order.
    After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
    Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
    Thank you
    Regards
    Elton

    Hi Elton,
    Try this:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
    Union ALL
    SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0]
    ORDER BY T0.[DocNum]
    Thanks,
    Gordon

  • Workflow for Sales Order Release via Status Profile

    Dear all,
    i want to make a workflow for sales order which have 4 User Status in One status profile.
    Once Event triggered for sales order
    1.   Mail should go to main authority with sales order number.
    2.  Once authority will do some changes in the required field then he/she changes
         the user status-1 from defauts as per line Item and mail should go to department no-1 (Head authority).
    3.  Once again same changes in sales order but now user status-2 from user status-1
         as per line Item and mail should go to department no-2 (Head authority).
    4.  Once again same changes in sales order but now user status-3 from user status-2
         as per line Item and mail should go to department no-3 (Head authority).
    5.  Once again same changes in sales order but now user status-4 from user status-3
         as per line Item and mail should go to department no-4 (Head authority) .
    and parrally for each changes of Status mail should also go to User (Event Creator).
    6. Finally mail sholud go to User as you are permitted to do next business transaction for this sales order
    Please tel me the process as i am very new this topic and i am always going to stuck in Binding.
    please help me out.
    Thank You

    Hi Neeraj,
    First of all start with SWELS and SWEL T-Code to check if any standard event is getting triggered or not. If event is getting triggered, then use the same event to trigger the workflow; otherwise create a custom event of BO and use the same to trigger the workflow.
    Hope you are aware of T-Code SWO1 and delegation of BO. The BO used for your requirement will be BUS2000115.
    As you want the workflow to get triggered only for one status profile and one of its status, so use check function module. There set the condition for you status profile and status.
    The FM which you will be using the most is CRM_ORDER_READ. To read the status, you can also use CRM_STATUS_READ_OW.
    Now simply make the approval steps in the workflow using activity. In the activity, you can use the standard method USERSTATUSPOPUP to send the workitem for approval. In each step use the same activity with different agents as approvers.
    Just go with these things and let me know if you get stuck up somewhere.
    Regards,
    Guddan

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

Maybe you are looking for

  • Application is not working after migrated to 11.1.2.4

    Hi expterts, I developed an adf application on JDeveloper 11.1.1.6. It works without problem on 11.1.1.6. Briefly uses following technologies: ADF faces, facelets and taskflows, EJB, hibernate... When i wanted to go on develop with 11.1.2.4, I copied

  • HDV mixed format editing and mastering for broadcast TV

    Hi I have HDV blues with regards mixed format and multi time base. Any help advice will be greatly appreciated. I have never handled HDV in multiformat and multiple timebase to Mater and output for Broadcast television. I am hoping to master to DVD d

  • W-lan problems imac

    Hi, my iMac (27", mid2011) is permanently loosing the w-lan conection. The Symbol says the conection is good but with Safari or Chrome I cant't open a site frome the net. I hope this problem will be solved soon!

  • Update XML content to Database

    Dear All, I currently use Oracle 10g DB. Our business partner will send the XML file to us by E-mail . Pls advise which solution can get the mail and insert XML data to DB Automatically ? Best Regards Boris

  • SQL Developer 1.5.1.54.40 Test Connections fail

    Test connections are failing unless the connection is saved first..Is this a feature?