How to prevent  a printing of Delivery Note for Spcecific Material Type

Hi,
I had a requirement wherein it was required to "Prevent Mask Delivery notes from printing to Shipping dept"
  addition info:  All delivery notes are currently set to print in shipping. We can put in a logic to prevent the printing of
  delivery note for a specific material type (like mask)
  for this i used copy control routine 'RV61B902' in the include  for tcode vl02n or vl01n..
  my logic is fine..
include 'RV61B902'.
sy-subrc = 0.
DATA : w_matnr LIKE lips-MATNR.
IF T683S-KSCHL = 'LD00'.
  IF sy-tcode = 'VL01N' OR SY-TCODE = 'VL02N'.
    select  matnr into w_matnr  from lips where vbeln eq komkbv2-vbeln.
      condense w_matnr.
      if W_matnr cs '*MASK'.
          SY-SUBRC = 4.
          exit.
        endif.
    ENDSELECT.
  ENDIF.
  ENDIF.
  question : My check was overwritten by the subsequent logic
please advise.
ESWAR
Edited by: tarakeswar  rao on Nov 5, 2008 3:39 PM

end user wants output to be stopped right, that will be controlleed in Output requirement only.
What does that has to do witj copy control. It will not do anything in your case

Similar Messages

  • Print in different page for different material type in Sapscript

    Hi all
    How do I do the above matter?
    Currently I have a script that print all material according to some condition.
    My client request to have a different page of material list for different material type.
    Please advise
    az

    Hi,
    1) Sort the internal table by material type.
    call func 'OPEN_FORM'.
    loop at itab.
    at new mattype.
    if mattype = 'A'.
      call fun 'START_FORM'.
       exporting
        page   =    'PAGEA'.
    elseif mattype = 'B'.
      call fun 'START_FORM'.
       exporting
        page   =    'PAGEB'.
    endat.
    call func 'WRITE_FORM'.
    AT end of mattype.
    call function 'END_FORM'.
    endat.
    endloop.
    call function 'CLOSE_FORM'.
    Thanks,
    Nethaji.

  • Creating delivery notes for providing material to vendor (subcontracting)

    Hi,
    I am pretty new in the PP module of SAP, and have a general question regarding the subcontracting process for single operations in a production order.
    Assuming the raw material has id A and the final material has id B. My routing consists of several operations that have to be performed to transform A into B. One of the operations has to be done with subcontracting (key PP02), and the system creates the purchase requisition / purchase order for it. I have operations before and after it. 
    Now I need to send the parts to the vendor, and want to create some kind of delivery notes (paper), which helps controlling the shipping etc., how can I do this? All I have right now is the purchase order, which does not contain any information about the material, but only about the service to be performed by the vendor.
    I already thought about assigning a bom for providing material in the purchase order. But then I would need a material ID for the semi-final part which is somewhere between A and B and would need to have it on stock.
    What is the standard way of doing this?
    Thanks in advance!
    Kind regards!
    Daniel

    Hi Nandha!
    Thanks for your quick response.
    If I check the "Subcontracting" button on the tab Ext. processing in the production order, I need to assign components in the purchase order which will be provided to the vendor. These components either have to be on stock, or would be processed by MRP and planned orders would be created. That is not what I need.
    I have only one single part which consists of a raw material and only gets modified by the operations. No other component will be added at the vendor. So which material ID should I assign to the purchase order in order to just send the semi-finished pieces to the vendor? I cannot assign the raw-material again, because it would create another demand in the MRP again! I also cannot put the semi-finished parts on stock, because I don't have a material id for the part in this status.
    Thanks & regards!
    Daniel

  • Stop re printing of delivery note

    Hi All,
    My requirement is to stop re printing of delivery note after it is processed once and printed.
    The NAST-STAT field is not changing to any value except 0. i am not able to figure out what change it requires. guidance needed.
    thanx.

    Hi,
    I presume that you have configured output type to print, if so in the FORM ENTRY you will have to update the return code as 0 if print was successful.
    Now, NAST-VSTAT will be updated to three possible values.
    0     Not processed - The entry will remain in this state until the form is printed.
    1     Successfully processed - It will be updated to "1", once the form is printed successfully, it will not be set to "1" if you just do a print preview.
    2     Incorrectly processed
    Regards,
    Chen

  • How could I config a Delivery Notes for a shipping point ?

    Hi Experts!
    I need to config a new delivery notes especially to tie a shipping point and a revenue channel...do you know how to proceed??
    Actually, my client already have a delivery note for a shipping point and a revenue channel, but now I need to create another type of delivery note with other number range for a different shipping point and revenue channel...
    I do not know the path in spro neither if I need to use a Tcode transaction....
    Please let

    the path is for creating new delivery types which can be processed thru txn vl01n, vl10b etc. when you want different delivery types to handle differnt sales document types.to deal with say free samples exports sales from depots etc differently.
    you must be meaning the output from vl03 , is it?

  • How to from more than one delivery note - conversion into one invoice

    Dear Experts,
    How to from more than one delivery note - conversion into one invoice?
    Thanks and best regards,
    Wilson Hong

    Dear Wilson Hong,
    Single invoice for multiple deliveries will takes place based on these criterion
    1.If you want single billing document for multiple deliveries these data should be same in all order for all items.
    -> Payer
    -> Inco term
    -> Payment term
    -> Actual GI Date from Delivery
    -> Shipping Condition
    -> Account Assignment Group
    -> Exchange rate (in case of export sale order)
    -> Foreign trade data.
    2.In addition to this you need to maintain proper copy control settings between delivery and invoice.
    Go to VTFL transaction input your delivery type and invoice type then go in to the item level settings here you find field Data VBRK/VBRP maintain this field with routine 3-Single invoice.
    If the above data and settings are exists you can do single invoice for multiple deliveries.
    I hope this will help you,
    Regards,
    Murali.

  • How to prevent JaxB creation of 2 Interfaces for each Element?

    hi,
    does any body know how to prevent JaxB creation of 2 Interfaces for each Element (The Content Interface and the element interface)?
    I want to configure JaxB to use only one Interface and only one implementation Class.
    Thank's,

    I am sorry I can not answer your question, I have got the same problem. Could you please email me to
    [email protected] when you know the answer, please.
    I have a question for you. When and complex type is validated, I get the object which contains the error. ( or objects ).
    However. How do know the position in the actual parent object. basically. Is there a way to know exactly the position of that attribute in that object. I need to store errors strings.
    The first problem derives from this one:
    It is not possible to execute validate function for a primitive attribute inside an structure.
    I would appreciate your help.
    Thanks.
    Gustavo.

  • Customize delivery note during MIGO mov. type 541

    Hi, everyone.
    Pls. I need help because during MIGO mov. type 541, I need to print the delivery note just to accompany the materials.
    I can create/save the material doc. correctly, but when I save I have to customize the printout of delivery note.
    Thanks for tell me the step by step.
    Regards.

    Hi,
    Following are the general settings to take the printout of any materail document posted by MIGO:
    Go through these steps you can get the GRN Printout
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    Enter the local printer where you want to print your Goods posting document
    2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
    3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt/GI/Transfer Posting Documents
    Here for Particular mvt type 101,201,121,311,541 etcu2026 Maintain the Print item as 1--Material document printout
    5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the following--
    Select the particular Output type then goto Details
    a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Transmission medium is 1
    b. Print Parameter is 7
    6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Printer Determination by Plant/Str Loc, Maintain the Output device for all your Plants
    7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
    Now the settings are ready for Printing Material doc
    8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately.

  • Serial Number assignment in Delivery Note for Make-to-order

    Hi experts,
    In our current design, we have made it obligatory to enter the serial number in the delivery note for make
    to order stocks.
    We are also implementing PP and we would like to capture
    the serial number specified in the production order and
    automatically populate the serial number in the delivery.
    Any suggestions on how I can do this is greatly appreciated.

    Hi Karun,
    Thank you for your kind advice all the time. 
    I have been looking into it but the LIPS structure does not contain the serial number field...
    I have been looking for the routine in the copy control
    but have no luck finding such routine...
    Thanks for your continuous help and assistance.

  • How do i enable read or delivery receipt for Mail?

    how do i enable read or delivery receipt for Mail?

    I entered this code into terminal replacing "your name" with my email address:
    defaults write com.apple.mail UserHeaders '{"Return-Receipt-To" = "[email protected]"; "Disposition-Notification-To" = "[email protected]"; }'
    I've read it worked for some, but I could not get it to work. Does Mail automatically override this?

  • How to check Reconcilliation has happened or not for a payment document

    Hi,
    How to check Reconcilliation has happened or not for a payment document? Payment doc ABCDEF was created on 2nd. Now i am not sure whethr RECON has happend ot not
    Please help.

    Dear,
    If you have made payment to vendor and want to know whether reconciliation happened or not then check if this document exist in table BSIK then reconciliation has not been done.
    Regards,
    Chintan Joshi.

  • VL10C double delivery notes for one sales order

    Dear all,
    Currently we encountered an very strange issue in our SAP.  we found that via VL10C, SAP create two duplicated ourbound delivery notes for one sales order, which resulted in a double items and amount in the billing document. These two deliveries notes are complete the same, which were created with 7 sec interval via VL10C. Check in the sales order, we can see delivery Qty was double against order Qty for all the items.
    does anyone have a clue on this issue? your effort and feedback will be most applicated!
    Thanks & Best Regards,
    Kyo NG

    Hi,
    I forgot this possible cause. Check Note 61148 - VL04 VL02 AME807 AME815: Insert to table VETVG and related notes, specially Note 931297 - VL10x, VL10HU - Duplicate entries displayed in STO.
    Regards,
    Eduardo

  • How can I recover my data in notes for iPhone 4s thats without iTune backup

    How can I recover my data in notes for iPhone 4s thats without iTune backup.

    Sorry saker, but if you have not backed up your data anywhere, and you told the computer, in essence to clear the data and restore it with your iPod data, then you are pretty much out of luck....
    Cheers,
    GB

  • Delivery number for a material document posted

    Hi experts,
    I need to delivery number for the material document number posted,
    I tried to use the field XBLNR from the table MKPF
    but i see that the feild is empty in the case of inbound delivery
    why is it so.
    How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
    Thanks a lot in Advance.

    Hi,
    If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
    To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N.

  • How to find out the Idoc number triggered for any material transfer frm SAP

    Hi Folks,
    Can any body let me know How to find out the Idoc number triggered for any material transfer frm SAP?
    Do we have any navigation for that in MM03?
    Thanks,
    SPMD.

    Hi Shabbirmdpasha,
    If you know the user name then you can find the idoc numbers created by that user. But the problem here is it not only gives the material it gives all the idocs created by that user. Go to SE16 --> table name EDIDS --> here you can fill the approximate date and in UNAME give the userid and execute. This will give all the idocs created by that user. I know it is only a partial solution.
    Also would suggest to post the same in abap forums for more answers:
    ABAP Development
    Regards,
    ---Satish

Maybe you are looking for

  • Is there a way to use multiple ipods on one computer without them overwriting each other?

    i have in total 3 ipods. One is an the square ipod. (the one with the moving screen on the right) the second is an ipod shuffle (the touch screen one) and i just got an ipod touch. (the colorful one) i still use all my ipods but on my first two i use

  • Disk Utility not working from Recovery HD.

    I've got a brand new top of the line Late 2013 MacBook Pro (2.6GHz, 16GB RAM, 1TB HD).  This is my first Mac and I need to run Windows as well so I have done a lot of playing with Boot Camp, Parallels, and VMWare fusion.  Including the use of CampTun

  • 3/12/2013 - AIR 3.6 Runtime and SDK Update

    Today, the AIR 3.6 Runtimes and SDK's were updated to address stability and performance issues, in particular the following problems have been addressed: Sporadic crashes when launching Muse on OS X(3502772 & 3504350) Update embedded Flash Player to

  • How to design a page in multi language in oaf?

    Hi Folks, I have a requirement, we have an one OAF standard page...now i need to design a same page,custom page, with same functionaly in some other language. Appriciate any help.... --Harry                                                            

  • Why is it impossible to get in contact with Adobe to cancel a subscription?

    This morning at 9.56 am UK time, I finally got hold of someone to chat about the impossibility of cancelling my payments for my daughter's subscription to Adobe's Creative Cloud. The chat case number was 214119558. As soon as I explained the problem,