Link b/w QALS and MSEG TABLE

hi,
i want to make a link up between QALS AND MSEG table as i want to those inspection lot which have the UD = REJECTED and stored in SC01 etc storage locations. Till now i am able to find that the Item which are rejected having material documents present in the MSEG table but not present in QALS.
I had tried to make a link up with fields such as MATRN,CHARG,KDAUF, KDPOS etc.. but the right data is not displayed in it.
Please provide me guidelines to solve this problem.

this i Functional question asked at wrong place .
but i will gice you the relation :
MSEG: Document Segment: Material
Fields:      MBLNR
     MJAHR                               
     ZEILE
Relation :
MATNR      EBELN     EBELP  MJAHR MBLNR                         
QALS:  Inspection lot record
Fields:      PRUEFLOS
can use this table also
QAVE:  Inspection processing
Fields:      PRUEFLOS
                KZART
     ZAEHLER
rgds aryan
Edited by: Aryan@sap on Jun 4, 2009 8:21 AM

Similar Messages

  • The pur.doc numbers are nt displaying in besg and mseg tables

    hi experts!
                   The bseg and mseg tables having the field(ebeln) of  purchasing doc.but is nt having any value.the field is empty in table.pl anyone can tel me wat is the reason,is it configuartion pbm or wat else.wat is the soln for this.
                  Thanks!.

    Hi,
    if FI doc is getting generated ie...while migo and miro, then entry must hit the table....if its not hitting.....then you need to debug it and find out the reason.
    reg
    Arun

  • MKPF and MSEG table

    What is diff between MKPF and MSEG table ?

    Dear Balaji,
    In MKPF you will get to know the transaction code which was used for posting the material document.
    In MSEG,you will get to know the the item details from which it was posted along with the quantity and amount in LC.
    Regards
    Mangalraj.S

  • To know link b/w PS and MM tables

    Hi,
    I got the link between tables PROJ and PRPS (PS)
    and link between EBAN,EKBE and ESSR.(MM)
    I need the link beetween first category (PS) and second category(MM).
    Can anyone please help me on this regarding?
    Thanks

    Dear Raja,
    Project System is very much linked with MM. Project Oriented procurement, Project Driven Production and Procurement Management, MRP Groups for requirements Grouping are few of the scenarios.
    You can find more transactions in Easy Access under Accounting:
    Project Systems -> Material
    You can analyse the transactions under this and will know the link between them.
    Plant is one such field in PS tables PROJ, PROJS, and PRPS which will link to MM.
    Regards,
    Naveen.

  • Link B/W  GL and Payable tables

    Hi,
    I want the table link b/w GL and Payables
    Regards
    Bhaskar

    Thank you, I checked in eTRM but i dint get any link in that, i have a link for gl_je_header,gl_je_lines to xla_ae_header,xla_ae_lines.
    In R12 i create one invoice n applied n posted to GL i am able to see the trx in gl_import_references table but in this it was not storing the relevent info in refernce_1,refernce_2..........columns,but in this gl_sl_link_id was there.
    In 11i the invoice related information will be stored in reference columns right, but in R12 it was not.

  • Optimization of Join statement between MKPF and MSEG table for improving pe

    Hi All,
    I had a issue where we are executing one custom report and it is getting timed out after 45 minutes. We further executed with trace on and got to the conclusion with the help of BASIS that about 42 minutes of the 45 minutes tracetime are spent by a join over the tables  MKPF en MSEG.
    This join is done by the abap statement:
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND mkpf~blart = 'WE'
         AND mkpf~bldat LE gv_last_day_fisc_period
         AND mseg~matnr = i_list-matnr
         AND mseg~werks IN s_werks.
    Here, I_LIST comprises of stock for specific period as entered in the selection screen for that particular Material and plant
    LV_INTERVAL is range of all goods receipts for material and gv_last_day_fisc_period is current date.
    During the tracetime this statement was executed  more than 20.000 times, until the transaction timed out.
    The individual executions of this select stmnt  varied (roughly) between 50 and 1200 miliseconds. (depends wheter the requested database block is in the buffercache or must be read from disk).
    The acesspath used to execute the query ( see below) is optimal, given the present indexes.
    Index MSEG~M is covering al the specified selection criteria for  MSEG.
    Index MKPF-0 is used  to search the specified MBLNR criterium in MKPF.
    The  remaining selection criteria MKPF-BLART and MKPF-BLDAT are not indexed, and imho this would also not make sense for this query.
    BLART has only 3 different values n the MKPF table, and the selected value 'WE' has more than 1 million occurences.
    BLDAT is selected with =<20110903, so this is not distinctive as well.
    Can any one suggest some better way to write this query.
    Regards,
    Subhajit

    Actually there are 2 select statements where JOIN have been introduced and especially the time out is occurring in the second JOIN.
    Find all goods receipts for material
      PERFORM get_number_range_matdoc USING '03'
                                   CHANGING lv_interval.
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND mkpf~blart = 'WE'
         AND mkpf~bldat LE gv_last_day_fisc_period
    AND mseg~matnr = i_list-matnr
        AND mseg~werks IN s_werks.
      CLEAR lv_interval.
      PERFORM get_number_range_matdoc USING '02'
                                   CHANGING lv_interval.
    Find all goods issues for material
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_wa
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND ( mkpfblart = 'WA' OR mkpfblart = 'WI' )
         AND mkpf~bldat LE gv_last_day_fisc_period
    AND mseg~matnr = i_list-matnr
         AND mseg~bwart NE '561'
         AND mseg~bwart NE '562'
         AND mseg~bwart NE '961'
    AND mseg~bwart NE '962'
    AND mseg~werks IN s_werks.
    Mainly the second JOIN is creating the problem... In the backend ORACLE is being used as database.
    Please suggest how I can improve the performance of these joins as its taking more than 45 mins..

  • Link between Komv structure and related table

    hai,
    I have one problem in CIN.
    In Purchase Order for
    ED - JM01 or JEXC
    CESS -ZECS or JEC1
    CSTLST - JIP1 or JIP2
    stored in KOMV Structure,
    other than KOMV  TABLE where this values are stored..
    (In KONV no values found for that one)
    pLEASE, tell me Table name .....in which i get above condition value
    thank you
    Manoj..

    Hi,
    1)GOTO>SE11>Open the table.
    2)Just beside the CONTENTS & DISPLAY BUTTON-->Click on Graphics Button
    3)New Graphics window ill popup.
    4)check for the forign key and check table button.
    you will find all the related tables,and Relations.
    This will be very helpful for future reference also.
    Hope it resolves the query.
    Regards,
    Gurpreet

  • Link between RBKP,BKPF and EKKO tables

    Hi,
    Vondor invoices are getting posted using transaction MIRO.
    I am having purchase order nos,EKKO-EBELN and able to get FI accounting document nos. from BKPF-BELNR.
    I want to fetch invoice numbers from RBKP table.
    Can you please provide me the link to RBKP table?
    Thanks in advance,
    Seshagiri.

    If you want to link from the MM side RBKP will not be the best of idea. Use RSEG Instead, it has the following common fields with MM tables:
    EBELN (P.O. Number)
    BELNR (Invoice Number)
    MATNR (Material Number)
    BUKRS (Company Code)
    WERKS (Plant)
    You can join ekko with rbkp using the rseg table to get the invoice number (BELNR) and you can join bkpf using the following fields.(BELNR) (LIFNR)
    Hope I have answered your question.
    Best Regards,
    Syed Hamid Akhtar.

  • Linking 2 drops downs and having tables appear

    I need to link 2 drop downs together so that the second is dependant on the first. I also need to have a table appear when the second drop down option is selected. If they change their mind and select a different option in the 2nd drop down a different table needs to appear. Currently i have 2 drop downs that are linked so that the options in the 2nd will change but i cant link this for a table to appear? Im not great with Java or scripting.

    Hi Melissa,
    In the change event of 2nd DropDown you can put the following code.
    var a = xfa.event.newText
    if(a == 5) // Set the value that you want.
                        Table2.presence = "hidden";
    else {
                        Table2.presence = "visible";
    Thanks,
    Bibhu.

  • Urgent: BSIS and MSEG link

    Hello,
    I cannot get the material number of the GR line in FI documents.
    I am using the tables BSIS and BSAS but cannot find any material number associated with them.
    BSEG is an option but it is giving time-out dump when data of more than 10 days are selected.
    Any suggestions will be appreciated.
    Regards,
    Sukriti

    Hi Sukriti,
    Never use BSEG or MSEG directly to fetch data as they always have huge data and it takes lot of time to fetch data.
    the link between BSIS and MSEG is as follows.
    BSIS-BELNR = MSEG-BELNR
    BSIS-GJAHR = MSEG-GJAHR
    BSIS-BUZEI   = MSEG-BUZEI
    BSIS-BUKRS = MSEG-BUKRS
    and filter in where condition based on MSEG-MATNR = materials from Select option or Parameters.
    May be you can create an index with the above 4 fields and also BSIS-HKONT in BSIS table.
    This would definitely give you the exact number of entries as in BSIS and MSEG.
    You can notice that in MSEG the Fields are not Key fields but they will give you unique entries.
    So you should be using join for BSIS and MSEG tables on the above 4 fields.
    hope this will solve your problem.
    If useful please dow reward
    Thanks
    Venugopal

  • Mver, mseg table

    WHZ THE relationship between mver and mseg tables?
    i want to link up mara and mkpf tables.

    Check the link
    material consumption history MVER
    Regarding MSEG ??
    Material Consumption at Storage Location level
    Thanks
    Seshu

  • Procees for upload field in mkpf&mseg table

    Hi friends,
    i had return the code for uploading two fields in mkpf and mseg table  .when i am executing through f8 the updated value is not founding when we checkd through debugging the value is updating and appering in screen plz tell me how i will solve the issue.
    for u r referenece i am sending the code what i had return in logic.
    types: BEGIN OF it_tab,
            prueflos(16) type c,
            MBLNR type mblnr,
            TYP type QAMBTYPE,
            END OF it_tab.
          types: begin of it_tab1.
           include type mkpf.
          types: END OF it_tab1.
          types:begin of it_mseg.
          include type mseg.
          types:end of it_mseg.
    *        end of it_tab1.
         types: ts_tab1 type STANDARD TABLE OF it_tab1.
         types: ts_mseg type STANDARD TABLE OF it_mseg.
         data: ts_tab type STANDARD TABLE OF it_tab,
               wa_tab type it_tab,
               wa_tab1 type it_tab1,
               ts_tab2 type ts_tab1,
               ts_mseg type ts_mseg,
               wa_mseg type it_mseg,
               it_tab12 type  it_tab1 OCCURS 0 WITH HEADER LINE.
           select PRUEFLOS mblnr typ from QAMB
             into table ts_tab  where prueflos = it_final-prueflos
                                  and    typ = '3'.
             if ts_tab[] is not INITIAL.
               sort ts_tab[] by mblnr.
              select * from mkpf into TABLE ts_tab2 FOR ALL ENTRIES IN ts_tab where mblnr =  ts_tab-mblnr.
                if ts_tab2[] is not INITIAL.
                  sort ts_tab2[] by mblnr.
                  select * from mseg into table ts_mseg FOR ALL ENTRIES IN ts_tab2 where mblnr = ts_tab2-mblnr.
                    endif.
                endif.
             loop at ts_tab into wa_tab .
               READ TABLE ts_tab2 into wa_tab1 with key mblnr = wa_tab-mblnr.
               wa_tab1-FRBNR = it_data1-FRBNR.
               if sy-subrc eq 0.
                wait UP TO 2 SECONDS.
              update mkpf from wa_tab1.
              COMMIT WORK .
               endif.
               read table ts_mseg into wa_mseg with key mblnr = wa_tab1-mblnr.
               wa_mseg-sgtxt = it_data1-trucknum.
               if sy-subrc eq 0.
                 wait UP TO 2 seconds.
              update mseg from wa_mseg.
              COMMIT WORK .
               endif.
               ENDLOOP.
    thanks in advance,
    siva
    Edited by: Thomas Zloch on May 13, 2011 1:37 PM - please use code tags

    it is added in bdc code  only.
    now i will explaing proccess of bdc . this is used for converting meterial type from 103 movement type to 105 move ment type so whaterver data they got through 103 movemet type (migo data) they are uploading through xl and uploading through our bdc
    after uploading they are used QA11 tcode .record is done for this after recording completed it is converting 103 to 105 move ment type  and it is displaying message like succesfully proceesed . inthis 105 movement type we are not getting bill of lading no and truck no so i am updating these two field in this table so i done like this so do u get any idea to update the fields in another way means plz help me
    siva.

  • BADI MB_MIGO_BADI not updating custom field in MSEG Table

    Dear Experts,
    I am working on screen exit In MIGO transaction for transfer Posting.
    I checked that BADI MB_MIGO_BADI having facility for screen exit and method line_modify having facility to change GOITEM Structure for the changed line item.
    Now, to make this functionality work I have enhanced include structure CI_COBL which is available in both mseg table and goitem structure, now I have this customized fields on my custome tab through the enhancement and also to update this value 2 custom fields created in goitem structure and MSEG table through include structure  CI_COBL.
    Here my question is at the time of transfer posing creation in MIGO when I am passing the value in custom fields through screen and assigning it to custom fields of structure GOITEM through LINE_MODIFY method, it is giving me below worning message
    BADI: Field GOITEM-ZZIDNLF is not ready for input. (Change is not taken over)
    Now I have debuged the code, also checkout many threads and came to know that because of few checks in standred program (iNCLUDE:LMIGOKL3) these fields will not be updated WHERE IT always checks whether these fields are ready for input or not and if not ready then instead of assigning the values it throws worning message.
    Now can you please through some light how can I go ahead as I have check out many threads and also tried to change value of cs_goitem structure using field symbol but throughing dump that it is blocked against changes through field symbol.
    The helpful answers will be highly appriciated.

    Hi,
    In the badi mentioned by you GOITEM is the importing parameters & if the relevant field is not used in any MIGO screen you cannot change the data.
    Please check example BADI interface: IF_EX_MB_MIGO_BADI~LINE_MODIFY
    Please check the BADI documentation:
    Changed data in GOITEM is only adopted if the relevant fields are visible and ready for input.
    Changed data in GOITEM is not adopted if the relevant field is not used in any MIGO screen (warning via MIGO 049).
    Changed data in GOITEM is not adopted if the relevant fields are not ready for input (warning via MIGO 050)
    Thanks and Regards,
    Chandra

  • Link between EKKO, EKPO and KONP

    Hi,
    can someone help me out to trace the link between EKKO, EKPO and KONP tables?
    regards,
    ravi.

    Hi Ravi
      KONP is conditions table.
      If we need the conditions(prices) of a purchase order, we can get it from EKKO, EKPO & KONV.
      1. Extract KNUMV from EKKO.
      2. Using EKKO-KNUMV - Extract conditions from KONV where KONV-KNUMV = EKKO-KNUMV.
      3. We can find item prices where KONV-KPOSN = EKPO-EBELP.
      Hope this helps you.
    Kind Regards
    Eswar

  • SRRELROLES and SRGBINREL tables and Document flow in PM notifications

    Hi Folks,
    I was wondering if anyone has run across this before. Currently we are having problems in our 4.6B system when it comes to doing Document flow from a Plant Maintenance Notification. We have found the certain notifications are linked to the SRRELROLES and SRGBINREL tables and others are not. The notifications that are not linked to the tables perform the document flow and we get the correct results. The ones that have entries in the table just hang and no result is ever displayed. They system times out after about 2 1/2 hours or we have to stop the transactions to get out.
    Does anybody know what the relationship is between these two tables and how postings are made to them? Any clue as to how to resolve our hanging problem?
    Any words of wisdom would be greatly appreciated!
    Thanks you in advance.
    Joe

    Hello Joe,
    I am facing a problem regarding the table SRRELROLES . My problem is reverse that due to absense of the document in this table my function module (bbp_pd_objrel_read_via_ref) fails.
    If you had found any information about your issue could you please share with me?
    thanks in advance
    rita

Maybe you are looking for

  • Bluetooth on T500 and Win7-64bits... How hard can it be??!!

    Hello, I've read several posts about this, but none of them solved my problem. I have a T500 2055-RH2, with windows 7 64bits. I just bought a bluetooth mouse online and imagine how I feel after 3 hours of useless debugging to install a mouse. Actuall

  • How to create a new push button in application tool bar in GMGRANT thru BDT

    Dear SAP Gurus - We have a requirement in 'GMGRANT' transaction. We need to create a button in the application tool bar of 'GMGRANT' transaction. Once the button is activated, if the user clicks on the button then it will go to a new screen (external

  • ISE web portal problem

    Dear Friends, I configured my 5508(in sso) and i made authentication through 802.1x on our software ISE,  i spent time to enable WEB portal authentication for guest users(guest wlan), so many guides for web portal authentication, my ACL on WLC shows

  • Completing 2 Day + Application Express Developer's Guide

    I am completing the 2 Day + Application Express Developer's Guide. However, when I try to deploy my application I get the following message: "Access denied by Application security check" Is this because I do not have license or is it something I need

  • Generating new Request number

    hi frends i was working with smartforms on develpment.i had made sme changes in the code and then save it.system asked for the request no.by mistake i had not gone for "own Request" and click OK for the default Request value displayed there. The chan