Notification or Alert when selecting Item with charge on Sales Order???

Hello,
Is it possible to make an notification / alert on a salesorder when entering a item with batch/charge???
Now everytime the customer must enter CTRL-TAB on amount field to select a batch but don't get a reminder for the batch.
They don't want to select the batch/charge on Delivery.
THX
Mark

Below is code that will prevent deletion of a line from Sales Order.
DECLARE @NoOfRows int
DECLARE @MaxLineNum int
DECLARE @UserId int
IF (@transaction_type = 'A' or @transaction_type = 'U') AND @object_type = '17'
BEGIN
select @NoOfRows = COUNT(*) from RDR1 where DocEntry = @list_of_cols_val_tab_del
select @MaxLineNum = MAX(LineNum) from RDR1 where DocEntry = @list_of_cols_val_tab_del
select @UserId = UserSign2 from ORDR where DocEntry = @list_of_cols_val_tab_del
IF(@NoOfRows <> (@MaxLineNum + 1) AND @UserId IN (10,11))
BEGIN
select @error = 1234
select @error_message = 'One or more lines have been deleted from the Sales Order'
END
END
You can say which users cannot modify Sales Orders like by modifying the @UserId IN (10,11) below. You need to get the User ID from the OUSR table.
IF(@NoOfRows <> (@MaxLineNum + 1) AND @UserId IN (10,11))
Hope this helps
Krishnan

Similar Messages

  • How to include both items and service on Sales Orders

    Hello experts,
    I have a client who wants to include extra handling charges such as gift wrapping charges on their sales order in addition to regular items that is on the sales order.
    If I create the sales order as a Item/Service Type ='Service'. I can select the correct G/L account for this Sales Order. But if I create the sales order as a Item/Service Type ='Item', then I can only select items and not the sales order.
    The client wants to include both the items and service in the sales order. Is there a way to do this in SAP B1?
    Michael

    Hello Michael,
    I think you may create Service type items to include both by Item Type documents.
    Thanks,
    Gordon

  • Can only select items with direct selection tool

    I have been working on a design: one layer, with multiple groupings, nothing is locked. I'm trying to select the items with the selection tool, but can only select items with the direct selection tool (which is very inconvenient in this case). I can select the text with the text tool, but that really serves no purpose in my case. Anyone have any ideas as to what's going on? When I was working on it yesterday, everything was fine with all the tools. Thanks in advance.

    Imcookin,
    It may be a corruption of preferences, or an issue outside Illy.
    You may try to close down and just restart, or close down and restart pressing Ctrl+Alt+Shift/Cme+Option+Shift, or close down and use the suggestions in Move the folder or, if none of those suggestions help, have a look at the list in Other options

  • Itunes bombs outs when selecting "store"  with UBD.exe issue

    Itunes bombs outs when selecting "store"  with UBD.exe issue - what is the remedy?

    Hello there, tuneasa.
    The following Knowledge Base article offers some great steps for troubleshooting issues with iTunes performance:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to create item wise invoice with reference to sales order.

    Hi ,
    Please let me know how to create item wise invoice with reference to sales order.
    Ex : Sales order has 2 line items .
              When creating invoice system should create two invoices for each line items.
    I have tried with copy control but I am not able to do it.
    Please advise.
    Regards

    Hi,
    Please let us know your exact requirement. Whether you want it to be fixed like only one line item to be billed every time ot it to be based on selection you do every time.
    As per my understanding it should not be fixed and in that case it should like as follows,
    In VF01 you will select Del. document/S.O. number and click on selection list and will take you to next screen as mention below,
    and select desire line item to be billed and click on copy and will take you to billing screen.
    Regards,
    Ajit K Singh

  • Delivery note with reference to sales order - 0 quantity items

    Hi all,
    our system allows items with quantity 0 to be created in delivery notes with reference to sales orders.
    This happens when some items in a sales order are out of stock while others are availiable. The unavailable items are included in the delivery note, but have quantity 0.
    The requirement is to eliminate this behavior and to create delivery notes with availiable items only.
    I would be grateful for any advice how to realise this.
    Best regards, Andreas

    Make the necessary configuration i.e. Check quantity 0 field value should be maintained as B in the respective delivery item category using transaction 0VLP.
    Regards,
    GSL.

  • BAPI-To create production orders with reference to sales order & item

    Hi,
    Can anyone tell me which is the best method to create open production orders?
    Is there any BAPI available for creating production orders with reference to sales order & item.
    I tried this BAPI "BAPI_PRODORD_CREATE".
    I am getting pop up to enter serial number while executing the custom program.
    Which table contains the serial number(effectivity parameters)?.

    I have custom screen fields on notification service!
    i think a bdc is better.

  • Create purchase order with reference to Sales order Line item

    Hi All,
    i had a requirement that i need to create the Purchase order with reference to sales order line item...
    In T.code me27 client requied a input field for sales order no and with that order reference he want the data of line item to PO creation line item screen.....
    please sujjust......how to proceed......
    regards,
    Ravi Nemani

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sri

  • BAPI to create notification service with reference to sales order

    Hi,
    My need is to create a service notification TC IW51 with reference to sales order (credit memo request).
    is there a bapi to do this or i must do a bdc?
    please help.
    A+
    Ihsen ABROUG

    I have custom screen fields on notification service!
    i think a bdc is better.

  • Sales order with reference to sales order

    Hi,
       I need to create a sales order with reference another sales order using bapi CreateFromDat2.  Please note, Sales Ord. Dist. channel, Div, sold-to to of the new order are different from original order.   I gave reference order in field order_header_in-REFDOCTYPE .  I am getting following error when I perform single test " FB Call: insufficient parameters.  Can any of you tell me how to overcome this issue.  And is it possible to create an order refering to another Saler order with different Sales Ord, Dist. channel, Division, sold-to ?
    <b><REMOVED BY MODERATOR></b>
    Cheers
    Sudhaker
    Message was edited by:
            Alvaro Tejada Galindo

    There is an OSS note <a href="https://service.sap.com/sap/support/notes/370988">Note 370988 - BAPIs in SD: Creation with reference</a>
    <i><b>Symptom</b>
    This note describes the problems of the 'Create with reference' function when using BAPIs to create sales documents.
    If you are working online, you can use this function module to create a sales document with reference to an existing sales document or a billing document (for example, a debit or credit memo request) according to fixed rules. The rules for transferring information from the source document to the target document are defined in the copying control on header and item level. The creation with reference permits an item selection.
    When you use BAPIs in SD, a function of this type is not fully available. A reference is only possible for a quantity contract, so that the target quantity of the contract can be reduced by the order quantity of the sales document. Furthermore, the document flow is also updated.
    As an alternative to 'Create with reference' in Transaction VA01, two variants are provided for solving the 'Create with reference' problem in the BAPI.
          1. Create a '1:1 ' - that is, a document copy of a sales document (customer quotation, order) with 'BAPI_SALESDOCUMENT_COPY'. At this point, you cannot create the 1:1 copy of either a billing document or a delivery.
          2. Create a sales document that refers to an existing document with 'BAPISDORDER_GETDETAILEDLIST' and 'BAPI_SALESORDER_CREATEFROMDAT2'.
    <b>Other terms</b>
    BAPI_SALESDOCUMENT_COPY, BAPI_SALESORDER_CHANGE, BAPI_CUSTOMERINQUIRY_CHANGE, BAPI_CUSTOMERQUOTATION_CHANGE, BAPI_SALESORDER_CREATEFROMDAT1, BAPI_SALESORDER_CREATEFROMDAT2, BAPI_SALESORDER_CREATEFROMDATA, BAPISDORDER_GETDETAILEDLIST
    <b>Reason and Prerequisites</b>
    As of yet, no method exists for creating a sales document that refers to an existing document.
    Solution
    For solution No. 1
          1. Create the documents using the BAPI_SALESDOCUMENT_COPY function module. However, this only permits a 1:1 copy without factoring out individual items.
          2. After you have created the document copy, you can use a change BAPI to edit this copy.
    For solution No. 2
          1. Collect the data for the reference document (for example a customer quotation) with the 'BAPISDORDER_GETDETAILEDLIST' function module. In the example code, focus exclusively on the partners, items, schedule lines and conditions.
          2. Prepare the Data. Execute the 'copying control' manually. This way, you decide which values are to be transferred.
          3. Create the sales document using the 'BAPI_SALESORDER_CREATEFROMDAT2' function module by transferring the prepared data.
          4. Finally, you must remove a COMMIT WORK so that the sales document can be written into the database.
    An example of solution 2 is attached as a text file. You are allowed to select items and quantities for example, if you use input parameters. If there are no entries, then transfer 1:1 from the reference document. When you enter the 'condition type' parameter, you can determine whether conditions are copied or recalculated ('G' for transferring from the preceding document; 'B' or ' ' for re-determining, and 'C' for re-determining with transfer of the manual elements).</i>
    Sample : <a href="https://websmp108.sap-ag.de/~sapidb/012003146900000486112004E/BAPI_COPY_WITH_REF.txt">ZZ_MS_BAPI_COPY</a>
    Regards

  • Enable - Create With Reference in Sales order

    Hi All,
    I want to enable - Create With Reference in Sales order
    We have 1 billing doc type YX1 to be used as reference for a sales order type ZX3
    How to enable Create with reference from Sales Document type YX1 to Sales Document type ZX3.
    Currently, I am getting error 'Copying from sales document type YX1 to ZX3 is not supported'.
    Please let me know the steps to be followed.
    Thank you!
    Regards,
    Shanu Jain

    Hi,
    The error clearly suggests that there is no copy control maintained b/w invoice YX1 and sales order type ZX3. You need to maintain that in SPRO > Sales and Distribution > Sales Documents > Copy control for sales documents. (You may check the correct node here). Here, you select the billing document to sales document.
    Check for source and destination. You can take the source as F2 and CR (if ZX3 is a credit Memo request) as Destination document. You can copy the same and change the source and destination as YX1 as source and ZX3 as destination. Then, at the item level, if you have a new item category you can specify it as the 'Proposed Item Category'. Save it.
    Now try to create the sales document ZX3 w.r.t YX1... It should work.
    Hope this helps
    Thanks
    Mukund S

  • How to hide the Condition types in item condition screen in Sales Order ?

    Hi Experts,
    We got new requirement from the Client. Pricing Condition types  are ZZBG, ZPBG, ZPBA, ZFSG, ZBDG and ZBHG part in Pricing Procedure. These condition types have Condition records. These need to be hidden in Item conditions screen in Sales Order but other status of the conditions remain unchanged. Pleas provide me the solution earliest  How this we can achieve in a best way.
    Best Regards,
    Srikith

    Hi Srikanth,
    You can achieve this using CONDITION EXCLUSION.
    Maintain Condition exclusion for first condition type its Exclude the condition types which are below to that.
    You must set a condition exclusion indicator for the price. You can do this in two ways:
    If you want to set the condition exclusion indicator a follows then you specify it:
    1..for all condition records of a condition type (e.g. with condition type PR00) when defining a condition type in SD Customizing
    2.for an individual condition record (e.g. only for material 4711) in the detail screen of a condition record (in the Condition exclusion field)
    Hope this will helps you
    Dasaradha

  • External Procurement with a Valuated Sales Order Stock

    Hi Experts,
    I read the following in SAP Help,
    For external procurement with a Valuated Sales Order Stock, system generates a purchase requisition from the sales order.
    If you are using a valuated sales order stock, the externally procured material is assigned to inventory at the time of the goods receipt. If the sales order item is flagged as carrying costs and revenues, then when the goods issue for delivery to the customer takes place, the sales order item is debited with the costs of the externally procured material.
    My question is - it says costs of external procurement is debited to sales order item when " goods issue for delivery to the customer takes place"
           - but in my case, when I made the GR for purchase order (created automatically by sales order), system directly posted the procurement cost as actual costs to the sales order item. There is no delivery for sales order done still.
    So actually, when should the external procurement cost be debited to sales order item -- when GR for purchase order is done (or) when  goods issue for delivery to the customer takes place?
    Thanks,
    GAN

    Hi Rafi,
    Thanks for your reply. I understand the problem now.
    Material which comes from prod order is posted statistically (value type 11) to sales order when GR for prod order is done.
    Here, the issue is about a GR for purchase order (assigned to sales order). This material purchased is not used in any production process. Its a material which is supplied to customer along with main material produced in house.
    In purchase order, I have given the consumption account (which is cost element 1). Entry was Consumption Dr and GR/IR Cr. So, this posted as actual cost to sales order.
    I should have given inventory account in purchase order (with cost element 90).
    Its a mistake of using consumption account in purchase order.
    Thanks.
    GAN.

  • Create Outbound delivery with QCI from Sale order

    Dear experts!
    Now, I'm getting some issues about searching function to create outbound delivery with QCI from Sale order.
    Note: My sale order have two item (10, 20) and when i create outbound delivery I also want to create QCI for them.
    Help me, Please
    Best regards, Huy.

    What is QCI?

  • Were does the item category takes in sales order ....whaen we creat a sales

    hai to all.....
        when we make the entries in sales order field va01....we get a item box beside the material box....
        were the item comes from....and how to customize it ....
        plz help me with the steps to over come with this proble.....

    Hi,
    Refer to link below:
    http://help.sap.com/saphelp_46c/helpdata/en/dd/55fb13545a11d1a7020000e829fd11/content.htm
    Item category is determined automatically by the system based on the following criteria:
    Item category = Sales Document type + Item category group (in material master) + Usage indicator (ABAP) + High Level I.Cat
    It can be changed manually (if configured).
    Sales Document types are configured atIMG: Sales and Distribution > Sales > Sales Documents > Sales Document Item > Define Item Categories -- transaction VOV7
    Regards,
    Saju.S

Maybe you are looking for

  • Parsing an XML file

    I've written a program which is partly responsible for parsing an XML file that can be found on the web. I appear to be accessing the XML file correctly, but when I try to parse it I am running into a problem. I try to create a List object that conta

  • Is my Zen Touch DRM compliant/compatib

    Hi All, I've just got a Zen Touch 40gb.Apologies for such a dumb question,but this mp3 malarkey is new to me! Can you tell me if it is DRM compliant (as Creative claim in the online catalogue). I'm just wondering if anybody can tell me which music do

  • Roll out project for QATAR

    Hi Experts,                   I am new to sdn community , i just need your assistance to start working on rollout project for one of the top mnc of QATAR , and i got selected to work as sap fico consultant for this project , so my question is how to

  • Capital Investment Area was posted Depreciations in an incorrect period

    Hi , Capital Investment Area was posted Depreciations in an incorrect period, they skip a period. Can you determine if we can reverse those postings so that they can post in the correct period? Would appreciate your fastest reply. Regards Prasad

  • ItemEditor error

    I am getting the itemEditor to work mostly now. problem i am having is, after i switch the datagrid to become editable and then click into a given field (ie: itemEditor as a numeric stepper), if i just click in and out of the field, but do not make a