CIF: how to "push" a Sales Order item from ERP to SCM via FunctionModule ?

Hello experts,
we are implementing a process in ERP (ECC6.0) where we change a sales order item (VBAP- VPZUO) in order to stop SNP (LiveCache) performing the "fcst consumption" for this specific sales order since it is a spezial promotion / trade fair order which does not justify to change the fcst consumption for the entire product.
We are searching for a function module or any ABAP "handle" of telling the CIF in ERP to "push" a specific sales order item thru to SCM again. We started with an artificial batch input in VA02 / VA32 and changed a non-used text field field in the sales order position and the document save was doing it. I wonder if someone run over same topic and found a better way to get this done with a specific function module or setting a specific trigger in some other ways.
I was not sure if this is the correct forum - in case someone knows a better match on SDN I'm happy to move it over to the right place.
Regards
Thomas

Hello Thomas,
You can't really push a Sales Order seperately, and not advisable also as you should not tamper with CIF interface. I can give you another approach.
You have to identify during CIF that the Sales Order is a special Sales Order. Better have a separate Sales order type for such special Sales Orders. That being the case, I think you can handle your issue by changing the ATP category of the Sales Order during CIF. The standard Order category is BM. You could create a custom category in APO, and during the transfer, you could change the Sales order category to this custom category. APOCF010  EXIT_/SAPAPO/SAPLCIF_SLS_001 exit (Inbound Sales Order in APO) should be helpful for this. You would need to change the ATP category field in IT_SL_REQ table.
You could then display this "additional" Sales Order in a separate KF in SNP (if you need it) by assigning it a custom category group in SNP planning area which would have only this custom category. For normal SNP planning, normal SNP sales order of category BM would be relevant.
Please be aware that when you try out things like this, you might need to tweak a lot of SAP standard behaviour at many other places. Things like CCR also need to be tweaked, and also whatever further planning you have to do for this particular Sales Order might also need to be tweaked.
Thanks - Pawan

Similar Messages

  • How to default Delivery Priority on Sales Order Items from Ship To?

    Is there a way to pull the Delivery Priority from the Ship To partner when creating sales order items rather than pulling from the Sold To partner?  I've checked all of my documentation -- including OSS notes; searches on SDN, IT Toolbox, and internet.  This doesn't appear to be configurable.  Can someone confirm that or tell me how to configure?  If not configurable, what is the recommended user exit? 
    Thanks!

    Thanks for responding - you are the first person to do so.  Unfortunately, I think you missed the point of my question.  We do not want to create and maintain customer materials - the delivery priority is in generally not material dependent.  We simply want to be able to have the Sales order item use the Ship To partner's delivery priority rather than the Sold To partner's delivery priority as the default delivery priority on the sales order items.  Ideas on how to do that?

  • Urgent: How to copy multiple sales order items into a return sales order?

    Dear developers,
    I have a requirement to copy multiple sales order items into a single return sales order. For example, generated return sales order have 2 items, item 10 is created with reference to sales item 2610/10 and item 20 is created with reference to sales item 2611/20. What's more, when it happens, copy control should be taken care of. I know it is possible to create this kind of order by transaction. But how to do it in coding?
    In current SAP release, there is only BAPI for creating with reference on 1:1 relationship which means copy one document to another but what I need is N:1 copy.
    Any suggestion is high appreciated!!
    BR,
    Tony.

    Hi ,
    If you are creating sales order by using bapi then after calling bapi you can check import parameter <i><b>SALESDOCUMENT</b></i> in the bapi function module .If this parameter is not initial then sales order is created in this case you can create return order. If this import parameter is initial then sales order is not created and you cannot use return bapi function module.
    Bapi is simple method than BDC.
    In above case it is required to call BAPI_TRANSACTION_COMMIT after every successful sales order creation.
    One more important point is you have to clear import parameter <i><b>SALESDOCUMENT</b></i>  before calling sales order creation function module.
    Thanks,
    shyla

  • How can i capture sales order items in C# and pass them to a BAPI?

    Hi everybody,
    here is another novice question for you.
    What control should i use in Visual Studio to allow the user to enter sales order items (material and qty) as a table on the screen and then put these items on a table and call the BAPI to create an order?.
    I've tried using a Datagrid and set the "edititemindex" as "1" but doesn't work.
    Any help will be greatly appretiated.
    thank you
    Javier ...

    Dear Todd,
    thanks for your reply. I'm using ASP. I tried a grid but i cannot seem to make it work, it doesn't appear at first because it's empty, i tried creating some blank rows but the same happens.
    The other thing i tried just to test is to create a row on the table "partners" to pass the needed "AG" (sold to party) and its number and the BAPI keeps returning an error "Please enter Sold ot or Ship to party". Like if the table was empty. Is there any special way to send a table to a BAPI ?. I'm sending it by ref, and i'm creating the record by first creating a structure, filling it an then calling the ADD method of the table and passing the structure. I'm i missing something here?
    Please Help, it's been days with this problem,
    I'll appreatiate it very much
    Best regards and have a great day.
    Javier ..

  • How to read the Sales Order( Item ) System status?

    Hi All,
    My requirement is to display the  System status of the sales order item*. When we go to the sales order display, if i double click on the line item , ii will lead to the next screen.Click on status tab,here we can see the Sytem staus. I would like to know the logic to read this sytem status ?
    Thanks,
    Suresh.

    read tables VBUK, VBUP for SD document status indicators

  • Fetch Sales order & item from Prod ord to TR Header text when staging mat

    Hello
    We have a need to see Sales order and item number in TR header text when selecting TR to be processed in transaction LB10.
    TR´s are created via transaction LP10. Is there any solution to get Sales order number from Production order to be automatically pasted to TR header text field when generating TR?
    SO & item is always available in Production order General data.
    Thanks for answers!
    -A
    Edited by: A_R_FIN on Feb 5, 2010 8:34 AM

    Hi,
    I hope the below link will help you.
    Help needed with BAPI_SALESORDER_CREATEFROMDAT1 parameters
    Thanks,
    Khushboo.

  • Display item configuration of a sales order item from a program

    hello experts,
    I have a scenario in which I need to use a call transaction from my report program to sales order item configuration, is there a way to achieve this??
    Thanks for your help.
    Selvam A

    Hello Selvam,
    This should be similar to any other call transaction.
    When the user clicks on the sales order item, call the sales order item configuration transaction and skip initial screen.
    If you are doing this in the report output, add the code in 'at line selection' and by using get cursor.
    cheers,
    Sushil Joshi

  • How to get master sales order number from delivery number

    Hi All,
    I need logic for getting master sales order number from available Delivery number.
    Note: There can be many SO's in diffrent levels.
    Finally i need to pick up master sales order no.
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    I have a outbound delivery[VL03N] 'X' in my system .
    Then for getting sales order no i am writing below code:
      SELECT single vbelv vbeln
             from vbfa
             INTO (vbelv, vbeln)
             where vbeln   EQ p_vbeln AND
                   vbtyp_n EQ 'J'.
    Then vbelv i need to pick up master sales order no.
        SELECT vbelv vbeln
               from vbfa
               INTO TABLE i_so
               where vbeln   EQ l_vbelv AND
                     vbtyp_n EQ 'C'.
    If i write code as above it is giving four sales orders which one of them is master sales order no!
    Thanks,
    Deep.

  • How to make a sales order item deleted in ECC while in CRM just status changed?

    Hi expert,
    I have a requirment, that is:
    1. the user will change the USER STATUS in a line item of sales order to "CANCEL".
    2. When the order was replicated to ECC,the item should be deleted totally and the ITEM in CRM should not be affected.
    How can I implement this? Is there any resolution by just make some configuration?
    Thanks in advance.
    Jerry

    Hi Jerry,
    As per standard SAP, the line item is not deleted (in ECC) based on the status changes at the line item (in CRM)
    You need to do the development to achieve this.  Following points to be considered if you are doing any custom enhancement.
    1. What triggers the sales order replication ? Is it status change at header level ?  If yes, then you need to define a program which will first check the line item status in CRM Sales Order.
    2. Wherever a line item status is CANCEL, it may store in some internal table and then it will call an RFC to delete these line items in the replicated ECC Sales Order.  (without deleting the line items in CRM Sales Order)
    3. Mind you that, this will be a complex enhancement and may give lot of challenges in the sales order replication to ECC.
    Drawback of this requirement -
    1. If your client prefer to have this scenario, then it is fine, but I could see the data inconsistency in all such sales orders.  There will be a mismatch between the sales order in ECC and CRM
    Hope this will be useful
    Thanks and Regards
    DJ

  • Upload Sales order item from excel to SAP in VA01 thru frontend

    Hi,
    I am a front end user.
    SAP version 710.
    we enter sales order thru frontend in VA01 in SAP. The data is stored in excel.
    Currently the following is performed.
    Open VA01. In transaction entry screen ,
    Copy from Excel & Paste In SAP the following
    SAPID of the Customer
    PO No.
    PO Date
    Then copy and paste the line items from excel block by block i.e. depending on no. of line items seen in SAP per screen, copy that many lines from excel and Paste in SAP.
    Then select next block and
    SAVE the order.
    In excel there are many orders of different customers.
    I know litte bit of VBA.
    Can this be automated somehow.
    Pl. help.
    Thanks

    Hi Suhas,
    to automate the work in the SAP, it requires e.g. SAP GUI Scripting.
    1. Please check whether your client is allowed to SAP GUI Scripting. (ALT / F12 -> Options -> Scripting -> Enable Scripting)
    2. There should be only an indicator for Enable Scripting.
    3.The other two indicators by Notify When ... should be inactive.
    4.You would then be able to record a SAP GUI script. (ALT / F12 -> Script Recording and Playback... -> red dot)
    5.Please record all that to what you have to do it manually for first record in Excel.
    6.Stop recording (record and playback -> yellow dot)
    7.Please then present the results here in the forum for your script.
    8.Present us also your Excel sheet with some rows.
    Unfortunately I have no access to the VA01 transaction. But you can already read a lot in advance on the following link.:
    Re: Transferring data from Excel to SAP
    Regards,
    ScriptMan

  • How to Avoid Open Sales Order Value from Credit Check

    Hello Everyone,
    We have a problem with Credit Management, When my user run the execute credit master sheet, system is considering open sales order value under Credit limit used. My user do not want consider open sales order value, they want only Open delivery and Open Billing value need to appear in Credit limit used.
    Is it possible to avoid open sales order values, if yes what setting i need to do....please help me.
    Thanks
    Sudheer

    Sudheer,
    You need to check the update rule given in the definition of the Credit control Area which you are using for credit management. If you want only the open deliveries then you need to have update rule 15 in the credit control area.
    In the credit controal settings, you need to have settings for the credit check at the delivery level.
    Hope this will solve your issue.
    Regards,
    Chetan
    Edited by: Chetan Gupte on Jul 15, 2010 8:56 PM

  • How to print one sales order output from two printers using single command.

    Dear all,
    Our requirement is to print single sales order from two different printers, where as one printout for sales order output and another for sales order cash receipt.
    We developed two smartforms for both outputs.
    But we are struggling to assign the smartforms to single document type, which has to result two printouts after saving the sales order.
    Please help us to solve the issue.
    Your suggestions will be highly appreciated.
    Best regards
    Raghu ram

    Hi,
    You should define two different output type for your requests, one is for SO output, the other is for SO cash receipt. That's okay!
    Good luck
    Z.T

  • Deleting all linked documents per sales order/item

    We have documents linked to our sales orders/items (which can be seen via CV03N).  I would like to run a batch program to selectively delete all of these linked documents.  There is a function module CV140_LINKS_DELETE that looks will do the trick if you supply DOKAR, DOKNR, DOKVR, DOKTL, DOKOB and OBJKY.  In our case DOKAR is 'ZQN', DOKVR is '00', DOKTL is '0000' DOKOB is 'VBAP' and OBJKY is a combination of sales order/line.  How would DOKNR be filled in if I want to delete all documents?
    Thank you.

    In my case, I'm trying to delete the following:
    DOKAR = 'ZQN'
    DOKNR = (can have 34 different values ranging from Q01-Q34)
    DOKVR = 00
    DOKTL = 0000
    DOKOB = VBAP
    OBJKY = sales order/line - I have this in an internal table I loop thru
    My issue is with the DOKNR value.  Is there a way to delete all document links for a sales order/line when you don't have a DOKNR value?

  • Wrong short text for sales order item

    Hi guys,
    I have an issue for the short text for sales order item. It is werid that I get the different short text depends on how we enter the material. If we only enter the material #, we get the short text for sales order item from material master data. If we enter the material #, plant and storage location, we get the short text for sales order item from customer material infor record. However, the customer material infor record is only maintained for inter-compnay transaction. System should not pick it for third-party transaction.
    I found a code in FV45PFAP_VBAP_FUELLEN:
    Bei Primärbedarfen ist MAAPV-ARKTX nicht relevant
        if vbak-vbtyp ne vbtyp_pbed.
          vbap-arktx = maapv-arktx.
        endif.
    Kundenmatinfo hat höhere Priorität
        if knmt-postx ne space.
          vbap-arktx = knmt-postx.
        endif.
        if da_arktx ne space and
           svbap-tabix = 0 and
           vbapin-matnr = vbap-matnr.
          vbap-arktx = da_arktx.
        endif.
    But it is nothing customized. Who can tell me what is wrong here?
    Thanks,
    DL

    Hi,
    Text coming from source (MMR, CMIR etc.) is being "pulled" via the access sequence. Check the Text analysis in your sales order in Tab Texts, at item category level.

  • Table Name to take report of Open Sales Order items&its relevant GL Number.

    Hi,
    I wanted to take a report with Output as Open Sales Order Items and its relevant GL account numbers. is there any T Code in the Standard or atleast the table name.
    I have already fetched the Open Sales Order Items from T code VA05, but i need the relevant GL account numbers also.
    Any pointers on this will be appreciable.
    Rgds,

    Hi
    There are no standard reports where in you can fetch the data of the open sales order items and its G/L accounts with the output. But  by creating your own report using LIS then it is possible
    Regards
    Srinath

Maybe you are looking for

  • How do you stop the phone from attempting to logon to a deleted email account?

    When I first got my phone Skype video was not available so I opened a Yahoo email account so that I could use them for video calls.  I got frustrated with the phone in that about half of the time that I turned it on it would tell me that it couldn't

  • How do I extract a substring when I know what become before and after it

    I am able to get the HTML source of a web page and I want to get certain information from it. I am trying to extract a 1 or 2 digit number but sometimes it is not there but I know that this comes exactly before the number if it exists or not "</td>  

  • Apple TV sound problem

    Does anyone have any suggestions on why I can get sound and picture when streaming from the clouds but picture only when using iplay from my pad?

  • Connecting New Ipod Touch to PC

    I keep trying to connect my new ipod touch to my PC and it keep getting a dialog box that tells me Apple Ipod on top and then in the box it says Camera Connected. It then gives me an option to launch the program using Microsoft scanner and camera wiz

  • IChat, Skype & Yahoo webcam not working?

    Hello, A few days ago I updated my Macbook Pro as it had some small updates to run. Before the updates, my built in webcam and external Microsoft LifeCam both worked with all three applications (iChat, Skype & Yahoo). After the updates, only my built