How to use QM- Inspection setup in STD RMDATIND program in LSMW

Friends,
I am working on MM data conversion. I am using STD RMDATIND program foe this. I need to update fields in View Quality management, Inspection Type and Active check box. We could achieve this through Quality management -> Inspection Set up->click on New button. Here you can maintain the InspType and Active button. My problem is that I am not able to find the corresponding fields in program RMDATIND. Any suggestions will be greatly appreciated.
Thanks,
Sujith.

Hi Sujith,
By using RMDATIND Prog, u cannot update fields for Quality Management,
There is Stanadard Business Object for Inspection set up.
Business Object      BUS1001004   Material inspection control
Method                   SAVEREPLICA                 Replication of QM inspect
Message Type         MATQM                       Replication of QM inspect
Basic Type              MATQM01                     Replication of QM Inspect
You can update by using this BAPI.
Regards,
Sivaram.
P.S: Reward for satisfactory answers.

Similar Messages

  • How to use quality inspection stock

    Hi,
    Plz tell me How to use quality inspection stock.can i use quality inspection stock for any transaction directly.
    Now i have 100 quality inspection stock is there.but i am not taking these stock to unrestricted use stock.i want use these stock to all transaction like 301,303,309.......
    it is possible or not

    hi
    Use t-code MB1B to transfer stock from quality inspection - unrestricted-use stock
    Movement Type 321 Transfer posting stock in quality inspection - unrestricted-use stock
    The quantity is transferred from stock in quality inspection into unrestricted-use stock. Here you can post the quantity to another storage location.
    You cannot use this movement type for QM-managed materials since transfer posting for these materials takes place via the usage decision.
    Possible special stock indicators: E, K, O, Q
    u2022 K Goods receipt for purchase order to consignment stock
    u2022 O Goods receipt for purchase order to stock of material provided to vendor
    u2022 E GR for purchase order or order to sales order stock
    u2022 Q GR for purchase order or order to project stock.
    regards
    Vishal

  • How to use dynamic selection screen inputs in main program

    hi all,
      its a report where in it calls one dynamic selection screen( user need to enter the parameters here) after that i need to use those inputs for some check, can any buddy help how to use/ get that input parameters into main program.
    regards,
    vara..

    Hi,
    i think u have created that dynamic selection screen in seperate program and calling to ur main program.instead of that u just create that synamic selection screen program as include program and include it in ur main program.
    or u need to use set/get parameter id concept.
    rgds,
    bharat.

  • How to use Same Inspection plan for Multiple Plants?

    Hello,
    When I create a Process Order for material (M1), release and save it for a Plant A then I get the Inspection lot automatically.
    Now I have another Plant B that we have created. We would like to use the same Inspection plan that has been created for Plant A and M1
    So in the changed mode(QP02) of the Inspection plan for Plant A in the material assignment tab I added the Material M1 and the Plant B. I am assuming this means when I create the Process order for M1 in Plant B then it should use the same Inspection plan.
    But when I create the Process Order for M1 for Plant B, release and save it then it does not created the Inspection lot automatically(though I can create Inspection lot manually)
    Can you tell me if there is setting that will allow me to create the Inspection lot automatically on saving the Process order which should use the Inspection plan that I just assigned.
    And also let me know if there is a better way to handle same Inspection Plan for same material but multiple Plants.
    Thanks
    SAP Fans...

    Dear,
    For your message my understanding is that you are not getting Inspection lot created in Plant"B". Inspection lot for a material would get created based on the Inspection Setup for the material master "QM View", so compare the QM for the material in both plants and correct it for Plant "B".
    Probably I feel Inspection Setup is not complete for the material in Plant "B" - Generally when extending material by copying referance, in the QM view you need to click the Inspection Setup Button, for the data to be copied...otherwise it does not copy the Inspection setup from the referance plant.
    Regards,
    Prasobh

  • How to use the created search helps in the program?

    Hi Everyone,
    I know how to create Search help elementary / collective search help through SE 11. I have a question, how can I make use of the created search help in the program.
    How to use the Search help in the programs, which is created through SE11
    Subbu.

    Hi,
    In case if you want to use in parameters statement, then we can use the suffix MATCHCODE OBJECT syntax.
    Eg.
    report abc.
    parameters : a(10) type c matchcode object ZBELNR.
    Hope this helps.
    regards,
    amit m.

  • Plase can anybody tell me how to use SETS (GS01/02/03) in ABAP program

    Plase can anybody tell me how to use SETS (GS01/02/03) in ABAP program

    http://wiki.sdn.sap.com/wiki/display/Snippets/Reading+Sets+-+GS01+-+GS02+-+GS03

  • How to use two ALV grids in a single program (pl read below for details)?

    Please read thoroughly::
    I have an ALV report using REUSE_ALV_GRID_DISPLAY.
    On the output of this report, when I click on a "change" button, a couple of columns should be made editable.
    I achieved this by modifying the fieldcatalog and triggering the output with another REUSE_ALV_GRID_DISPLAY.
    When I click on the back button of this second report, it is still taking me to the first one.
    How to over come this?
    Note:
    I used custom containers etc but the default buttons on the container are not controllable. I added custom buttons but could not suppress the default ones. So I did not pursue this much even though this is more comfortable to use.
    I am not able to get into the code in debug to see how the default buttons like COPY, INSERT ROW etc are working.
    Can any body throw some inputs into this?
    Thanks,
    Ven.

    >I achieved this by modifying the fieldcatalog and triggering the >output with another REUSE_ALV_GRID_DISPLAY.
    >When I click on the back button of this second report, it is still >taking me to the first one.
    >How to over come this?
    For this there is a solution
    i am thinking you are using user_command and calling the second time ALV Grid if so check this.
    form user_command using r_ucomm type sy-ucomm selfield type slis_selfield.
    case r_ucomm.
    when 'CHANGE'.
    selfield-exit = 'X'.   "use this , this will solve the problem
    "i hope you are calling the Function here
    endform.

  • How to use standard classes to create custom modulepool program like ME21N

    I am at the Starting Point of doing a classical dynpro program via Abap Objects which address all controls with MVC Architecture .So i debugged the standard ME21n transaction to find out how i can start with. I came across this interface which has no Attributes and Methods.I wondered y .Thats y i posted a Question .I also seen a lot of Standard classes
    CL_TABLE_VIEW_MM
    CL_BASIC_MODEL_VIEW_MM
    CL_COMPOSITE_SCREEN_VIEW_MM
    CL_SCREEN_VIEW_MM
    CL_TABLE_VIEW_MM
    CL_TABSTRIP_VIEW_MM
    CL_TC_BUTTON_VIEW_MM
    CL_TC_ITEM_VIEW_MM
    CL_TOGGLE_VIEW_MM
    CL_VALUE_MODEL_VIEW_MM
    and much more for Model and Controllers ..Can u plz guide me how i can make use of this classes effictively in my custom module pool programming

    I think all these classes serve the purpose of embracing the basic ones and are used specificalty in MM module.
    If you want to create similar module pool program with nice expand/collapse buttons in relation to subscreens please refer the some tips [here|expand/collapse button functionality on module pool screen;
    Also there are transactions like BIBS, DWDM which you can follow the examples from. I think SAP has covered all GUI controlls there so you can create really complex programs with various GUI controlls independently of module used for.
    Of course you can still stick to classes you mentioned but I think the better is to learn some standard approach of creating such screens, then if you feel more advanced go for using module specific ones if you really need that.
    Regards
    Marcin

  • How to use Java.lang.Math to calculate; Advice programming

    Hi, all!
    I am trying to teach myself Java, and am using the MindQ CDs to do it. I'm dreadfully stuck on this one exercise, and I could use some help figuring out how to properly call a Math method, store the variables, and print the results. I've programmed other methods successfully before; for some reason I just can't figure this one out. I've tried about fifty different configurations; maybe I can get some good advice here? Thanks!
    import java.io.*;
    import java.util.Random;
    import java.lang.Math;
    public class JavaCalcs {
        public static void main(String args[]) {
            System.out.println("Starting JavaComputations...");
            //main method variable declarations
            int z, y, x, w;
            int A = -12;
            int B = 2;
            z = A & B;
            y = A | B;
            x = A >> B;
            w = A >>> B;
            System.out.println(z + ";" + y + ";" + x + ";" + w + ";");
            Random kickassRNG = new Random();
            double rDOne = kickassRNG.nextDouble() * 90.0;
            double rDTwo = kickassRNG.nextDouble() * 90.0;
            System.out.println("rDOne= " + rDOne);
            System.out.println("rDTwo= " + rDTwo);
    //NOTE-EVERYTHING WORKS FINE UNTIL THIS POINT...
            if (rDOne > rDTwo)
            System.out.println("The larger of the 2 degs. is rDOne");
            //compute ceiling.
            double a=rDOne; //Store the value of rDOne.
            public static double ceil(double a);
            return a;
            System.out.println( "the ceiling of rDOne is " + a );
            //convert degree measurement to radians.     
            public static double toRadians(double b);
            double b = a;
            System.out.println("rDOne in radians is " + b );
            //compute tangent of that result.
            public static double tan(double c);
            double c = b;
            System.out.println("The tangent of rDOne is " + c );
            else
            System.out.println("The larger of the 2 degs. is rDTwo");
            //compute ceiling.
            double a=rDTwo; //Store the value of rDOne.
            public static double ceil(double a);
            return a;
            System.out.println( "the ceiling of rDTwo is " + a );
            //convert degree measurement to radians.     
            public static double toRadians(double b);
            double b = a;
            System.out.println("rDTwo in radians is " + b );
            //compute tangent of that result.
            public static double tan(double c);
            double c = b;
            System.out.println("The tangent of rDTwo is " + c );
        } //end main method.
    }

    VERY useful link..thxYou're welcome. Here are some more:
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.
    James Gosling's The Java Programming Language. Gosling is
    the creator of Java. It doesn't get much more authoratative than this.

  • How to Use At line-Selection Functionality in dialog programming  or mpp .

    hi
    i had created customized Transaction ,
    in that  notification field is there , their when they  place notification number ,after that when they double click on that, it have to go to iw23 .(so that they will get confirm that notification  number is write  )
    i have tried to use AT LINE-SELECTION event it showing error ,
    where i have to write and which event i have to use ?
    may i know how can i resolve this ?
    Thanks a lot
    Edited by: raghu111 on Dec 3, 2011 6:14 AM

    hi  sharin.
    Thanks for ur reply
    i followed ur  steps 
    WHEN 'PICK'.
      DATA : dc_scrfield  TYPE zmotor-qmnum.
      GET CURSOR FIELD dc_scrfield.
      CHECK NOT dc_scrfield IS INITIAL.
      IF dc_scrfield = zmotor-qmnum.
        IF NOT zmotor-qmnum IS INITIAL .
          set PARAMETER ID 'IQM' FIELD zmotor-qmnum.
          call TRANSACTION 'IW23'.
        ENDIF. .
        ENDIF.
    its not working
    but i already tried like this .
    WHEN 'PICK'.
    if field name =tablename-fieldname
    set PARAMETER ID 'IQM' FIELD zmotor-qmnum
      call transaction 'IW23'
    endif
    i written in pai event ." i have dought here also whether i have to write here r not
    HERE ITS  WORKING BUT PROBLEM IS  FOR ANOTHER FIELDS ALSO ITS RESPONDING . how to stop the responding .
    as per my knowledge in condition only prob but i tried i didnt solve
    please send me one example or tell me how to solve
    for better understanding only i pasted coding
    thanks a lot
    Edited by: raghu111 on Dec 5, 2011 12:21 PM

  • How to Use Edit - Cut  menu Command in my program

    Hi All,
    I want to call edit->cut menu action from my program, i have tried with textmodel->cut and also scrapsuite-> cut method, it works for normal text but i have a document with text from Word documents, when i cut the text from menu edit->cut it works properly, but when i tried to cut it from my code i get asserts like owneditem->getconnectedtotext() and the system crashes.can anybody guide me in this regard
    Thanks
    Madhu

    Hi i tried the following code<br /><br />SelectText (poTextModel, oRangeData);<br />InterfacePtr<IActionComponent> iptrActionComponent(CreateObject2<IActionComponent>(kScrapComponentBoss));<br />if (iptrActionComponent != nil )<br />{<br />IActiveContext *poActiveContext = gSession->GetActiveContext ();<br />if (poActiveContext != nil)<br />b iptrActionComponent->DoAction (poActiveContext, kCutActionID); asserts at this point<br /><br />}<br /><br />I am getting "About to use nil interface ptr!" assert,<br /><br />SelectText (poTextModel, oRangeData)->(My function which selects the text of specified range in the specified textmodel) <br /><br />Is anything wrong in the above code

  • How to use an internal table of a calling program in to a called program

    Hi Experts,
                I am calling a report in another report through SUBMIT .
              I want to use the internal table of calling prog into
             called   prog but problem is i have to do it without exporting to memory id and importing it.
    Plz provide me any soln..

    Check for more information on SUBMIT
    [http://www.sapdevelopment.co.uk/reporting/rep_submit.htm]

  • How to use the internal table of the submitted program

    Hi,
    In the main program i have submitted a program and that program is running  successfully and data is populated in to it_final, now i want to use this data populated internal table it_final in my main program.
    Thanks,
    Sudhakar.

    Hi,Mathew,
    *& Report  ZMB51                                                       *
    REPORT  ZMB51                                   .
    DATA LIST_TAB TYPE TABLE OF ABAPLIST.
    DATA: BEGIN OF olist OCCURS 0,
            filler1(1500)   TYPE c,
          END OF olist.
    submit <b>RM07DOCS</b> EXPORTING LIST TO MEMORY
                     AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        LISTOBJECT = LIST_TAB
      EXCEPTIONS
        NOT_FOUND  = 1
        OTHERS     = 2.
    IF SY-SUBRC = 0.
      CALL FUNCTION 'LIST_TO_ASCI'
        EXPORTING
          LIST_INDEX         = -1
        TABLES
          LISTASCI           = oLIST
          LISTOBJECT         = LIST_TAB
        EXCEPTIONS
          EMPTY_LIST         = 1
          LIST_INDEX_INVALID = 2
          OTHERS             = 3.
    BREAK-POINT.
    write:/ sy-subrc.
    ENDIF.
    OLIST will contain the report output that you have executed but you need to tweak this internal table so that it can be used for further processing.The current example will get you MB51 output into OLIST,so change the program name to your program name at the SUBMIT statement and then try.
    K.Kiran.

  • How to use Character.toUpperCase(c) method in below program?

    Dear,
    I have a source code as below. I want to ask how to convert all lower case letters in input file(farrago.txt) to upper case letters in the output file(outagain.txt)? Where the method Character.toUpperCase(c) adds into the code?
    Please help!
    import java.io.*;
    public class Copy {
    public static void main(String[] args) throws IOException {
         File inputFile = new File("farrago.txt");
         File outputFile = new File("outagain.txt");
    FileReader in = new FileReader(inputFile);
    FileWriter out = new FileWriter(outputFile);
    int c;
    while ((c = in.read()) != -1)
    out.write(c);
    in.close();
    out.close();
    }

    Sorry, i did not see that c is an int, so do it like this
    while ((c = in.read()) != -1)
        char C  = Character.toUpperCase((char)c);
        out.write(C);
    }Noah

  • How to use command promt for calling a java programe

    Hi
    i am using command promt to call my class CreateProdcut
    i am trying to call cmd.exe and then calling a class with argument *"java CreateProduct -----argument----"*
    Following is the code i am using to call cmd.exe as a seprate process
    Problem :-  I am not able to see command promt and called class o/p
    import java.io.*;
    public class ExecCreateProduct{
         public static void main(String args[]) throws IOException, java.lang.InterruptedException{
              Runtime runtime = Runtime.getRuntime();
                             Process pr = runtime.exec ("cmd /c"+"java "+"CreateProduct "+"Hello World"+"HHH");
               try {
               String line;
               BufferedReader input = new BufferedReader(new InputStreamReader(pr.getInputStream()));
                    while ((line = input.readLine()) != null) {
                   System.out.println(line);
                   input.close();
                   } catch (Exception err) {   
                        err.printStackTrace();
              int exitVal = pr.waitFor();
            System.out.println("Exited with error code "+exitVal);
    }Edited by: rahul_p on Jun 9, 2009 2:58 AM

    do it like this it works for me :)
    try{
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("java CreateProduct -----argument-----");
    InputStream stderr = proc.getErrorStream();
    InputStreamReader isr = new InputStreamReader(stderr);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ( (line = br.readLine()) != null)System.out.println(line);
    int exitVal = proc.waitFor();
    exitVal!=0?System.out.println("Error"):System.out.println("success");
    catch(Exception e){
    System.ourt.println(e);
    }

Maybe you are looking for