Link SHIPPMENT and delivery in routine (TCode VOFM)

Hi Friends,
    I want to link SHIPPMENT(application V7) and delivery (V6) in routine (TCode VOFM). is there any routine or routine structure with the combination of both.
Thanks in advance.
Vallamuthu.M

Hi,
I'm creating output type ZET1 for shipment. and creating a new'Z' program but its not a print program.
i'm going to assingn the program in TCode nace.
my problem is, if shipment status is planned (technically vttk-stdis = X and assigned outbound deliveries in the shipment have export indicator (likp-expkz = X)).  then the output type will be triggered in back ground so i need a runtime data (VT01N Tcode).
Thanks in Advance.
Vallamuthu.M

Similar Messages

  • Enable and Disable Pricing Condition Type thru Routine in Tcode: VOFM

    Hi
    I have a scenario while creating a new sales order using Tcode: VA01. The conditions at line item are as follows:
    Condition Type----Amount----Condition Value
    ZBR5--4.000%----0.66
    ZBS1--8.000%----1.31
    Now the above case, my requirement is Condition Type ZBS1 should be displayed or calculated only when first condition type i.e. ZBR5 has amount more than 8.000%.
    In case it is less than 8.000%, the Condition Type ZBS1 should be ZERO or (would be better if not displayed).
    What i have tried till now is, created a new Routine in VOFM but after creating a new routine, i am unable to check the Amount fo Condition Type ZBR5 at runtime, as the Internal Table : XKOMV holds the details of Header data only, whereas my requirement is of Conditions at Line Item.
    Inputs on this will be helpful.
    Regards
    Masoom
    Edited by: Masoom_Infosys on Oct 3, 2011 2:24 PM

    Hi Naimesh
    Apology, i missed this point. I have alredy tried what you have suggested. I made a Condition Value and change value of XKWERT. The output of this change was:
    Condition Type----Amount----Condition Value
    ZBR5--4.000%----0.66
    ZBS1--8.000%----0.00
    If you observe above, the Condition Value is ZERO but the Amount remains as it is , that is 8.000%. In the code, i have tried to change the value of XKOMV-KBETR to 0.00, but still the output remains as:
    Condition Type----Amount----Condition Value
    ZBR5--4.000%----0.66
    ZBS1--8.000%----0.00
    Could you suggest some other way so that the output becomes:
    Condition Type----Amount----Condition Value
    ZBR5--4.000%----0.66
    ZBS1--0.000%----0.00
    Regards
    Masoom

  • Add a routine in tcode vofm

    HI all
    Ive copied a routine under Billing Documents in tcode VOFM
    but the code are in grey and I cant insert any of my code
    can anybody help me plz?

    Hi Sia,
    You need access key for changing this code, If you already have that , I think it might be due modification operation mode.
    In that case from the menu choose this option.
    Edit - Modification operations - Switch off assitant.
    then you can get into change mode.
    Regards,
    Sudheer

  • Link between Schedule lines and delivery quantity

    Hi all,
    At the item level in a sales order, can anyone tell me the link between schedule line data and delivered quantity.
    Schedule line data can be found in VBEP and delivery qty can be found in LIPS. But I want the link between the two. For which partcular date in the schedule line item the delivery qty is displayed.
    Thanks in advance.

    Hi Amol and Rahul,
    Actually I dont want the link between sale order and delivery, I want the link between schedule line dates and delivery qty.
    Hope I am clear.
    Thanks in advance.
    Edited by: Rajini R M on Sep 11, 2008 6:12 AM

  • Link between schedule Line Number and Delivery

    Is there a link between Schedule line Number and Delivery number ?
    Eg. Line item 10 with quantity 100. 
    has 5 schedule lines..with 5 different delivery dates.
    1 .  quanity 40
    2.   quantity 30
    3.   quantity 20
    4.   quanity  6
    5    quantity  4
    For schedule line 1, 2 deliveries were created,
    one      with quantity 20
    another with quantity 15
    quantity 5 is still not delivered.
    also schedule lines 2,3,4 and 5 are fully delivered.
    Is there any table, FM etc in SAP which will give me the link between the schedule line and delivery number ?
    Total deliveries created : 6. - But which delivery corresponds to which schedule line ?
    Please dont tell me to look VGBEL and VGPOS.. that will just give line item number 10.. I need to get the schedule line number.
    Also, RV_SCHEDULE_CHECK_DELIVERIES --> will give me the delivered quantity against each schedule line.
    My purpose is to create an ontime delivery report .
    a report which list each schedule lines, and tell, how many shipments were late/ontime/early etc..
    and for Late ones, how many days late has to be found.
    this is where i need the delivery.
    No. Of days Late = Actual GI Date - Planned GI Date.
    Actual GI date is in the delivery.
    Any suggestions ?
    Thank you in advance.

    Hi,
    Check in the below link.
    relation between VBEP-ETENR and LIKP-VBELN
    Thanks,
    Sree.

  • 051 routine between sales order and delivery copy control

    Hi,
    The copy control routine 051 in copy control from sales order to delivery defines four combination criteria.
    1) delivery types same in config of sales doc type
    2) sales org same of the sales orders
    3) delivery indicator same
    4) billing type same as defined in sales doc type.
    my question is if i have the follwoing copy control defined between sales order and delivery :-
    sales       del           sales       deliv         bill      routine
    order        type         org        agreement       type     in copy ctrl
    type
    ZOR          ZLF          1000         SAME          ZF2         051
    ZTSD          ZLF          1000         SAME          ZF2         051
    my question is how will the routine combine  all the sales doc type into a single delivery.  my confusion is since the rotuine is attached to every combination of sales doc type and delivery type in copy control, how will the routine identify that it has to combine the sales doc type ZOR and ZSTD into a single delivery.
    one of the statements wriiten in routine 051 is that " check sales org is same for all document ". does this mean that the routine will identify sales orders with doc type ZOR only  if the routine is attached in config for copy contol between zor and zlf and  i remove the routine for copy control belwteen zstd and zlf.
    regards
    sachin

    Sales order is the order from your customer and delivery is when you are delivering the item.
    Shipping: In general  when the item is dispached from the warehouse, we can say the item is shipped,where as delivery is item/product reaching to the end customer.
    Hope it helps,
    Kiran

  • How do we link b/w P.O and Delivery in STO?

    Hi Consultants,
    WHere do we link between P.O and Delivery and how the system knows that a delivery should be done against  a P.O in STO process.
    Thanks in Advance.
    Siva

    Hi,
    Using transaction code VL10B system gives you a report for which PO's we have to create Deliveries.
    For extracting the report we can use different selection criteria.
    Thus a link (document flow) is created with PO and delivery.
    Hope this will answer your question, if yes reward points.
    Thanks
    Venkat.

  • How to call routine and pass data to routine in vofm

    Hi Experts,
    I need to update KBETR and KWERT values present in 'Conditions Tab' in Purchase Order (ME21N/ME22N).
    I have created a new customer tab in which we enter amount field and  percentage filed. When user enters some value in this and clicks on 'Conditions Tab', calculation has to be done and the calculated value has to be appeared across a specific condition type.as i am new to abap  i dont know how to create routine and pass data to routine in vofm from customised tab in me21n .
                                                                                                                                                                          Thank's in advance

    Hello Rajendra,
    You can get plenty of forums in SCN related to it. Follow below steps to create VOFM routine.
    Go to VOFM Transaction Code
    1. On the Menu Select required Application i.e Pricing
    2. Enter any Number in between 600 to 999 for Custom Developments.
    3. On entering Pop Screen appears ask for Access Key(We have to remember that Every New Routine needs an Access Key)
    4. Once the Access Key is received we can do modification.
    5. Enter the Routine Number ,description and insert the Access Key
    6. Now the ABAP Editor will open and required code can be copied from Standard SAP Routine and Custom Code Can be developed.
    7. Once the coding is completed we have to Activate the Routine
    8. Select the Routine and Go to Edit – Activate
    9. Ensure that Active check box is ticked upon Activation of the Routine.
    10. Double click on the routine will enter into ABAP Editor, we have to generate the Routine
    11. Go to Program and select Generate
    12.A screen pops up with the related Main Programs  and select all required main programs wherever the Routine is being called.
    13. Once the Routine is Generated and Activated, We need to configure the Routine in the config.
    ** Important SAP note: 156230.
    Check the below document too.
    http://www.scribd.com/doc/35056841/How-to-create-Requirement-Routines
    Regards,
    Thanga

  • Link between outbound delivery and matriel documents of good receip

    HI,
    in which table we can find the link between outbound delivery and matriel documents of good receipt.
    thanks

    Hi!,
    If you have posted a goods receipt for an outbound delivery, you should find in the header table MKPF for the material document the field MKPF-XBLNR completed with the outbound delivery number.
    Then, if the document flow for the delivery has been updated correctly, in the table VBFA for the delivery (VBFA-VBELV), you should find the material document under VBFA-VBELN.
    I hope this helps you!
    Best regards,
    Esther.

  • Table link between shipment stage and delivery

    Hi,
      I am trying to find the tables which will tell me the delivery number belongs to which shipment stage.
      Shipment stage I am getting from VTTS table and delivery from LIPS.
      Pls. let me know. Points will be awarded.
    Thanks.

    VTTK-TKNUM = VTTP-TKNUM
    VTTP-VBELN = LIKP-VBELN
    From VTTK, VTTP you can get to know the VBELN and match it against LIKP-VBELN
    Regards
    Gopi

  • What is the Procedure to Create "Condition Value" Routine Using VOFM

    Dear Guru,
    I want to know Step-By-Step Procedure to Create "Condition Value" Routine Using VOFM.
    Give me guideline how it will link to program RV64ANNN.
    and if it doesnot link to RV64ANNN
    what might be the possible reason and how to make it link with RV64ANNN.

    Dear Guru.
    I have encountered a technical issue related to Creation of User Routine for pricing procedure
    (Routine :: RV64A978).
    Before coming to issue I want to give you slight glance on my requirement.
    I have got two requirements to write two routines for a new condition type -->> packing type .
    >>Routine Number  One First  I Have wrote  Requirement Routine         RV61A943
    Routine Number two  Other I Have wrote  calculate condition value  RV64A978
    So as usual normal procedure of writing a routine I followed VOFM for writing routine for pricing procedure and routine for calculation (condition value).
    I performed above respective process for both routines in VOFM.
    And I have activated both routine from going VOFMMenu bar edit  Activate.
    After activation automatic include is generated in both case .
    INCLUDE RV61A943 .  "FAMD PAckage Wt        
    Is generated in RV61ANNN
    INCLUDE RV64A978 .  "FAMD Package-Rate     
    Is generated in RV64ANNN
    In case of Routine  RV61A943
    I can able to find the main include routine RV61ANNN from where used function in SE38 and able to trace it.        
    And I am able to find it in the lists of Includes of RV61ANNN.
    But In case of Routine  RV64A978
    I can not able to find the main include routine RV64ANNN from where used function and able to trace it. Pls refer below picture.
    But in RV64ANNN it is showing that routine RV64A978 is there 
    So Guru I want to know following things >
    1.     What might be the main reason in case of RV64A978 ??
    2.     How I should approach to solve this issue??
    Because what I understood unless routine RV64A978 is traceable  from u201Cwhere usedu201D to find out its main routine RV64ANNN , the routine RV64A978 wont work in pricing procedure (I believe).

  • Tcode vofm

    HI evrybody
    I have to copy a routine namely 900(for billing documenents) in tcode vofm
    but when copying it, its asking me for access key,
    im a developer, am i missing a step?

    Hi anjali ,
    while doing the copy controls and data transfers u need to get the access key from the basis team and u need to inform what copy controls u r doing ..
    for this access is mandatory ..
    regards,
    vijay

  • In Sale Order and Delivery - Inventory should be effect

    Dear Experts,
    i am having a scenario that in sales order and delivery, on material items inventory should not be effected.
    How i can acheive this.
    Please let me know the solution.
    With Regards

    Hi Mr.Rachumallu,
    I am not very sure about your question but if my understanding is right, you can acheive it through the VTLA Tcode and for the Item category of the suitable delivery and sales document combination you need to maintain the pos/neg quantity as "Zero".
    I hope I am helping you.
    Regards
    Vijay

  • In order confirmation i need invoice number and delivery number.

    Dear Experts,
    I need invoice number and delivery number in order confirmation.
    how can i get the delivery number an invoice number.
    Program name: RVADOR01
    Regards
    Ahmed

    Hi
    In the Order confirmation Only sales order details will be there
    You better write a PERFORM  statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
    LIPS-VGBEL = VBAK-VBELN
    LIPS-VGPOS = VBAP-POSNR
    VBRP-AUBEL = VBAK-VBELN
    VBRP-AUPOS = VBAP-POSNR
    You can also can use the VBFA table
    using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
    and Sunsequent type = M for getting the Invoice Number
    see the sample code for subroutine
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • STO and delivery is getting created in the foreground instead of background

    Hi experts,
    In return document (with reference to Work Order), When user is selecting recommended action u2018YAu2019 and clicking the u2018returnu2019 button, an STO and delivery is getting created in the foreground instead of generating them in background.
    T-code - o3o_RT02
    Test case
    Create Work Order (IW31)
    Create return document w.r.t Work Order (o3o_RT01)
    Select recommended action u2018YAu2019, save and select u2018returnu2019 button.

    Hi,
    Could you checkthe foll cust link in SPRO:
    Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders).
    PO is created if you set the "*" for EITHER the purchasing group OR the product category.
    SRM is creating PR or PO depending on:
    - SRM customizing (ex: always external proc + PR if incomplete, PO if complete)
    - the interpretation of SC data by R/3.
    IF your SC is considered complete by SRM (but with a fixed vendor and not a preferred vendor) the system will check if it can create a PO in R/3.
    For this, each item will request a META_INTERPRETE_DATA to R/3, asking if it can create a PO. If R/3 considers this data as incomplete, it will reply to create a PR.
    Usual cases of R/3 PR creation instead of PO:
    - prefered vendor in SRM (and not a fixed one)
    - custom checks in user exits in R/3
    - error messages in R/3 (ex: O6 334 In the case of a fixed vendor, please enter info record)
    To debug without debuging into R/3, you can also try the following:
    - use BADI DETERMINE_TARGET_OBJECT and force PO creation
    - so the system will always try to create a PO
    - R/3 won't create the PO (for the same reason as in META_INTERPRETE_DATA), and will raise an error in SRM
    - finally you get the real error in application monitor (SC --> backend application errors
    Related thread:
    Re: PO not create from SC with source of supply in classic sena
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

Maybe you are looking for

  • Stay on the same page when applying changes

    I have a simple master detail form where we have master form and tabular detail on the second page. The first page has a master form in read only as per standard wizard creation. When I delete and or make changes to the detail the app by default comm

  • What are the parameters "page-forward" and "page-backward"  used for?

    In the LIMITS section of the Netscape Calendar Server configuration documentation, there are two parameters called "page-forward" and "page-backward." The default setting for these parameters is FALSE. However, it is unclear what these parameters are

  • Error coding question

    public void run() {   while(input.hasNextLine()){     String firstName = input.nextString();     String lastName = input.nextString();     String midInitial = input.nextString();     int emplClass = input.nextInt();     int yrsEmplyd = input.nextInt(

  • Grant user admin rights, install itune, ungrant rights?

    On Windows XP, installing iTunes requires admin rights. However, it is not good to use an admin account for regular work. For the Palm Desktop, the workaround was to grant admin rights to the user account, install the application using the user-turn-

  • Captivate 8 corrupting files

    Is anyone else having issues with Captivate 8 corrupting files? This is absolutely ridiculous! Come on Adobe get your act together. Version 8 of the software and we are still having to deal with file corruptions!! Instead of worrying so much about th