Re:. Shipment Number

Hi,
Currently i am working on a report for VF02 transaction.
Can anyone please tell me
1. how to get the shipment number from the billing document number / delivery number and where it can be found in VF02 transaction.
2. how to get the external license number from the billing document number
Is there any function module for getting the shipment number.
Thanks IN Advance
Guhariyan S

Hi,
In table VBFA (Document flow), VBELN is the billing document number if VBTYP_N = M, if VBTYP_N is 'J' it is the delivery document number. Get the delivery document number for the billing document.
Then in table: VTTP, input delivery doc number in field VBELN. In this table, you will get the shipment number, TKNUM.
If you want the shiptment cost number then use table VFKP and input TKNUM in field 'REBEL'
Go thru the below link, which will be a further help.
http://www.sapgenie.com/abap/tables_sd.htm
Hope this helps.
Thanks,
Viswanath

Similar Messages

  • Billing with reference to Shipment number?

    Hi Guru's,
    Can somebody help me?
    During Shipment processing we like to create a commercial invoice (required in some countries). In this shipment are several deliveries. The requirement is to print all deliveries in the shipment document. Is there a possiblity within standard SAP to create a billing document in reference with an shipment number? In other words all underlaying deliveries will automatically selected.
    Thank you for reading my question.
    Regards,
    Eric

    Hi,
    This is not what I mean. Business example:
    Shipment 123 has delivery 123,124,125,126,127,128.
    during Goods Issue I like to create a commercial invoice, because
    the end user requirers the commerical invoice. At the shipping department
    they want to print all deliveries which belongs to shipment 123. How to print
    them the easiest way?
    Best regards,
    Eric van Zundert.

  • Urgent: Link between Sales Order and Shipment Number In Extractor

    Hello Gurus,
    In my project we are using Extractors
    2lis_08 , 2lis_11, 2lis_12, 2lis_13....
    now the main problem was in the reporting client want
    as below
    Shipment no      SalesOrder No    Price
    Can any one help me how to link the SalesOrder Number and Shipment Number by using the above extractors..
    Either the development must be do on backend are at front end any thing which helps...
    please through some light...
    Thanks In advance
    Sandy

    Hello all,
    VBAK-VBELN=LIPS-VGBEL
    LIPS-VBELN=LIKP-VBELN=VTTP-VBELN
    VTTP-TKNUM(Shipment number)
    Finally
    LIPS-VGBEL(SD Number)
    LIPS-VBELN=VTTP-VBELN
               VTTP-TKNUM
    Hope it help others!!!

  • Shipment  Number in Subject line of Email for SD Outputs

    SAP ECC is  currently emailing the Bill of Lading of a shipment  to our customer. They have asked us to change the subject line of the email to include certain shipment information - i.e. shipment number, and shipment date.
    I use a Program in the Output Type for other delivery documents and need to replicate it on the shipment side - can someone please tell me the name of the Program that I need to use and the Form Routine that I need to use to make this work? Or if there is a better way to handle this in config, please let me know.
    Thanks,
    Russ

    Hi ,
    refer Snote 325827
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=325827
    Thanks
    Chidambaram

  • Get Idoc structure and contents from Shipment Number

    Hi all,
    We have a 3rd Party Logistics company who wants to send us back minimal shipment data to enable us to update our shipment details.  They want to send us the shipment number, and vehicle information.  My tests (and SAP's documentation) have indicated that in order to modify a shipment via the message type SHPADV, you need to have the complete Shipment Idoc structure filled in in order for the idoc to process successfully.
    My client has indicated that they want to use IDoc processing to manage the shipment updates.
    Does anyone know of a FM that can be used to fill the shipment Idoc structures if only a shipment number is filled in?  Or do the structures have to be modified manually?  For example, these is a function called 'IDOC_READ_COMPLETELY' which populates all the segment details if an Idoc number is entered.  I want something similar, but for a document number, in this instance, a shipment number. 
    Cheers,
    Steve

    Roger,
    Thanks for this suggestion.  I chose to go down another path which I put up here for those who have this problem in the future.
    I have passed the shipment number and just the fields that require modification into user exit EXIT_SAPLV55K_020, and recorded the passed in values into variables.
    I then executed the <b>idoc_output_shpmnt</b> idoc, which, when the shipment number is passed in to the nast-objky field, reads the required shipment data and populates the idoc_data table with the segment details as per sending the document out.  But the FM doesn't actually call the ALE layer, so I then loop through the idoc_data table, modifying the fields that need to change with the values I've saved in the variables, and passed the modified idoc_data tables back into the <b>idoc_input_shpmnt</b> FM.  Worked a treat.
    Cheers,
    Steve

  • Assigning the output  type to the shipment number

    hello,
    can any one tell me how to assign the output type to the shipment number.
    Ex: ALTR to all my shipment numbers. By default, its taking other output types.
    Thanks in advance.

    Hello!
    Please check which output-types for shipment have been maintained in transaction code VV7x (Output-Condition Records).
    Menu path: Logistics -> Sales and Distribution -> Master Data -> Output -> Shipment
      - VV71 - Create
      - VV72 - Change
      - VV73 - Display
    Or go to customizing (TCode: SPRO) to verify how they have been maintained:
    Menu path: IMG -> Logistics Execution -> Transportation -> Basic Transportation Functions -> Output Control -> Maintain Output Determination for Shipments
    Regards.

  • Link between shipment number(tknum)  and  (ebeln) PO..URGENTLY REQ

    Hi,
    I had create a shipment number using VT02N, now i have shipment number(tknum) and  i need to  fetch the our reference field (UNSEZ) from EKKO table. so can  i anyone help to fetch this particlar data.
    Thanx in advance
    Message was edited by:
            vamshi krishna

    Hi
    Take the VBELN (delivery No) from VTTP table
    And goto LIPS table with that VBELN and search in the VGBEL field
    whether it has got the PO number.
    If the delivery is created against the PO it will be there.
    Take that EBELN from LIPS-VGBEL and fetch the field from EKKO
    Regards
    Anji

  • Shipment number to Interplant freight --tables

    Hi,
    The process flow is as follows to capture the freight price
    STO created
    Delivery created
    Shipment created
    Shipment cost document
    Goods acceptance
    Invoice
    Here i want to capture the Interplant freight per shipment number.
    Freight value can be extracted from BSEG, my question is there any like to shipment is BSEG..
    or any field mapping condition can be placed between VTTK and BSEG??
    Or is there any table which captures the flow?
    Thanks,
    Ram

    Hi,
    any answers on the below question

  • Getting shipment number from handling units

    Hi Abapers,
    is there any bapi avaible to get the shipment number by passing handling unit identification number.
    Thanks & Regards,
    Swapna .

    Hi all,
    I found the solution to fetch shipment number based on handling unit.
    In table level, Go to SE11 transaction.
    Enter table name : VEKP.
    Pass VENUM(handling unit number).
    VPOBJ = 04
    and Execute.
    See the field value VPOBJKEY.
    This value is shipment number.
    If u got to table VTTK and pass this shipment number obtained previously. it will have entry with this shipment number.
    Thanks,
    Swapna p

  • Identify Shipment number in Shipment05 Idoc

    Hi ,
    I am using Shipment05 Idoc to create and change Shipment ,
    while creating Shipment , Shipment number is created through intrenal number assignment,
    My problem is that now when Shipment Idoc is coming for change , It is not able to identify Shipment to change and creating new shipment every time even when it should change.
    Can you please suggest me how the ERP will identify the shipment number for change when the shipment number is not known to other system since number is an internal assignment to our ERP.
    I have been told that In case of changes of an already existing ERP Shipment the reference field u2018EXTI2u2019 will be used to identify the ERP Shipment during the IDOC processing.
    Do we need any enhancement for this or SAP standard functinality will do this since I have tried to change Shipment IDOC but not able to change.
    Regards
    Arushi

    Need a E1EDT20 segment with the shipment number in E1EDT20-TKNUM
    To identify your IDOC is referencing a SAP shipment number need also
    E1EDT18 with E1EDT18-QUALF = 'CHA' to identify a change
    E1EDT18 with E1EDT18-QUALF = 'PID' and E1EDT18-PARAM = 'TKNUM' to identify yhe IDOC is referencing a SAP shipment number.
    Regards Jack

  • Smartform problem for shipment number

    HI all
                I have got one issue with smartform . for all shipment numbers data is getting printed . but only for one shipment number layout is empty.i'e for one shipment data is not getting printed .
    data  is coming in Print program. but it is not passing into Smartform only for one shipment number.
    the data is in production system . how can i debug the smartform in production to check if values are passing or not .bcoz i cant hardcode breakpoint in smartform as it is in production .
    if i debug Function modue unable to see variable in smartform
    plz tell me how to debug in this scenario???

    Hi,
    once you execute the smartform you will get the one function modele, then do the following steps.
    1) go inside that FM and search of the key word "PERFORM %GLOBAL_INIT". and put the break point there.
    2) then execute your smartform it will trigger that breakpoint and press f5 it goes to the "initilization" of that smartform there you can check in debugging.. then you can figureout why that particular value is not popoulating.
    hope it will useful to you.
    Regards,
    Prasanth

  • Forwarder Invoice details with reference to Shipment Number

    Hi All,
    Currently i am working on shipment and new to shipment.
    I would like to find the invoice details of the forwarder with reference to Shipment number. Currently we have flow like shipment document>shipment cost document to the forwarder>PO (created in background and entry sheet)-->Invoice of the forwarder.
    Could you please provide the exact table where can I find the invoice w.r.t. shipment number or forwarder of the shipment.
    If we require any otehr changes, pls provide BADI.
    It will be appriciated for quick and right solution.
    THank you
    Regards
    Kishore

    If you create the invoice using MIRO transaction, then the table for the invoice is RBKP (header data) and RSEG (item data).
    Outbound process - To link invoice to shipment/shipment cost, you will need entry sheet which will be created when service acceptance document is created
    Inbound process - use the PO number then from PO go to delivery -> shipment -> shipment cost.
    VTTP-VBELN contains delivery docnument (shipment item table)
    VFKP-REBEL contains shipment number  (VFKP is shipment cost item table)

  • Multiple Deliveries into one Billing document  Based on the Shipment Number

    Hi,
    After searching, am posting this thread.
    I know the Invoice Slipt Parameters but i need to stop one invoice slipt parameter i.e. Billing Date.
    My Requirement:
    2 deliveries are created with different Billing Dates and attached to a single shipment.Now i want to combine these deliveries into single invoice based on the shipment number..
    Please put some ideas tht can help me  to solve this..
    Thank you in Advance.
    Edited by: Aditya Roy on Mar 13, 2009 8:11 AM

    Hi
    Payer
    Payment terms
    Billing date or billing due date
    Destination country
    Billing doc type
    Incoterms
    Actual GI date
    Foreign data trade
    If these are same in all delivery documents they can be combined into single billing
    This is controlled in copy controls in VTFL choose del type and billing type and your item category
    In that VBRK/VBRP if you choose 001 combined billing will happen
    In VF04 you can do the billing or in VF01 you have to input all the delivery nos manually and do the combined billing
    The same qn was posted by you on NOV 21st with so many replies?
    Why are you posting again and again?
    Pls close the thread whereever possible
    Regards
    Raja
    Edited by: ramanathan raja on Dec 14, 2008 5:00 PM

  • Shipment Number

    Hi All,
    what is the relation between shipment number and delivery number?
    How we can relate the both?
    How we link both the documents?
    Regards
    Ashis

    Hi,
    Shipment document number: The shipping document is the central element of transportation planning and shipment completion. It contains all the information necessary for carrying out transportation.
    This shipment document contains the delivery document number(s). You can combine many delivery documents to combine one shipment document.
    Regards,

  • Print labels from shipment number

    All,
    Currently we have labels printing using the delivery number but in many cases one shipment has several delvieries attached to it so rather printing delivery label for each delivery in a shipment we would like to print labels using shipment number.
    i have the name of label program but how can i access this program and make this change?
    Basically just need to add shipment number field to the program.
    Any help is highly appreciated.
    thank you
    Edited by: rehman_106 on Feb 8, 2011 7:13 PM

    Hello Barb:
    Welcome to Apple discussions.
    Address Book>print. There will be a window. Click on layout. There will be a couple of drop-down menus. There are a bunch of label formats indicated (for example, Avery Standard and 5161). You can buy the appropriate label at an office supply store.
    Barry

Maybe you are looking for