Field & Table name of tarnsport vendor in migo - Goods reciept

Can anybody tell the table name and field name of transport vendor in MIGO Goods reciept. If I press the f1 then it shows the table name as GOFRIGHT field name VENDORNAME. but the GOFRIGHT is the structure not he table.
Atul

If you are looking ofr Freight Vendor entered in PO, then you can use table KONV & field name is LIFNR where KNUMV(Condition record) is equal to EKPO-KNUMV.
Hope this clarifies your queries.
Regards
Bhavesh Mistry

Similar Messages

  • Field & Table Name of ER1 Report

    Dear Experts ,
    I am working on customisation of ER1 report, I wanted to know the field names & table name of the below given data.
    DETAILS OF GOODS OF GOODS MFGD
    1.PRODUCT DESCRIPTION
    2.CETSH
    3.OPENING BALANCE
    4 QTY MFGD
    5.QTY RECVD
    6.CLOSING BALANCE
    7.ON WHICH DUTY IS PAID
    8.OTHERS W/O PAYMENT OF DUTY -FOR EXPORTS
    REMOVAL:
    1.PRODUCT DESCRIPTION
    2.QTY REMOVED
    3.ASSESABLE VALUE
    4.RATE OF DUTY (INCLUDING NOTIFICATION & RELEVANT SERIAL NO.)
    5.TOTAL DUTY PAYABLE
    6.TOTAL DUTY PAID
    DUTY PAYMENT DETAILS
    1.DATE OF PAYMENT
    2.MODE OF PAYMENT
    3.CENVAT
    4.SDE
    5.TOTALDUTY PAID
    Thanks
    DGN

    Got no solution

  • Standards for creating fields & table names

    Hi All,
    I need to know if there are any SAP standards or standards from clients to be followed in creating new fields, tables & description.
    If there are any such data, please share with me.
    Urgent.
    Regards,
    Pramod

    Hi Pramod,
    mostly we're using a common Term for the field name. The field code is the field name in uppercase using MDM_ as prefix. As you have to replace blanks (a field code does not allow blanks) we use an _ instead. Note: if you want to distinguish between SAP created and custom fields, we recommend using a different prefix! Maybe you can start your Custom field codes with ZMDM or a prefix describing your customer? Currently we cannot enforce this in MDM as the MDM_ prefix is not yet protected. But if you follow our recommendation, it'll ease up your life and of course ours, too, as we can differentiate between SAP and customer fields in OSS messages.
    Edit: regarding descriptions
    If your field is somehow linked with a ERP field, you could reuse the description of ERP for example!
    Cheers
    Michael
    Edited by: Michael Theis on Jul 25, 2008 10:57 AM

  • System status field  table name

    Dear all,
    I required help from all of you for finding the table  name for system status of equipment
    Thanks
    Raghav

    Hi,
    JEST - Individual Object Status
    JCDS - Change Documents for System/User Statuses (Table JEST)
    TJ02T - System status texts
    TJ30T - Texts for User Status
    To access jest/jcds use EQUI-OBJNR.
    Regards,
    Maria João Rocha

  • Table Name which stores Vendor e-mail id

    Hi Team,
      Please let me know in which table the e-mail ids of vendors would be stored.
    I have gon ethrough the t.code XKO3.iN E-MAIL id field it is directing to structure and field <b>SZA1_D0100-SMTP_ADDR</b>.
    Regards
    Badari Talanki

    Hi badri,
    look for ADR6 table
    take the address number of the vendor and get the mail id from the address number from this table .
    adr6-SMTP_ADDR
    regards,
    Vijay
    <b>lfa1- lifnr ,
    lfa1-adrnr,
    adr6-adrnr
    adr6-SMTP_ADDR</b>
    Message was edited by: Vijay

  • Outbound Delivery - Header (Text field - Table Name)

    Hi All,
    In outbound delivery header - Texts tab i notice that we can maintain some texts. May i know which table i should refer to read the text entered.
    I can read the text type key from the table TTXTD, but i need to read the actual text entered by the user.
    Hope my question is clear, await your inputs.
    Regards,
    Vivek

    HI,
    SAP has already provided a various functions for read the text element. So you no need to get the value from table directly!
    There is some example
    CALL FUNCTION 'READ_TEXT'
           EXPORTING
              CLIENT           = SY-MANDT
              ID               = T_TEXT_ID
              LANGUAGE     = 'E'
              NAME          = T_UNIQUE_ID
              OBJECT          = T_TXTOBJ
         IMPORTING
              HEADER          = HTEXT
         TABLES
              LINES          = T_READ_LINE
         EXCEPTIONS
              ID               = 1
              LANGUAGE                    = 2
              NAME                            = 3
              NOT_FOUND                      = 4
              OBJECT                         = 5
              REFERENCE_CHECK     = 6
              WRONG_ACCESS_TO_ARCHIVE = 7
              OTHERS                  = 8.
    Let me explains as below parameters.
    T_TEXT_ID - Text id: example - '08000123', also is the document no.
    T_UNIQUE_ID - Text unique ID: example - 'ZD01'
    T_TXTOBJ - Text Object: example - VBBK
    That information can find it on relevant of document. In your case, you can fount it on the below path:
    VF01n/VF02n > GoTo -> Header -> Text -> detail (is the push small button, then it will go to the next screen) -> Goto -> Header.
    Return Value tales - THEXT and Table Line - T_Read_line
    You must declare this variable before,
    DATA: BEGIN OF HTEXT OCCURS 50.
            INCLUDE STRUCTURE THEAD.
    DATA  END OF HTEXT.
    DATA: BEGIN OF T_READ_LINE OCCURS 50.
            INCLUDE STRUCTURE TLINE.
    DATA: END OF T_READ_LINE.
    READ TABLE T_READ_LINE INDEX 1. "read the line value
    I hope this can help, so remembers reward the points

  • ARBPL & RUECK field table names

    hi,
         i have to link the confirmation number (RUECK) and workcentre(ARBPL) .pls suggest me the respectieve table so that i can link this two fields.
    Thanks in advance.

    AFRU- RUECK (Order confirmation table)
    From AFRU take AUFPL
    You should connect to AFVC  (operation within an order)
    Look for group no (PLNNR) in AFVC
    and connect to routing table to get the workcenter (ARBPL)
    If necessary your can connect AFVV also
    I guess you know about AFKO and AFPO table to start with
    Regard
    Manikandan .J

  • Change Moveing average price in MIGO Goods Reciept through user exit

    Hi,
    i need to change the moving average price in the MIGO transaction  (Goods Issue) through user exit can any one help me with user exit.

    Hi,
    Check these Enhancemnts...
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    Badi Name            Description
    DELIVERY_ADDR_SAP    Determine Time-Dependent Delivery Address in Delivery
    DELIVERY_PUBLISH     Returns BAdI Implementation: Automatic GR Posting T 2
    DELIVERY_PUBLISH     Updating of Delivery in Purchase Order
    DELIVERY_PUBLISH     AIP: Delivery Confirmation for Sales Order
    Regards
    Raghu

  • Migo(goods reciept),  -- how to enter recd. qty.in nos. and kgs. of a matl.

    Take an example of steel (angles, flats, plate or so).  He receives in 5nos. and 200kgs.
    In goods receipt how to enter the quantity in numbers and its weight both? In item detail, Quantity,of Migo screen there are 5 rows for entry. 1. Qty. in unit of entry.  In this what we enter is going to maintain in 2. Qty. in sku with respect to its base unit of measure.  Here the problem comes the qty. recieved may not be to the data mentioned in units of measure in material master. In practical it is different. If we mention the quantity received same as the sku(stock keeping unit) then the qty entered is ok. 3. Qty in PO price unit.  The details in this is the quantity received and its payment. 4. Qty in delivery note.  We mention the qty received in delivery note which is weight. 5. Qty ordered which is picking up from PO.  Please give the solution where to enter nos?  Thanking you,
    Srinivas

    Hi gurus,
    In this case, can I use the KANBAN correction to increase the KANBAN bin qty?
    Thanks
    Lim
    Singapore

  • Vendor Classification data table name?

    Hi,
    can any one tell me the table names for the vendor classification data stored?
    I am trying to update the following Vendor classification values (before updating I want to know is there any data already exists for that vendor ).
    MBE             Minority Business Enterprise
    WBE             Woman Business Enterprise
    MWBE             Minority/Woman Business Enterp
    Expiration date.
    I need the table name where this data is storing for Vendors. I need to find this data based on Vendor number, how do I can get this ?
    Thanks  for your time.
    Kevin.

    Hi Kevin,
    You can use this BAPI to check and update classification.
    BAPI_OBJCL_GETDETAIL
    BAPI_OBJCL_CHANGE
    Regards,
    Ferry Lianto

  • Ways of search table name

    Hi abappers,
    I want search a table name in SAP.
    I have the description name but I don´t find the table.
    I go to the se16 and in the table DD02T I search in description field a description.
    I go to the se11, click in the match code of de field table name and click on the sistem information and on the filed description a description.
    I need other way where I obtain the table taht I search, please?
    Cordial greetings.

    Thank you very much for your attention,
    I search with name of description and I found name of a view with the t-code se11 and select radio button view and put the name of this view, then on the tab table/join conditions I obtain the table name of this view.
    I need found other name table of others descriptions, but this descriptions are the name of area menus (no descriptions name table)
    some t-code or table where I search view or table of area menus Can you help me, please?
    Thank to all
    Cordial greetins.
    Edited by: lopez fernandez on Oct 2, 2008 10:17 AM

  • Delivery note field name and table name in MIGO

    hi experts,
    i want to fetch delivery note for my material document  in MIGO.
    Also based on MIGO delivery note NUMBER , i need to fetch MIRO document number i.e  mir4 dcoument number.
    kindly provide field name and table names for delivery note .
    thnaks &r egards,
    raghul

    hi karthik,
    Thanks for your quick reply.
    Actually i developed a zreport which consists of fields
    1. vendor
    2. refrence
    3. po
    4. material
    5. material document
    6. qty
    7. amount
    8. movement type
    9. plant
    These data i fetched from MB51  by using submit logic.
    All above fields are in one internal table.
    Now Based on MB51 reference  number , i want to fetch
    1. MIR4 number
    2. delivery note
    IN MIR4 tcode.
    Refrence number from MB51 and delivery note in MIR4 document are  same  .
    kindly give me suggestions how to get delivery note and MIR4 number ( inv number) in MIR4 TCODE
    thanks & regards,
    Raghul

  • Table name from which to extract bank name and swift code by key field as vendor code

    Please help with the table name from which we can extract the bank name and swift code of vendors with the key input as vendor numbers

    Hello Subhadra, I'm sorry, I should've said join of LFBK and BNKA. The fields for the join will be the bank country(BANKS) and bank key (BANKL).
    If you have not found a docu on SQVI already, you can refer to this:
    How to create Report by using SQVI
    This is how your join should look in BASIS mode, your selection parameter should be vendor code LIFNR; output fields with be bank name BANKA and swift code SWIFT.

  • Table name and field name

    hi frds
    Give me table name and field name of OPEN PO QUANTITY ..
    thanks
    Pari Vendhan.R

    See the sample code for the open PO's based on Vendor
    and do accordingly
    *& Report ZMM_PO_REPORT
    REPORT ZMM_PO_REPORT message-Id yb
    NO STANDARD PAGE HEADING
    LINE-COUNT 60(1)
    LINE-SIZE 230.
    D A T A B A S E T A B L E S D E C L A R A T I O N
    TABLES: lfa1, " Vendor Master
    t161, " PO Doc Types
    t024, " Purchase Groups
    ekko. " PO Header
    T Y P E S D E C L A R A T I O N S
    Purchase Orders Main Structure
    TYPES: BEGIN OF s_po,
    ebeln TYPE ebeln, " PO No.
    ebelp TYPE ebelp, " PO Item
    bstyp TYPE bstyp, " PO Category
    bukrs TYPE bukrs, " Company Code
    bsart TYPE bbsrt, " PO Type
    lifnr TYPE lifnr, " Vendor No
    ekgrp TYPE bkgrp, " Purchase Group
    waers TYPE waers, " Currency
    bedat TYPE etbdt, " PO Date
    txz01 TYPE txz01, " Material Text
    werks TYPE ewerk, " Plant
    lgort TYPE lgort_d, " Storage Location
    matkl TYPE matkl, " Material Group
    menge TYPE bamng, " PR Quantity
    meins TYPE bamei, " UOM
    bprme TYPE bbprm, " Price Unit
    netpr TYPE netpr, " Net price
    peinh TYPE peinh, " Price Unit UOM
    pstyp TYPE pstyp, " Item Category
    knttp TYPE knttp, " Account Assignment Category
    END OF s_po.
    Purchase Orders History Structure
    TYPES: BEGIN OF s_account,
    ebeln TYPE ebeln, " PO No.
    ebelp TYPE ebelp, " PO Item
    gjahr TYPE mjahr, " Fiscal Year
    belnr TYPE mblnr, " PO Invoice No
    menge TYPE menge_d, " PR Quantity
    wrbtr TYPE wrbtr, " Price in Local Currency
    dmbtr TYPE dmbtr, " Price in Foreign Currency
    waers TYPE waers, " Currency
    shkzg TYPE shkzg, " Dr/Cr Indicator
    END OF s_account.
    Purchase Orders History Structure(Item Sum)
    TYPES: BEGIN OF s_inv_sum,
    ebeln TYPE ebeln, " PO No.
    ebelp TYPE ebelp, " PO Item
    menge TYPE menge_d, " PR Quantity
    wrbtr TYPE wrbtr, " Price in Foreign Currency
    waers TYPE waers, " Currency
    END OF s_inv_sum.
    Purchase Orders Main Structure
    TYPES: BEGIN OF s_rep,
    lifnr TYPE lifnr, " Vendor No
    ebeln TYPE ebeln, " PO No.
    ebelp TYPE ebelp, " PO Item
    bstyp TYPE bstyp, " PO Category
    bsart TYPE bbsrt, " PO Type
    ekgrp TYPE bkgrp, " Purchase Group
    waers TYPE waers, " Currency
    bedat TYPE etbdt, " PO Date
    txz01 TYPE txz01, " Material Text
    werks TYPE ewerk, " Plant
    lgort TYPE lgort_d, " Storage Location
    matkl TYPE matkl, " Material Group
    menge TYPE bamng, " PR Quantity
    meins TYPE bamei, " UOM
    bprme TYPE bbprm, " Price Unit
    netpr TYPE netpr, " Net price
    peinh TYPE peinh, " Price Unit UOM
    pstyp TYPE pstyp, " Item Category
    knttp TYPE knttp, " Account Assignment Category
    name1 TYPE name1, " Plant
    orewr TYPE netpr, " To be Invoiced Price
    curr TYPE waers, " Inv Doc Currency
    END OF s_rep.
    D A T A D E C L A R A T I O N S
    DATA: gv_title1 TYPE sylisel, " Report title
    gv_dial. " Color flag
    C O N S T A N T S D E C L A R A T I O N S
    CONSTANTS: c_x VALUE 'X', " Flag X
    c_h VALUE 'H', " Debit
    c_vgabe TYPE vgabe VALUE '2'. " Transaction Type
    I N T E R N A L T A B L E S D E C L A R A T I O N S
    DATA: i_po TYPE STANDARD TABLE OF s_po WITH HEADER LINE,
    " Purchase Order
    i_inv TYPE STANDARD TABLE OF s_inv_sum WITH HEADER LINE,
    " PO Invoice Values
    i_rep TYPE STANDARD TABLE OF s_rep WITH HEADER LINE,
    " PO Invoice Values
    i_ekbe TYPE STANDARD TABLE OF s_account WITH HEADER LINE.
    " PO Invoice Values
    S E L E C T I O N S C R E E N *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr MATCHCODE OBJECT kred,
    s_ebeln FOR ekko-ebeln MATCHCODE OBJECT mekk,
    s_bsart FOR t161-bsart,
    s_ekgrp FOR t024-ekgrp,
    s_bedat FOR ekko-bedat.
    SELECTION-SCREEN END OF BLOCK b1.
    I N I T I A L I Z A T I O N *
    INITIALIZATION.
    A T S E L E C T I O N - S C R E E N *
    AT SELECTION-SCREEN.
    Validate the screen fields
    PERFORM validate_screen.
    S T A R T - O F - S E L E C T I O N *
    START-OF-SELECTION.
    Fetch main data
    PERFORM fetch_data.
    T O P - O F - P A G E *
    TOP-OF-PAGE.
    Header of the List
    PERFORM header.
    E N D - O F - P A G E *
    Footer
    END-OF-PAGE.
    ULINE.
    E N D - O F - S E L E C T I O N *
    END-OF-SELECTION.
    Display the Report Output data
    PERFORM display_data.
    At Line-Selection
    AT LINE-SELECTION.
    When double clicked on EBELN display the details of Purchase Doc
    PERFORM line_sel.
    *& Form validate_screen
    Validation of Selection Screen fields
    FORM validate_screen .
    Validation of Vendor Number
    CLEAR lfa1-lifnr.
    IF NOT s_lifnr[] IS INITIAL.
    SELECT lifnr UP TO 1 ROWS
    INTO lfa1-lifnr
    FROM lfa1
    WHERE lifnr IN s_lifnr.
    ENDSELECT.
    IF sy-subrc 0.
    MESSAGE e000 WITH 'Invalid Vendor'(002).
    ENDIF.
    ENDIF.
    Validation of PO Number
    CLEAR ekko-ebeln.
    IF NOT s_ebeln[] IS INITIAL.
    SELECT ebeln UP TO 1 ROWS
    INTO ekko-ebeln
    FROM ekko
    WHERE ebeln IN s_ebeln.
    ENDSELECT.
    IF sy-subrc 0.
    MESSAGE e000 WITH 'Invalid Document Number'(003).
    ENDIF.
    ENDIF.
    Validation of PO Document Type
    CLEAR t161-bsart.
    IF NOT s_bsart[] IS INITIAL.
    SELECT bsart UP TO 1 ROWS
    INTO t161-bsart
    FROM t161
    WHERE bsart IN s_bsart.
    ENDSELECT.
    IF sy-subrc 0.
    MESSAGE e000 WITH 'Invalid Purchase Document Type'(004).
    ENDIF.
    ENDIF.
    Validation of Purchasing Group
    CLEAR t024-ekgrp.
    IF NOT s_ekgrp[] IS INITIAL.
    SELECT ekgrp UP TO 1 ROWS
    INTO t024-ekgrp
    FROM t024
    WHERE ekgrp IN s_ekgrp.
    ENDSELECT.
    IF sy-subrc 0.
    MESSAGE e000 WITH 'Invalid Purchasing Group'(005).
    ENDIF.
    ENDIF.
    ENDFORM. " validate_screen
    *& Form fetch_data
    Fetching the PO related data from Database Tables
    FORM fetch_data .
    CLEAR i_po.
    REFRESH i_po.
    SELECT a~ebeln " PO No.
    b~ebelp " PO Item
    a~bstyp " PO Category
    a~bukrs " Company Code
    a~bsart " PO Type
    a~lifnr " Vendor No
    a~ekgrp " Purchase Group
    a~waers " Currency
    a~bedat " PO Date
    b~txz01 " Material Text
    b~werks " Plant
    b~lgort " Storage Location
    b~matkl " Material Group
    b~menge " PR Quantity
    b~meins " UOM
    b~bprme " Price Unit
    b~netpr " Net price
    b~peinh " Price Unit UOM
    b~pstyp " Item Category
    b~knttp " Account Assignment Category
    INTO TABLE i_po
    FROM ekko AS a JOIN ekpo AS b
    ON a~ebeln = b~ebeln
    WHERE a~ebeln IN s_ebeln AND
    a~lifnr IN s_lifnr AND
    a~ekgrp IN s_ekgrp AND
    a~bsart IN s_bsart AND
    a~bedat IN s_bedat.
    SORT i_po BY ebeln ebelp.
    break-point.
    IF NOT i_po[] IS INITIAL.
    Fetch the PO History/Invoice Details from EKBE Table
    CLEAR i_ekbe.
    REFRESH i_ekbe.
    SELECT ebeln " PO No.
    ebelp " PO Item
    gjahr " Fiscal Year
    belnr " PO Invoice No
    menge " PR Quantity
    wrbtr " Price in Local Currency
    dmbtr " Price in Foreign Currency
    waers " Currency
    shkzg " Dr/Cr Indicator
    INTO TABLE i_ekbe
    FROM ekbe
    FOR ALL ENTRIES IN i_po
    WHERE ebeln = i_po-ebeln AND
    ebelp = i_po-ebelp AND
    vgabe = c_vgabe.
    IF sy-subrc = 0.
    SORT i_ekbe BY ebeln ebelp.
    LOOP AT i_ekbe.
    IF i_ekbe-shkzg = c_h.
    i_ekbe-wrbtr = i_ekbe-wrbtr * -1.
    ENDIF.
    MODIFY i_ekbe.
    ENDLOOP.
    break-point.
    Sum up the Item wise Invoice totals
    LOOP AT i_ekbe.
    AT END OF ebelp.
    READ TABLE i_ekbe INDEX sy-tabix.
    SUM.
    MOVE-CORRESPONDING i_ekbe TO i_inv.
    APPEND i_inv.
    ENDAT.
    CLEAR i_inv.
    ENDLOOP.
    SORT i_inv BY ebeln ebelp.
    break-point.
    ENDIF.
    ENDIF.
    Move the Vendor Name and Invoice Values to I_rep Internal Table
    LOOP AT i_po.
    MOVE-CORRESPONDING i_po TO i_rep.
    CLEAR i_inv.
    READ TABLE i_inv WITH KEY ebeln = i_po-ebeln
    ebelp = i_po-ebelp.
    IF sy-subrc = 0.
    i_rep-orewr = ( i_po-menge - i_inv-menge ) * i_po-netpr.
    i_rep-curr = i_inv-waers.
    ELSE.
    i_rep-orewr = i_po-menge * i_po-netpr.
    i_rep-curr = i_po-waers.
    ENDIF.
    break-point.
    Get the Vendor Name
    CLEAR lfa1-name1.
    SELECT SINGLE name1 FROM lfa1 INTO lfa1-name1
    WHERE lifnr = i_po-lifnr.
    IF sy-subrc = 0.
    i_rep-name1 = lfa1-name1.
    ENDIF.
    APPEND i_rep.
    CLEAR i_rep.
    break-point.
    ENDLOOP.
    SORT i_rep BY lifnr ebeln ebelp.
    DELETE i_rep WHERE orewr LE 0.
    break-point.
    ENDFORM. " fetch_data
    *& Form display_data
    Display the Report Output data
    FORM display_data .
    DATA: lv_flag, " New Flag
    lv_rec TYPE i. " No of Records
    CLEAR lv_rec.
    IF i_rep[] IS INITIAL.
    MESSAGE e000 WITH 'No Data found'(022).
    ELSE.
    LOOP AT i_rep.
    Toggle Color
    PERFORM toggle_color.
    IF lv_flag space.
    NEW-LINE.
    ENDIF.
    At New Purchase Document
    AT NEW ebeln.
    WRITE:/1 sy-vline, 2(10) i_rep-ebeln INTENSIFIED OFF.
    lv_flag = c_x.
    lv_rec = lv_rec + 1.
    ENDAT.
    WRITE: 1 sy-vline,
    12 sy-vline,13(4) i_rep-bsart,
    17 sy-vline,18(10) i_rep-lifnr,
    28 sy-vline,29(35) i_rep-name1,
    64 sy-vline,65(4) i_rep-ekgrp,
    69 sy-vline,70(10) i_rep-bedat,
    80 sy-vline,81(5) i_rep-ebelp,
    86 sy-vline,87(40) i_rep-txz01,
    127 sy-vline,128(9) i_rep-matkl,
    137 sy-vline,138(1) i_rep-pstyp,
    139 sy-vline,140(1) i_rep-knttp,
    141 sy-vline,142(4) i_rep-werks,
    146 sy-vline,147(4) i_rep-lgort,
    151 sy-vline,152(13) i_rep-menge UNIT i_rep-meins,
    165 sy-vline,166(3) i_rep-meins,
    169 sy-vline,170(15) i_rep-netpr CURRENCY i_rep-waers,
    185 sy-vline,186(4) i_rep-waers,
    190 sy-vline,191(5) i_rep-peinh,
    196 sy-vline,197(4) i_rep-bprme,
    201 sy-vline,202(15) i_rep-orewr CURRENCY i_rep-curr,
    217 sy-vline,218(4) i_rep-curr,
    222 sy-vline,223(7) i_rep-bstyp centered,
    230 sy-vline.
    NEW-LINE.
    hide: i_rep-ebeln.
    ENDLOOP.
    ULINE.
    FORMAT COLOR OFF.
    WRITE : /2 'Total Number of Purchasing Documents:'(025) COLOR 3,
    lv_rec COLOR 3.
    ENDIF.
    ENDFORM. " display_data
    *& Form header
    Write the Report Header
    FORM header .
    FORMAT RESET.
    header
    WRITE:/1(230) 'LIST OF PURCHASE DOCUMENTS PER VENDOR'(006) CENTERED.
    SKIP.
    FORMAT COLOR COL_HEADING.
    ULINE.
    WRITE:/1 sy-vline,2(10) 'Pur.Doc.No'(006) CENTERED,
    12 sy-vline,13(4) 'Type'(007),
    17 sy-vline,18(10) 'Vendor'(008) CENTERED,
    28 sy-vline,29(35) 'Name'(009) CENTERED,
    64 sy-vline,65(4) 'PGrp'(010) CENTERED,
    69 sy-vline,70(10) 'Doc.Date'(012) CENTERED,
    80 sy-vline,81(5) 'Item'(011),
    86 sy-vline,87(40) 'Material Short Text'(024) CENTERED,
    127 sy-vline,128(9) 'Mat.Group'(013),
    137 sy-vline,138(1) 'I',
    139 sy-vline,140(1) 'A',
    141 sy-vline,142(4) 'Plnt'(014),
    146 sy-vline,147(4) 'SLoc'(015),
    151 sy-vline,152(13) 'Quantity'(016) CENTERED,
    165 sy-vline,166(3) 'UoM'(017),
    169 sy-vline,170(15) 'Net Value'(018) CENTERED,
    185 sy-vline,186(4) 'Curr'(019),
    190 sy-vline,191(5) 'Per'(020),
    196 sy-vline,197(4) 'Unit'(021),
    201 sy-vline,202(15) 'To be Invoiced'(023) CENTERED,
    217 sy-vline,218(4) 'Curr'(019),
    222 sy-vline,223(7) 'Doc.Cat'(026),
    230 sy-vline.
    ULINE.
    ENDFORM. " header
    *& Form toggle_color
    This routine alters the color of the records in the list FORM toggle_color.
    IF gv_dial = space.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    gv_dial = c_x.
    ELSE.
    FORMAT COLOR 1 INTENSIFIED OFF.
    CLEAR gv_dial.
    ENDIF.
    ENDFORM. " toggle_color
    *& Form LINE_SEL
    *When double clicked on EBELN field display the details of Purchase Doc
    FORM line_sel.
    CASE sy-lsind.
    WHEN '1'.
    DATA: lv_field(20),
    lv_value(10),
    lv_bstyp like i_rep-bstyp.
    clear: lv_bstyp,lv_value, lv_field.
    GET CURSOR FIELD lv_field VALUE lv_value.
    IF lv_field = 'I_REP-EBELN'.
    IF NOT lv_value IS INITIAL.
    READ LINE sy-index FIELD VALUE i_rep-bstyp
    INTO lv_bstyp.
    READ CURRENT LINE FIELD VALUE i_rep-bstyp INTO lv_bstyp.
    if lv_bstyp = 'F'.
    SET PARAMETER ID 'BES' FIELD lv_value.
    CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    elseif ( lv_bstyp = 'K' or lv_bstyp = 'L' ).
    SET PARAMETER ID 'VRT' FIELD lv_value.
    CALL TRANSACTION 'ME33' AND SKIP FIRST SCREEN.
    elseif lv_bstyp = 'A'.
    SET PARAMETER ID 'ANF' FIELD lv_value.
    CALL TRANSACTION 'ME43' AND SKIP FIRST SCREEN.
    endif.
    ENDIF.
    ENDIF.
    ENDCASE.
    ENDFORM. " line_sel{code]
    <REMOVED BY MODERATOR>
    kushagra
    Edited by: Alvaro Tejada Galindo on Feb 18, 2008 2:03 PM

  • Table name and field name for accounting and material document in MM

    Hi
    Table name and field name for accounting and material document in MM
    how can we diffreentiate the accounting document in MIGO and MIRO ?

    Hi,
    For Goods reciept documents you can search from the tables  MKPF-Header: Material Document and MSEG-Document Segment: Material,
    and for Invoice documents you can search in  tables   BKPF-Accounting Document Header and BSEG-Accounting Document Segment.
    For differentiating the Accounting documents in MIRO and MIGO based on posting key and document types for GRN -document key is -WE and for MIRO document is -RE.......
    Hope this may help you.....................

Maybe you are looking for

  • Adapter types & comm. channels missing in comm channel monitoring

    Hello All, We recently created a new sandbox XI system from a copy of our XI Test system system. We used the SAPinst system copy process for ABAP+JAVA to create this new XI sandbox system. We have followed all of the XI/PI post copy procedures listed

  • Join us at the ASUG Influence Council in Orlando, May 17th

    Hello Everyone, We just wanted to let you know that SAP and ASUG are jointly starting a new Interaction Center Influence Council. The Influence Council was set up to provide customers and partners with a way to influence SAP's product direction for t

  • LOCATION FINDING without using GPS using J2ME (in gsm network)

    I was wondering if it is possible for me to obtain the ID (name) of the tower my phone is communicating with using J2ME (in a GSM network). I`m developing for T610. The cell info display shows the name of the tower. Is there any way i can get that te

  • Locking down a remote session

    Hello, I am trying to limit access for a user when connecting remotely to my SQL database. I can successfully connect remotely with Excel 2010 using SQL Authentication. I have set the default database for the user, but I can still see the master, msd

  • Application items

    i'm using app items to set up the "go to prev page" mechanism. unfortunately, i can't seem to get values of these fields. They are not listed in the session state table (they used to when they were alphabetically at the top of the list - and when the