Blocking delivery output types

Hi All,
I am doing my coding in user exit MV50AFZ1 for checking transportation data for the line items in STO. If it is not maintained then we should block that delivery. For that we are changing likp-lifsk and xlikp-lifsk value to 01(Block). Now client has added some new functionality to this. Now he is able to issue the delivery output with output types. We should be able BLOCK this also. Any pointers to do this will be of great help. We tried changing value lips-kvgr1 and xlips-kvgr1 to NDO, But it is not working.
Regards,
Vinod.

Hi,
Create a VOFM requirements routine for the output..And then assign that VOFm routine to the output type in the output determination procedure..
In that VOFM routine have the following code..
SY-SUBRC = 0.   " Propose the output type.
IF XLIKP-LIFSK = '01'.   " Don't propose the output type if the delivery block is set.
SY-SUBRC = 4.
ENDIF.
***If XLIKP-LIFSK is not available then try using
KOMKBV2-LIFSK.
Thanks
Naren

Similar Messages

  • Delivery Output type newly created not triggering

    Hi,
    I have created 2 new output types i;e 1 for returns Order and one when we save the Delivery order. This i have copied the standard output type (BA00 & LD00).
    so now in returns order the output type i want to trigger automatically and print. But it is not happening. In VV11 i have defined for this condition as Print immediately and in customizing also i have maintained for sales organisation. But it is NOT triggering automatically when i save the return order. If i manually go and add this output then its working. So can you please tell me what needs to be done to trigger automatically.
    Secondly for Delivery i have 2 output i;e when i save the delivery without picking and all in VL01N, it should trigger 1 output and second is when i do the picking and PGI in VL02N. Both should trigger automatically.Now both my output is triggered only when i do PGI in VL02n i;e VL01N output is not triggered.
    Please help how can i do that.

    Hi,
    Go to T-code NACE
    Application area : V2-Shipping
    Now select the condition records and select your new output types.
    Take the key combination defined by you Viz. Sales org/Delivery Type (for example
    Enter Medium as '1'
            Date/Time as '4'
    Press the communication Tab and Tick Print immediatley and release after output Check Box.
    Also maintain the output device as LOCL
    I hope this will help you
    Br,
    Tushar

  • Delivery Output Type not updated automatically in change mode

    Hello,
    I am dealing with a strange problem.
    If i open delivery to change using VL02N then, output type configured for reissue is updated properly and on save ouput type is getting successfully processed also.
    Now if i open VL03N and then using change mode button on application toolbar i go to change of delivery, then output type is not getting created. The issue was figured out when i tried to open delivery from shipment and then using change button i tried to change and save delivery....
    Expectiing solution from experts.
    Thanks
    Hari

    Hi,
    May be this behaviour is due to the application in which you are opening the delivery. When you open the delivery from shipment, check the transaction code in the screen in system status. If it is VL03N, then it is correct. But if it is VT03N, then it is expected that even in change mode, the output is not triggered.  Pls check this once.
    I tried the same thing in an invoice from where i opened a SO and then went in change mode, and the otuput is getting retriggered.
    I hope teh configuration of your output is correct. Ensure that the Multiple Issuing button is ticked on, if you want yoru output type is to be triggered everytime you go in change mode.

  • Proforma Invoice triggers automatically through delivery output type

    Hi Gurus,
    Iam facing one issue related proforma invoice, senerios is sales order- once delievry saves, it triggers one output type ZGF8, and it triggers Proforma invoice type ZGF8.
    In delievry output type ZGF8, we have output program Z_EVT_LIKP_OUTPUT, and Form Rouitne CREATE_EVENT.
    Now user want to differnt delivery type and differnt proforma invoice type same as above.
    My question is how the system is triggers ZGF8 proforma billing type automatically, where in the system have the setting.
    Please guide
    Thanks
    Ramki

    in creation mode you can see kew combination this will show your access sequence criteria.
    Go to NACR display mode in header condition info ,click condition info tab with entering any values in screen this will show the details

  • Return delivery output Type

    Dear All ,
    we have defined Z_form for the return delivery .
    Now if we go for the Print out on the Header it is Displayes "Gr / GI slip receipt " utput type : WA01
    Earlier the same was " Return delivery Slip " and the Output type : WE03
    where to chk for the same ?
    Regards

    hi,
    1.Define the form here in SE71...
    2. Assign forms and programs: SPRO >> MM >> Inventory management and PI >> Output determination >>> Assign forms and programs..
    3. also check the o/p types at M706
    Hope it helps..
    Regards
    Priyanka.P

  • Outbound Delivery Output Type Rounded Value

    Dear All,
    The question is, I have an Outbound output type defined and currently in use. No routine is assigned. The problem here is in delivery, Material A with Delivery Quantity: 15.880 kg.
    But when printing the output, the Delivery Quantity has been rounded off to 16 kg. Why? Please advise.

    Hi
    In  the print program the coding was write down like that.
    For example if the weight 15.400 kg system will take 15kg
    or
    If the weight 15.600 kg system will take 16kg.
    That means in the print program coded like that for weight of the material. Take the help from ABAPER.
    Thanks,
    kp

  • New address to be printed in the delivery output type

    Dear all,
                    For the delivery i issued one output message to take the printout of the shipping label .
    Now i changed the address in the ship to party and again issued the message , still it is taking the old adress only is there any possibility for the new address to be reflected in the output message with out creating the new deelivery numbe .
    Best Regards,
    Kumar

    Hi there,
    In the O/p type form layout, in the ship-to address field mapping check what mapping is done. If the mapping is done to LIKP-KUNNR, then if you change the ship-to address, then the new address will come into the print out if you retrigger the O/p.
    If the mapping is done to pick it from VBPA tables of the relevant sales order, then it willnot update.
    So check the field mapping in the printout.
    Regards,
    Sivanand

  • Creation of New Table for Delivery Output Type.

    Hi Guys,
    I need to replace an existing table by creating a new Table in the existing Access Sequence with the combination of "Ship to Party/Product Hierarchy".
    Logistics>Shipping>basic Shipping functions>Output determination>Maintain Condition Tables-->maintain output condition table for deliveries.
    I am choosing a new table by the name 902, but i am not getting the field " PRODH Product Hierarchy" on the right hand side to choose from.
    I checked the field catelog also. Firstly the field catelog was also not having the field, and then i added the field in it by choosing new entries.
    I guess i am missing some step in between, thats why the new field (PRODH) is not showing on the right hand side while creation of the condition table.
    One more thing, when i am seeing the Field Catelog, i am able to see a very large number of fields, then why only a few are appearing during creation of a new table??????
    Can you guys correct me and let me find a way.????
    Thanks very much indeed.
    Regards,
    Vivek

    Hi If u have already the field in FC u can add with new entries .
    Try with ,enter t- code <b>SE11</b>, enter <b>KOMB</b>- it will ask for access key get from basis and add u r Field catalog
    Field catalog for condition key: output determination
    If at all u want a new field tao add to u r FC u Can try with userexit.
    1)ADDING OF NEW FIELDS IN PRICING  
    In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields.
       The fields which are not in either of the two tables KOMK and KOMP
    cannot be used in pricing .Sometimes a need arises when the pricing
    is to be based on some other criteria which is not present in the form of fields in either of the two tables.
      This problem can be solved by using USEREXITS which are provided for pricing in SD.
      Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
    In the case of userexit which will be called when invoicing is done ,these
    are provided in the include RY60AFZZ which is in the standard SAP
    program SAPMV45A. The name of the userexits are same. i.e
    USEREXIT_PRICING_PREPARE_TKOMP  or
    USEREXIT_PRICING_PREPARE_TKOMK
    These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely
    created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that
    has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
    Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose
    includes are provided in each of them .
    To create the field in header data(KOMK) the include provided is KOMKAZ
    and to create the field in item data(KOMP) the include provided is KOMPAZ.
    One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
    2)The other method of finding userexit is to find the word USEREXIT in the
    associated program of the transaction for which we want to determine userexit using SE38.
    3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
    Some other examples of userexits in SD are:<b></b>
    Message was edited by:
            SHESAGIRI GEDILA

  • Output type for Proforma Invoice for return delivery from delivery type RLN

    Client require Output type Proforma Invoice for return delivery to vendor. As such return item category is not relevant for pricing so from delivery to proforma invoice can not have with p-ricing. I got quantity correct but pricing is coming Zero.
    Client have ZPAC as packing list output type from delivery which shows quantity and pricing. So decided to use the same logic to pull pricing for proforma invoice from delivery.
    Here delivery has standard output ZPAC as packing list with access sequence Z002 as Delivery Type.
    I want to pop up output type for all return delivery so using access sequence with delivery type/vendor.
    Vendor filed does not exist in delivery output type so brought that firld LIFNR.
    It is assigned to procedure and maintained ZPRO output type for Proforma invoice. Asigned VV21 on front end.
    Problem Still automatic output type ZPRO is not poping up. What type of access sequence will help me to pop up or what in configuration am I miising?
    Appreciate help for solution at earliest.

    Hi Padamsree,
    I know Pricing & output very well.  I need profomra invoice to be printed with quantity & value for return goods to the vendor. Pricing is associated with Item category RLLN for delivery type RLL which is return type delivery.
    I need to have pricing in my Proforma invoice which is copied from delivery to billing document VTFL. Just check well how it is working in the system & if you know please answer so that it should be workable on the system. As theoretical answer may not be helpful. Appreciate for your time.
    Thanks

  • Outbound delivery output not re-determined during goods issue?

    Hi,
    i'm currently in the process of testing an SAP upgrade from 4.6B to ECC 6.0, and have encountered the following problem: one of our outbound delivery output types (LD00) is supposed to print out at goods issue (which happens in VT02N, by the shipment).
    In 4.6B, the output determination procedure correctly triggers at goods issue, however, in 6.0, it doesn't. Re-opening the delivery in VT02n causes the LD00 to be determined after all, but by then it's too late.
    Does anyone have the slightest idea why the output determination isn't re-evalutated at goods issue?
    regards
    Rob

    Hi,
    Perhaps you are using an own VOFM subroutine to do filters if the output works or no. You create this subroutine with tcode VOFM, and after some steps you create an include in a report of SAP (SAPL). You can check if you are setting a VOFM in SM34/VVC_T683_XX_E1 for the output scheme. Sometimes is necesary to run this report to create and activate the report sapl, if no, when the abap call the subrutine, SAP doesn't find (perform * if found)
    For VOFM there is a good document in google, format PDF, search it with the string inside vofm ext:pdf.
    I hope this helps you
    Regards,
    Eduardo

  • New Custom Field in Delivery output Communication Structure

    Hello friends,
    I need your help to Solve my below problem
    We want the delivery output to be triggered based on the shipping point and storage location.
    Storage location is at item level and is not in LIKP and hence not in KOMKBV2 (Output Comm Structure for Deliveries)
    I have created a new Field ZZLGORT in the Header Strucutre and has performed thefolloiwng steps
    1. Include field ZZLGORT  in communication structure KOMKBV2. This is an Include that is provided for additional fields.
    Add the field with the name ZZLGORT in Include KOMKBZ4.
    2. In structure KOMB in Include KOMBZ, have added the same field
    (same procedure as for item 1).
    3. In view V_T681F, I created the same field with transaction SM31  under key B V2.
    4. Program LVCOMU04 contains Perform USEREXIT_KOMKBV2_FILL. This Perform
    is in program RVCOMFZZ.
    Modiied the source code as follows:
    FORM_USEREXIT_KOMKBV2_FILL.
    COM_KBV2-ZZLGORT = item Storage location.
    When i am in Debugging mode till the last minute the structure COM_KBV2-ZZLGORT is having the storage location value.
    so there is no problem in the userexit logic.
    5) I have created a new cond table , and assigned the table access sequence and assigned he access seq to the Delivery output type
    When i created the Delivery , the output analysis screen shows that the field ZZLGORT is blank ( With exclamation Mark) and it says Access Not made (initialized Field )
    can any one of you tell me what is the step i am missing out to make sure that the analysis screen has the storage location.
    and also the system reading the condition record and issuing the output.
    i have checked whether the output is issued by some other condition or not. no there is only condition record and its triggering that condition record but the analysis shows "Output Not found"
    Can any one of you help me here please. Your immediate inputs will be of great help to me
    Thanks & Regards
    Srini

    Hi Srini,
    As per note 32662 it seems you have followed all the steps, but might be that you didn't do in proper sequence.
    The note states that:
    "If a new access sequence and condition table was created before the communication structure was modified, it must be deleted again. Items 1 to 5 must be carried out in the specified sequence."
    So I guess the key for you would be to delete the Condition table and access and create them again.
    Regards,
    Ganesh

  • Delivery Output

    Hi Everybody,
    We have a delivery output type ZASN. The output type has a requirement 1 assigned in the output determination procedure. The requirement is to make the output get determined only after the PGI has been done. We have all our Picking and PGIs done through EDI. When we do the PGI through EDI, the output ZASN does not get determined in the delivery. Surprisingly, when I do the PGI manually using VL02N, I see the output getting issued. Also for the deliveries for which the PGI was done by EDI and no output was issued, I can just go onto VL02N, five the delivery number, hit enter and just come out and my output gets triggered. Strange behaviour though.
    Has anybody encountered this situation? I tried looking for an OSS note but couldnt find anything relevant. Any help would be appreciated.
    Thanks & Regards,
    Vidya

    Hi,
    I also encontered with this situation but in my situation i was creating the outboubd del and pick/pgi also through the edi and this was one after another so what we did is triggered the output type on creation ( before pgi ) . As both processes were at one time it doesnot make any difference to trigger the o/p on creation of del .But this is standard sap issue of not triigering the o/p message on pgi through the edi.

  • How to trigger EDI output type by logical system

    Hi,
    I am trying to propose a delivery output on delivery document based on logical system.
    I have maintained partner profile by logical system. In the partner profile, i have given the delivery output type and the process code.
    I have also maintained condition records for the delivery output.
    I would like the system to propose the delivery output not by ship to party or sold to party but by the logical system.
    Because i do not want to maintain 3000 customers in the partner profiles, instead trigger the output by logical system.
    Please let me know, if anyone has gone thru this situation and resolved.
    Thank you in advance.
    -Naga

    Hi,
    First thing you should make sure that, when you create the output type , partner function should have an entry for EDI - LS combination.
    Secondly , make sure you have option for EDI transmission on the output type (medium 6).
    Third, when you create partner profile for LS, make sure you give partner function as LS, even though SAP gives warning that its not required.
    Last but not least, i didnt create any distribution model , because when i created distribution model and generate partner profile, system was not generating the profile properly.
    I am not sure, whatever i did was right, but its working for me.
    -Naga

  • SD Output type Problem

    Dear Friends,
    I am facing problem while sending output of delivery. I configured new output type for delivery output with external send (email).
    I have maintained access sequence for shipping point/delivery type/ship-to. But when i m doing PGI, the delivery output type email going to sold-to customer contact person. It should go to ship-to customer contact person. There is already access sequence avaliable with shipping point/delivery type/sold-to but condition record are not maintained.
    The strange things is that in output type screen of delivery it correctly shows that the condition record for shipping point/delivery type/ship-to has been determined.
    But mail goes to sold-to customer contact person. 
    Can any one suggest solution for it or the way to find the problem ?
    Waiting for the reply.
    Regards
    Nilesh Shete

    Thanks for the reply,
    But i have already checked that setting everything is maintaine properly that's why in output it showing output type triggered to ship-to contact person. but mail has been received by sold-to contact person.
    I have don;t idea how delivery is determining sold-to customer contact person while sending email

  • Trigger output types

    Hi all,
    How to trigger delivery output types thru print program.
    I know there's a BAPI for this but dont know which one.

    Hi,
    By doing config in NACE for delivery output type u can use different o/p types for diff delivery types etc..
    but can trigger only one o/p type at a time which will in turn trigger its relevant print program & print sapscript/smartforms.
    Regards,
    Amit

Maybe you are looking for

  • Sales order Link to Production order

    Hi Expert We dont have MRP and not MTO but it is MTS item categary maintain is NORM. In this i want to link the Sales order to Production Order. I tried Co08 but i got error like this sales order has no CO object Message no. CO323 Is there is need to

  • Meeting request do not show other attendees

    I'm having an issue where when I receive a meeting request (redirected from MS Outlook 2003, via Rule), I cannot see any other attendees invited to the meeting. Similarly, when receiving emails, I cannot see any one else copied (To or CC'ed) on the e

  • Reporting Problems Causes Problems

    Hi, I'm a newcomer to Macs (have an 8 core Mac Pro) and have two possible related problems: Whenever an application crashes it says "Report to Apple". When I click "Report..." it says "Could not connect". I am behind an HTTP proxy and have a .PAC lis

  • Is Business Manager the best tool for our company?

    I have a number of quesitons to answer to figure out if Busienss Manager is the best tool for our company. The ONLY reason we are pursuing changing from individual accounts is that Share Screen has been removed from some of our accounts with the late

  • What modem is compatible with OS X Yosemite 10.10.2?

    Since upgrading my operating system to OSX Yosemite 10.10.2 I cannot find a modem that will work with my MacBook Air. I am in SouthEast Asia. I've tried Prolink and Metphone modems. Any ideas?