Table name for purchase order delivery fields

Hi Gurus,
Can you please tell me the name of the tables and the joining condition for purchase order delivery details like Name, street , city, postal code, address detail and the joining condition?
Regards
MD. SAMY

Hi MD. SAMY,
1. Table EKPO has details lat line item level.
2. You must make a simple ABAP program in the infosets (or functional area) that contain a line "addrnumber = ekpo-adrnr" while addrnumber is ADRC table field.
3. Choose fields that you want in ADRC and put it into new fields (e.g. : DELI_NAME2 = adrc-name2., etc)
4. The new field attribute must be maintained in the infosets (in EXSTRA).
5. Now in the query you have those fields.
Regards,
Sameer

Similar Messages

  • Whats the fieldname and table name for purchase order delivery date

    hi all,
        whats the fieldname and table name for purchase order delivery date
      thanks and regrads

    EKET-EINDT is the delivery date according to the schedule lines.
    for example the line item has 100 qty.
    it is sent in three schedules (40, 40, 20).
    Then EKET will have 3 records for one PO Line item.
    The final delievry data is the EKET-EINDT for the 3rd schedule line item.
    Regards,
    Ravi

  • Field  and Table name for purchaser

    I want to know the field and table name for purchaser id and purchaser name.
    Plz help me.

    Dear
    Purchaser name are define in Header level data in Purchase Order EKKO & Purchase ID define as a Purchasing Group
    Purchser Name EKKO-ERNAM
    Purchase I D  EKKO-EKGRP
    Regards
    Aamir

  • Table Name for Sales Order Header Text.

    Hi.
    Whats the Table name for Sales Order Header Text???
    Reg,
    Amol

    Hi Amol,
    please Try to check the below link
    http://scn.sap.com/thread/1361272
    http://scn.sap.com/thread/416757
    https://scn.sap.com/thread/1909247
    https://scn.sap.com/thread/811915
    Regards,
    Gurunath

  • Table name for sales order with Customer info

    Hi Gurus,
    Could you please provide me table name for  sales order with customer no and customer name.
    I have list of sales order number (more than 1000 no's ) i need to identify customer number and customer name (ship to party and sold to party information). I am running this report every week. so i plan to create sqvi for this report.
    Thanks and regards,
    B.Deethya.

    Hello,
    Access Tables VBAK & VBAP.
    From the above tables you will get Solt to Party & Ship to Party Codes.
    For Customer names you have to pass the Customer Codes to Table - KNA1
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • Table names for Proof of Delivery

    Hi all,
       I want the table name for proof of delivery. And also send me the child tables related to that.
    Regards,
    Kiran.

    hi,
    is there any function module for Delivery like IVIEW_SM_PROOF_DELIVERY_LIST.
    regards
    Guru

  • The long text for purchase order text  field in mm03

    Hi,
         Please provide me long text for purchase order field.in mm03 the view purchase order text having the long text for purchase order.this is enter when ever your creating the material.but we have table and field name for that and also how to handle this long text.please provide me urgently.
    Thanks & Regards,
    Radhakrishna.

    Hi,
    A sample code for ur requirement.
    TABLES : ekko,   "Purchasing Document Header
             ekpo,   "Purchasing Document Item
             thead.  "SAPscript: Text Header
    DATA: t_theads LIKE stxh  OCCURS 0 WITH HEADER LINE.
    DATA: t_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: v_ebeln_ebelp(15) TYPE c.
    TYPES: BEGIN OF t_download,
           ebeln LIKE ekko-ebeln,
           ebelp LIKE ekpo-ebelp,
           tdobject LIKE stxh-tdobject,
           tdid LIKE stxh-tdid,
           tdspras LIKE stxh-tdspras,
           count(4) TYPE c,
           tdformat LIKE tline-tdformat,
           tdline LIKE tline-tdline,
         END OF t_download.
    TYPES: BEGIN OF t_header,
          line1(20) TYPE c,
          line2(20) TYPE c,
          line3(20) TYPE c,
          line4(10) TYPE c,
          line5(10) TYPE c,
          line6(10) TYPE c,
          line7(10) TYPE c,
          line8(10) TYPE c,
          END OF t_header.
    DATA: g_filename TYPE string.
    DATA: gt_header TYPE STANDARD TABLE OF t_header.
    DATA: gs_header TYPE t_header.
    DATA: gt_download TYPE STANDARD TABLE OF t_download.
    DATA: gs_download TYPE t_download,
        gt_tlines   LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: v_subrc TYPE subrc.
    DATA: v_nb_lines TYPE i.
    DATA: v_ok TYPE i.
    DATA: v_ko TYPE i.
    DATA: v_ow TYPE i.
    DATA:  p_fname TYPE string.
    DATA: g_append.
                              SELECTION SCREEN                          *
    SELECT-OPTIONS : s_ebeln  FOR ekko-ebeln.
    PARAMETERS:
       p_filedn(132) TYPE c OBLIGATORY,
       p_file(132) TYPE c OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_filedn.
      PERFORM file_f4_get CHANGING p_filedn.
    START-OF-SELECTION.
    *Select all the purchase order corresponding to select criteria
      CLEAR t_theads. REFRESH t_theads.
      SELECT *
      FROM ekko
      WHERE ebeln IN s_ebeln.
    *Select all the text for P.O. header
        SELECT * FROM stxh
              APPENDING TABLE t_theads
              WHERE tdobject = 'EKKO'
              AND tdname      = ekko-ebeln.
    *Select Item of each P.O.
        SELECT *
        FROM ekpo
        WHERE ebeln = ekko-ebeln.
          CONCATENATE ekpo-ebeln ekpo-ebelp
          INTO v_ebeln_ebelp.
    *Select the text for P.O. item.
          SELECT * FROM stxh
                APPENDING TABLE t_theads
                WHERE tdobject = 'EKPO'
                  AND tdname   = v_ebeln_ebelp.
        ENDSELECT.              "select ekpo
      ENDSELECT.             "select ekko
      DESCRIBE TABLE t_theads LINES v_nb_lines.
      LOOP AT t_theads.
    Read the text from pool
        CLEAR thead.
        REFRESH t_tlines.
        CALL FUNCTION 'READ_TEXT'                               "#EC *
             EXPORTING
                  id                      = t_theads-tdid
                  language                = t_theads-tdspras
                  name                    = t_theads-tdname
                  object                  = t_theads-tdobject
             IMPORTING
                  header                  = thead
             TABLES
                  lines                   = t_tlines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        MOVE-CORRESPONDING thead TO gs_download.
        gs_download-ebeln = thead-tdname+0(10).
        IF thead-tdobject = 'EKPO'.
          gs_download-ebelp = thead-tdname+10(5).
        ENDIF.
        gs_download-count = 0.
        LOOP AT gt_tlines.
          gs_download-tdformat = gt_tlines-tdformat.
          gs_download-tdline = gt_tlines-tdline.
          gs_download-count = gs_download-count + 1.
          APPEND gs_download TO gt_download.
        ENDLOOP.
        CLEAR gs_download.
      ENDLOOP.
    END-OF-SELECTION.
    Hope this helps.
    please reward points if  useful.
    Regards
    rose

  • Need the SMARTFORM name for Purchase Order in ECC 6.0

    Hi experts,
              I have been working on ECC 6.0 version and I need your help in finding out the name of the SMARTFORM for Purchase Order. Please let me know the SmartForm name if anybody knows. Waiting for your replies.
    Regards,
    Ravi

    HI,
    We have the Smartforms in the Service.sap.com, you need to download from this one. in our SAP we do not have these smartforms .
    smartform name is /smb40/mmpo_l. Look at the SAP Note 695891
    Look at the below link
    Re: PURCHASE ORDER SMARTFORM   IN ECC 6.0
    <i>Mark all the helpful answers</i>
    Regards
    Sudheer

  • Table names for Purchase and Production Details

    Hi Gurus,
    I want to create a report for list of purchased materials, materials under production and finished materials from Bill of Material..
    Can any body tell me the table names..
    Thanks in Advance,
    Arun

    Hi Arun,
    These are the tables related to the material under production:
    AUFK     Production order headers
    AFIH     Maintenance order header
    AUFM     Goods movement for prod. order
    AFKO     Order header data PP orders
    AFPO     Order item
    RESB     Order componenten     
    AFVC     Order operations
    AFVV     Quantities/dates/values in the operation
    AFVU     User fields of the operation
    AFFL     Work order sequence
    AFFH     PRT assignment data for the work order(routing)
    JSTO     Status profile
    JEST     Object status
    AFRU     Order completion confirmations
    These are the tables related to purchase:
    EKKO     Purchase document
    EKPO     Purchase document (item level)
    EINA     Purchase info record (main data)
    EINE     Purchase info record (organisational data)
    EBAN     Purchase requisition
    EBKN     Purchase Requisition Account Assignment
    These are the table related to the finished material related with BOM.
    STKO     BOM - header
    STPO     BOM - item
    STAS     BOMs - Item Selection
    STPN     BOMs - follow-up control
    STPU     BOM - sub-item
    STZU     Permanent BOM data
    PLMZ     Allocation of BOM - items to operations
    MAST     Material to BOM link
    KDST     Sales order to BOM link
    Hope this will help.
    Regards,
    Thasneem.

  • Approver name for Purchase Order

    Hi Expart
                    I have to find out Purchase Req and corresponding Purchase Order that were approved by the same person.
    For that i need the table for approver for po or pq.
    Plz help me to get the approver name
    Thanks
    Raju

    Hello Expart
                            Plz help me to get table name

  • Processor Name for Purchase Orders

    Hi All
    For my SAP Report I need to pick the processor name  it is showing in purchase Order Release Strategy Tab.
    How can i find the table name of that value....
    Rgds
    Pramod

    Hi Kiran
    PROC Is not a table....
    Rgds
    PP

  • Table name for Internal order group and Profit center group

    Hello Friends,
    Could any one provide me the table for Internal order group and Profit center group.
    We are developing new customized report and user requested internal order group and Profit center group in the selection criteria.
    I have checked for this tables but found only these fields in structures.
    Thanks in advance,
    Ravi Kiran.

    Or use FM [G_SET_TREE_IMPORT|http://www.sdn.sap.com/irj/scn/advancedsearch?query=g_set_tree_import] to read the hierarchy/Group. (Read FM and FG documentation, you can also add break-point and call some S_ALRxxx transaction which use this FM for the objects you need).
    Regards,
    Raymond

  • Table name for sales order history

    hi guys,
                   I want to know the name of table which contains sales order history.
    regards
    neelesh

    Hi
    Use this code it will get all the details
    Sales Order Changed History Display
    Sales Order Changed History Display
    You can execute the report by :
    1.  Change Date
    2.  User Name
    3.  Sales Order Number
    Submitted by : SAP Basis, ABAP Programming and Other IMG Stuff
                   http://www.sap-img.com
    REPORT ZSDCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING
                     LINE-COUNT 065(001)
                     MESSAGE-ID VR.
    TABLES: DD04T,
            CDHDR,
            CDPOS,
            DD03L,
            DD41V,
            T685T,
            VBPA,
            TPART,
            KONVC,
            VBUK.
    DATA: BEGIN OF ICDHDR OCCURS 50.
            INCLUDE STRUCTURE CDHDR.
    DATA: END OF ICDHDR.
    SELECT-OPTIONS: XUDATE FOR ICDHDR-UDATE,
                    XNAME  FOR ICDHDR-USERNAME,
                    XVBELN FOR VBUK-VBELN.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
                SNAME  RADIOBUTTON GROUP R1,
                SOBID  RADIOBUTTON GROUP R1.
    SELECTION-SCREEN END OF BLOCK BLK1.
    DATA: WFLAG,
          WCHANGENR LIKE CDHDR-CHANGENR,
          WUDATE LIKE CDHDR-UDATE,
          WNAME  LIKE CDHDR-USERNAME,
          WVBELN LIKE VBUK-VBELN,
          WDEC1 TYPE P DECIMALS 3,
          WDEC2 TYPE P DECIMALS 3,
          WDEC3 TYPE P DECIMALS 3,
          WDEC4 TYPE P DECIMALS 3.
    DATA: UTEXT(16) VALUE 'has been changed',
          ITEXT(16) VALUE 'has been created',
          DTEXT(16) VALUE 'has been deleted'.
    DATA: BEGIN OF ICDSHW OCCURS 50.
            INCLUDE STRUCTURE CDSHW.
    DATA: END OF ICDSHW.
    DATA: BEGIN OF ITAB OCCURS 10.
            INCLUDE STRUCTURE CDSHW.
    DATA:   UDATE LIKE CDHDR-UDATE,
            USERNAME LIKE CDHDR-USERNAME,
            CHANGENR LIKE CDHDR-CHANGENR,
            VBELN(10),
            POSNR(6),
            ETENR(4),
            INDTEXT(200),
      END OF ITAB.
    SELECT * FROM VBUK WHERE VBELN IN XVBELN.
      CLEAR CDHDR.
      CLEAR CDPOS.
      CDHDR-OBJECTCLAS = 'VERKBELEG'.
      CDHDR-OBJECTID   = VBUK-VBELN.
      PERFORM READHEADER.
      PERFORM READPOS.
      LOOP AT ITAB.
        CASE ITAB-TABNAME.
          WHEN 'VBPA'.
            IF ITAB-FNAME = 'KUNNR' OR
               ITAB-FNAME = 'LIFNR' OR
               ITAB-FNAME = 'PARNR' OR
               ITAB-FNAME = 'PERNR' OR
               ITAB-FNAME IS INITIAL.
             MOVE ITAB-TABKEY TO VBPA.
             SELECT SINGLE * FROM TPART WHERE SPRAS = SY-LANGU
                                       AND   PARVW = VBPA-PARVW.
             IF SY-SUBRC = 0.
               REPLACE '&' WITH TPART-VTEXT INTO ITAB-INDTEXT.
             ENDIF.
           ENDIF.
         WHEN 'VBAP'.
           IF ITAB-FNAME IS INITIAL.
             REPLACE '&' WITH 'Item' INTO ITAB-INDTEXT.
           ENDIF.
         WHEN 'KONVC'.
           MOVE ITAB-TABKEY TO KONVC.
           SELECT SINGLE * FROM T685T WHERE SPRAS = SY-LANGU
                                     AND   KVEWE = 'A'
                                     AND   KAPPL = 'V'
                                     AND   KSCHL = KONVC-KSCHL.
           IF SY-SUBRC = 0.
             REPLACE '&' WITH T685T-VTEXT INTO ITAB-INDTEXT.
           ENDIF.
         ENDCASE.
         IF ITAB-INDTEXT(1) EQ '&'.
           REPLACE '&' WITH ITAB-FTEXT(40) INTO ITAB-INDTEXT.
         ENDIF.
         IF ITAB-CHNGIND = 'I'.
           REPLACE '%' WITH ITEXT INTO ITAB-INDTEXT.
         ELSEIF ITAB-CHNGIND = 'U'.
           REPLACE '%' WITH UTEXT INTO ITAB-INDTEXT.
         ELSE.
           REPLACE '%' WITH DTEXT INTO ITAB-INDTEXT.
         ENDIF.
         CONDENSE ITAB-INDTEXT.
         MODIFY ITAB.
       ENDLOOP.
    ENDSELECT.
    IF SUDATE = 'X'.
      SORT ITAB BY UDATE VBELN POSNR ETENR.
    ELSEIF SOBID = 'X'.
      SORT ITAB BY VBELN POSNR ETENR UDATE.
    ELSE.
      SORT ITAB BY USERNAME VBELN POSNR ETENR UDATE.
    ENDIF.
    LOOP AT ITAB.
      CLEAR WFLAG.
      IF SUDATE = 'X'.
        IF WUDATE NE ITAB-UDATE.
          SKIP.
          WRITE:/001 ITAB-UDATE,
                 023 ITAB-USERNAME,
                 037(10) ITAB-VBELN.
          WFLAG = 'X'.
          WUDATE = ITAB-UDATE.
          WCHANGENR = ITAB-CHANGENR.
        ENDIF.
      ELSEIF SOBID NE 'X'.
        IF WVBELN NE ITAB-VBELN.
          SKIP.
          WRITE:/001 ITAB-VBELN.
          WVBELN = ITAB-VBELN.
        ENDIF.
      ELSE.
        IF WNAME NE ITAB-USERNAME.
          SKIP.
          WRITE:/001 ITAB-USERNAME.
          WNAME = ITAB-USERNAME.
        ENDIF.
      ENDIF.
      IF WCHANGENR NE ITAB-CHANGENR.
        WRITE:/023 ITAB-USERNAME,
               037(10) ITAB-VBELN.
           WFLAG = 'X'.
           WCHANGENR = ITAB-CHANGENR.
        ENDIF.
        IF WFLAG = 'X'.
          WRITE: 013 ITAB-CHNGIND,
                 049 ITAB-POSNR,
                 057 ITAB-ETENR,
                 065 ITAB-INDTEXT(60).
        ELSE.
          WRITE: /013 ITAB-CHNGIND,
                  049 ITAB-POSNR,
                  057 ITAB-ETENR,
                  065 ITAB-INDTEXT(60).
        ENDIF.
      WRITE:/065 ITAB-F_OLD.
      WRITE:/065 ITAB-F_NEW.
    ENDLOOP.
    FORM READHEADER.
      CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
           EXPORTING
                DATE_OF_CHANGE    = CDHDR-UDATE
                OBJECTCLASS       = CDHDR-OBJECTCLAS
                OBJECTID          = CDHDR-OBJECTID
                TIME_OF_CHANGE    = CDHDR-UTIME
                USERNAME          = CDHDR-USERNAME
           TABLES
                I_CDHDR           = ICDHDR
           EXCEPTIONS
                NO_POSITION_FOUND = 1
                OTHERS            = 2.
      CASE SY-SUBRC.
        WHEN '0000'.
        WHEN '0001'.
          MESSAGE S311.
          LEAVE.
        WHEN '0002'.
          MESSAGE S311.
          LEAVE.
      ENDCASE.
    ENDFORM.
    FORM READPOS.
      LOOP AT ICDHDR.
        CHECK ICDHDR-UDATE
                            IN XUDATE.
        CHECK ICDHDR-USERNAME
                              IN XNAME.
        CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
             EXPORTING
                  CHANGENUMBER      = ICDHDR-CHANGENR
                  TABLEKEY          = CDPOS-TABKEY
                  TABLENAME         = CDPOS-TABNAME
             IMPORTING
                  HEADER            = CDHDR
             TABLES
                  EDITPOS           = ICDSHW
             EXCEPTIONS
                  NO_POSITION_FOUND = 1
                  OTHERS            = 2.
        CASE SY-SUBRC.
          WHEN '0000'.
            LOOP AT ICDSHW.
              CHECK ICDSHW-CHNGIND NE 'E'.
              CLEAR ITAB.
              MOVE-CORRESPONDING ICDHDR TO ITAB.
              MOVE-CORRESPONDING ICDSHW TO ITAB.
              CASE ITAB-TABNAME.
                WHEN 'KONVC'.
                  MOVE ICDHDR-OBJECTID TO ITAB-VBELN.
                  MOVE ICDSHW-TABKEY(6) TO ITAB-POSNR.
                WHEN OTHERS.
                  MOVE ICDSHW-TABKEY+3(10)  TO ITAB-VBELN.
                  MOVE ICDSHW-TABKEY+13(6)  TO ITAB-POSNR.
                  MOVE ICDSHW-TABKEY+19(4)  TO ITAB-ETENR.
              ENDCASE.
              MOVE '& %' TO ITAB-INDTEXT.
              APPEND ITAB.
              CLEAR ITAB.
            ENDLOOP.
          WHEN OTHERS.
            MESSAGE S311.
            LEAVE.
        ENDCASE.
      ENDLOOP.
    ENDFORM.
    TOP-OF-PAGE.
    WRITE:/ SY-DATUM,SY-UZEIT,
           50 'SALES ORDER CHANGE HISTORY',
          120 'Page', SY-PAGNO.
    WRITE: / SY-REPID,
             60 'SALES ORDERS STATISTICS'.
    SKIP.
    ULINE.
    IF SUDATE = 'X'.
      WRITE:/001 'Change Date',
             013 'Time',
             023 'User Name',
             037 'Sale Order',
             049 'Line',
             057 'Sch No',
             065 'Changes'.
    ELSEIF SOBID = 'X'.
      WRITE:/001 'Sale Order',
             013 'Line',
             021 'Sch No',
             029 'Change Date',
             041 'Time',
             051 'User Name',
             065 'Comment'.
    ELSE.
      WRITE:/001 'User Name',
             015 'Time',
             025 'Change Date',
             037 'Sale Order',
             049 'Line',
             057 'Sch No',
             065 'Changes'.
    ENDIF.
    ULINE.
    *--- End of Program
    Regards
    Shiva

  • Lookup Table Name for Sale Order Types

    Hello,
    What's the Lookup table name that contains the "meaning" for the column ORDER_TYPE_ID in the OE_ORDER_HEADERS_ALL table?
    Thanks,
    Smita

    Thank you Srikanth!
    I was just checking into the OE_TRANSACTION_TYPES table and it was empty!?
    But OE_TRANSACTION_TYPES_TL did the trick!
    Thanks again!
    Smita:)

  • Needs User-Exit/BADI name for Purchase Order in ECC 5.0

    MM Experts,
    We are using ECC 5.0. We have a requirement to change the value of standard SAP fields on the line item and header of the PO tables after PO is saved in the system.
    I will appreciate if someone can guide me about which BADI or User-Exit I have to use to achieve this.
    Rewards will be awarded for helpful tips.
    Thanks in advance!
    MP

    Charlie,
    Thanks for your quick reply. Do you have sample code for this BADI. If yes, then can you please let me know your email address .
    Thanks.
    MP

Maybe you are looking for

  • Sys account with two password in 9i

    Hi Guys, I got a database that sys have two password. the db is 9.06 in 32 bit window. i do this as SQL> connect sys/EXPassword as sysdba Connected. SQL> connect sys/workingPw as sysdba Connected. S I find EXPassword in exp code that still works well

  • Captivate 5.5 is setting a Mastery Score in the Manifest when using Slide Views

    We have encountered a problem with Captivate 5.5 where it is setting the Mastery Score in the manifest to match the Quiz score setting even though we are only using slide views to track completion.  This is a problem because if we set the score to ze

  • Measurement Studio Visual C++ 6.0 Multithreads

    I want to use the dialog editor to add NI controls to a dialog (or CFormView) and want to set CNiInterface to SingleThreaded. How do I do this. I do not want to create the controls dynamically because I do not want to deal with license strings. I get

  • [solved] passing ImageMagick options in script : unrecognized command

    I'm working on a script that modifies a lot of images. I am trying to add the flexibility to pass in any valid IM argument and have it tacked on to a default resize operation. I'm running into the problem where certain options give me the 'unrecogini

  • Moving Photo's around

    Hello all, I'm a recent user of PASE and am quite pleaesed with it. I have a query though. I like to view my photo's in the style of Folder view (where they are saved to my pc). But I'm unable to drage photo's from one folder to another. The pictures