Can any change my code dynamic till to last raw materials of production ord

LOOP AT T_CAUFV.         " it contains all production orders of finished product.
      REFRESH IT_AUFM1.
      SELECT * FROM AUFM INTO TABLE IT_AUFM1                                       " ALL MATERIALS FOR PRODUCTION OREDERS.
               WHERE BWART = '261'
          OR BWART = '262' AND
                 AND WERKS = t_caufv-werks
                 AND AUFNR = t_caufv-aufnr.
      IF SY-SUBRC = 0.
        REFRESH IT_MSEG1.
        CLEAR IT_AUFM1.
        LOOP AT IT_AUFM1.
          SELECT SINGLE * FROM MARA WHERE MATNR = IT_AUFM1-MATNR.
          IF MARA-MTART = 'HALB'.
            SELECT * FROM MSEG INTO TABLE IT_MSEG1                                    " GET THE PRODUCTION ORDER FOR SEMI-FINISHED PRODUCT.
                                WHERE BWART = '101' AND
                                      WERKS = IT_AUFM1-WERKS AND
                                      CHARG = IT_AUFM1-CHARG AND
                                      AUFNR = IT_AUFM1-AUFNR.
            IF SY-SUBRC = 0.
              REFRESH IT_AUFM2.
              SELECT * FROM AUFM INTO TABLE IT_AUFM2                                  " FOR MATERIALS OF PRODUCTION OREDER OF SECOND LEVEL.
                       FOR ALL ENTRIES IN IT_MSEG1
                       WHERE BWART = '261'
                       OR BWART = '262' AND
                         AND WERKS = T_CAUFV-WERKS
                         AND AUFNR = IT_MSEG1-AUFNR.
              IF SY-SUBRC = 0.
                CLEAR IT_AUFM2.
                LOOP AT IT_AUFM2.
                  CLEAR MARA.
                  SELECT SINGLE * FROM MARA WHERE MATNR = IT_AUFM1-MATNR.
                  IF SY-SUBRC = 0.
                    IF MARA-MTART = 'HALB'.
                      SELECT * FROM MSEG INTO TABLE IT_MSEG2                          " GET THE PRODUCTION ORDER FOR THIRD LEVEL SEMI-FINISHED PRODUCT.
                       WHERE BWART = '101' AND
                             WERKS = IT_AUFM2-WERKS AND
                             CHARG = IT_AUFM2-CHARG AND
                             AUFNR = IT_AUFM2-AUFNR.
                      IF SY-SUBRC = 0.
                        REFRESH IT_AUFM3.
                        SELECT * FROM AUFM INTO TABLE IT_AUFM3                        " FOR MATERIALS OF PRODUCTION OREDER OF THIRD LEVEL.
                         FOR ALL ENTRIES IN IT_MSEG2
                         WHERE BWART = '261'
                       OR BWART = '262' AND
                           AND WERKS = T_CAUFV-WERKS
                           AND AUFNR = IT_MSEG2-AUFNR.
if my it_aufm3 contains further semi-finished i have to go further to find prod ord
for thatagian loop may increase .
                        LOOP AT IT_AUFM3 .
                          MOVE-CORRESPONDING IT_AUFM3 TO IT_AUFM.                       " MOVED TO FINAL IT_AUFM
                          APPEND IT_AUFM.
                        ENDLOOP.
                      ENDIF.
                    ENDIF.
                  ENDIF.
                  MOVE-CORRESPONDING IT_AUFM2 TO IT_AUFM.
                  APPEND IT_AUFM.
                ENDLOOP.
              ENDIF.
            ENDIF.
          ENDIF.
          MOVE-CORRESPONDING IT_AUFM1 TO IT_AUFM.
          APPEND IT_AUFM.
        ENDLOOP.
      ENDIF.
    ENDLOOP.

If you have an Account set up with My Verizon you can Go in there > and Go to were your Phone setting are and look at Different Numbers that are Available for your Area ) I can't recall how many are Available at one set time as they might have change how many you can Look at and then Choose.. but as for changing Just the Last Four that can't be done for anybody
Good Luck.. b33 

Similar Messages

  • Can we change company code in maintenance order

    Hi All,
    We have changed the maintenance plant of Equipment from 1100 plant to 1200 plant.
    Planner group is by default appears in work order once the technical object is selected in order creation.
    Can we change the planning plant and company code in maintenance work order?
    Thanks in advance
    Surya

    Dear Friend,
    you moved equipment from one plant to other plant, but company code is same know.
    Actually its not possible to change the company code in maintenance order.
    once you shift any technical object from one location to other location, do change the technical object materdata also.
    for your question you change the equipment masterdata so that u new planner group will triggeer in main.order.
    Regards,
    pardhu

  • Can we change gl code in already existing Purchase Order

    Hi All,
    By mistake we have entered wrong gl code in account assignment tab of PO and saved.Can we change the gl code now. If not what is the solution.
    Thanks,
    Kumar

    Hi,
    If there is no Follow-on documents you can change the G/l account number in Me22n T.code.
    Regards,
    JS

  • Can I change the code region again after the 5th time?

    Hello! I wanted to know if it was possible to change another time the code region on the dvd player to the original one after the fifth try? Also when I put a DVD of a different zone, it says I have one last try to change the code region but when I do it doesn't  work ... Thanks for your help

    Allegedly, if you wipe out your system...per David Pogue.  Do a Google & You Tube "How To" search. 

  • How can the Changes be seen in Output Message Cond. maint. for Purcha. Ord.

    Dear All Gurus,
                                                                                    User had maint. the Cond. record in MN04 as for Com. code --> with Option - 5 email and Dispatch time as 4 , but as the P.o created then in Message tab the Cond. record populated as --> 5 External email and Dispatch time -3 (send with own trxn ), also i hd selected the output message line n click on Further data tab , new screen opens , here there is no tick on Manually ? Locked , this indicates that there is no any changes done in output in this P.O, but this also implies that what ever the cond. are created in MN04 , the same cond. are populated in this P.O, but user says that -> the cond record was maint. as with  Option - 5 ( email) and Dispatch time as 4( Send immediately).Either the user is lying that the cond had maint correctly but may be the real situation could be that user might have created the cond with option -->  5 External email and Dispatch time -3 (send with own trxn ) and same is populated in this p.o created .
    Here my question is that can we  check that whatever the changes be carried out for that Co. code in trxn MN05 , is it possible to see those changes that on which date these changes were done  , we have to convice this to user.
    Rgds n thanxin advance.
    sap11

    a condition table is a customer table. if you want monitor changes made to records in such tables, then you have to prepare this in SE11 Go to Transaction SE11, enter table name  and then click on 'Change' icon. In the next screen, click on 'Technical Settings' icon, the 'Log Data Change' indicator is located at the end of the screen.
    of course this works only for changes made  to conditions  after this setting has been made.
    check if you can use AUT10 transaction

  • IPhoto does not see any changes after editing a photo in Camera Raw

    Hello everyone ,
    I have some small problem with my iPhoto. I have set up Camer Raw in iPhoto as  External Editor, so when I click on edit in IPhoto,
    automatically opens my JPG in Camera Raw. After editing in Camera Raw I'm clicking on ,,Save image" then destination is ,,Save in same location" When I go back to iPhoto to the same photo, iPhoto does not show any changes I have made in Camera Raw. 
    What could it be or should I set something in iPhoto or in Camera Raw?
    Is there a chance in order to deal with this?
    I will be grateful for any assistance and
    I'm waiting for advice
    Dawid

    Any time a RAW file is edited in any 3rd party editor from within iPhoto it MUST be saved to the Desktop and imported as a new file. There's no other way to do it.  So the photos you've edited and saved are somewhere in the iPhoto Library folder system but cannot be recognized and used by iPhoto.
    The following is geared for Photoshop and Photoshop Elements but might have some info relevant for you:
    Using Photoshop CS3 or Photoshop Elements 9 as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's Advanced Preference Section's under the "Edit photo:" menu.
    Click to view full size
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done. 
    3 - however, if you get the navigation window
    Click to view full size
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 9 the Saving File preferences should be configured as shown:
    Click to view full size
    s  I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Click to view full size
    NOTE: If you want to use both iPhoto's editing mode and PS/PSE without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in iPhoto".  That will let you either edit in iPhoto using the Edit button or Control-clicking on the thumbnail and selecting "Edit in iPhoto" or in PS/PSE by Control-clicking on the thumbnail and selecting "Edit in External Editor" in the Contextual menu.
    Click to view full size
    This way you get the best of both worlds.
    OT

  • How can i change the code in when new form instance trigger using JDAPI

    Hi all,
    Can anyone tell me how can i use JDAPI to modify the when-new-form-instance trigger in all my forms,coz we have around 500 FMB's ,if this is possible by using jdapi it will be better for us..
    Thanks in advance..
    Najeeb

    Hi Najeeb,
    The code I've given you should cover the basic steps - you will need to have a basic knowledge of Java if you want to use the JDAPI, there's no way around that unless you go and buy one of the off-the-shelf products for this kind of thing (I think there's one called orcltoolbox..?)
    I've written an application that does all kinds of things to Forms specific to our needs, so it's a bit tricky to just pull out the code you need, but again, the basics will be:
    String formName="C:\some_dir\some_form.fmb";
    FormModule mForm=FormModule.open(formName);
    Trigger myWNFITrig=Trigger.find(mForm,"WHEN-NEW-FORM-INSTANCE");
    String myText=myWNFITrig.getTriggerText();
    And there you have your trigger text, to do with what you please. You could put this code in the main() method of one class if you want to keep things really simple - but see how you get on, if you have any more specific questions, do come back.
    Eric - that's a very good point about using Regular Expressions. I haven't used them in my JDAPI app because I wanted to keep all my .fmbs 6i-compatible for the short-term, and a posting I saw somewhere recommended sticking to Java 1.3. Which rules out the regex facility, which only appeared in Java 1.4. Now, though, I think I needn't have worried - it surely shouldn't matter which version of Java I use to make the changes to the .fmbs. My stupid!
    James

  • Can we change tray selection dynamically?

    Hello experts,
    is it possible to change the tray selection dynamically? That is to say, via the driver program.
    For example the default tray on the SAPscript  form is TRY02. So if there are less than 20 lines on a form, it'll use TRY02 containing paper with pre-printed text. However, if there are more lines, then, I would like it to use TRY03 containing blank paper, for the rest of the information.
    Is this possible via programming or any other way for that matter?
    Your help is greatly appreciated.
    Edited by: Goharjou ardavan on Oct 29, 2008 11:07 AM

    Hi,
    Tray Options are available in the Output Device. You can't control it from the SAP Script. In Output device Tray's will be defined, But there is no option to shift the Tray based on the lines.
    But If you guys can define two output device, one with tray TRY02 and other device with tray TRY03. Then in the program based on the how many lines, Pass the Respective Output device to the Spool structures in the program.

  • Any change in code causes data to change from good to bad

    I have a vi that receives its data from a UDP stream.  A C# created dll is used as a stream file (order of data, and size (char, short, Long, and Double))
    The issue is this: if I change any part of the code and then run the vi, the data that used to show good (ex 28 volts) becomes bad (ex 15154898762 volts).
    I have played around with rebuilding the .dll, but I can't get a solid way to remedy this problem.  It seems to have worked sometimes, and not others, but I have been stuck with the bad data version for the past 2 hours.
    I am not able to post my code.
    I have searched and have not come across any situation like this.
    I am new to posting here so please forgive me if I have omitted any helpful data.
    Thanks.

    bomluuk wrote:
    I have a vi that receives its data from a UDP stream.  A C# created dll is used as a stream file (order of data, and size (char, short, Long, and Double))
    The issue is this: if I change any part of the code and then run the vi, the data that used to show good (ex 28 volts) becomes bad (ex 15154898762 volts).
    I have played around with rebuilding the .dll, but I can't get a solid way to remedy this problem.  It seems to have worked sometimes, and not others, but I have been stuck with the bad data version for the past 2 hours.
    I am not able to post my code.
    I have searched and have not come across any situation like this.
    I am new to posting here so please forgive me if I have omitted any helpful data.
    Thanks.
    I'm guessing you have serious race issues with your VI and every time it recompiles, you roll the dice and maybe it works, maybe it doesn't.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How can I change Cost Code (WBS Code) separator?

    Hi,
    I was thinking that cost code separator is always dash "-".
    But in our Demo database I saw that code separator is slash "/"
    Where can I set the separator for cost codes?

    There is a data definition called Cost Code Separator. You can change the default value to what you want the separator to be.

  • How can i change country code for a 3310 all in one? we have moved from Japan to Germany

    We have moved from Asia/Japan to Germany. I bought a set of new cartridges, which unfortunately are not accepted by the printer. Need help..... In the internet I found that I am not the only one to have this problem. As the printer is older than a year I either _ throw away.....or.....move back to Japan.   Both are not alternative. Can someone help. Need guidance on how to change the country code of the printer

    enno,
    Check out this post. It has some real good information about ink after moving to another country.
    http://h30434.www3.hp.com/t5/Ink-Toner-Cartridge-Printhead/Finding-and-installing-cartridges-after-m...
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • HELP ! HOW CAN I CHANGE JTREE FONT DYNAMICALLY ?

    WHEN I CLICK ON A JTREE NODE THAT NODE MUST TO CHANGE FONT .
    HOW CAN I DO IT ?

    implement ur own treecellrenderer class in the following way:
    yourTree.setCellRenderer(new MyTreeCellRenderer());
    class MyTreeCellRenderer extends DefaultTreeCellRenderer {
          public Component getTreeCellRendererComponent( JTree tree,
                                                         Object value,
                                                         boolean sel,
                                                         boolean expanded,
                                                         boolean leaf,
                                                         int row,
                                                         boolean hasFocus )
             Component component =
                     super.getTreeCellRendererComponent(
                         tree, value, sel, expanded, leaf, row, hasFocus);
             if(sel) {
                Font dynamicFont =
                  // put here the output font of conditional evaluation
                component.setFont(dynamicFont);
             } else {
                // if u want the default font when node is deselected
                // then uncomment the following code
                //component.setFont(null);
             return component;
    }hope this helps u, this code works fine in my program, but i face problem in resizing of the cell when font size is greater then the one earlier.
    regards,
    Afroze.

  • How can I change display height dynamically?

    Hi,
    I have defined layout style as "table-form". I want to control display height of a field depending on thich form user is in. In table, display height is "1" , but when user clicks edit and goes to form style, I need to change display height to "5".
    I belive it can be done using EL expression.
    Can anybody enlight me?
    Thanks

    It is easiest to make two separate items based on the same attribute. One item only displayed in table with height 1, the other item only displayed in form layout with height 5.
    Steven Davelaar,
    JHeadstart Team.

  • Can I change column headings dynamically based on report query conditions ?

    Hi All,
    Is there a possibility in OBIEE to change the headings of the column dynamically depending on the conditions that i keep on the report query ?
    Assume that i am showing an emp table data of one department at a time.
    The column heading of employee name should be like <DEPT>_EMP,  Where <DEPT> is the department on which i was reporting..
    Example:
    Report query : Select * from emp where dept = 'PHYSICS'
    The column heading of employee name should be PHYSICS_EMP.
    Thanks in advance.

    Hello,
    did you try to create a column with the data of dept and put it in a column level of a pivot table?
    In the example that you gave, the column head would show 'PHYSICS' because it's the data filtered at your query. Them, you just edit this column and concatenate the '_EMP' string.

  • HT4113 my iphone has been stolen by my ex who had the 4 digit passcode. Can I change that code from a computer?

    my very bogish ex stole my iphone 5 but knew my 4 digit unlock passcode...is there any way possible for me to change that password from my computer?

    No, there's not.

Maybe you are looking for

  • ITunes cannot be reached error message!

    Since I have upgraded from the original iPhone 2g to the 3GS, the phone has been very laggy and I have restored 3 times. And whenever I try to Download and application from the app store, the same error message appears where it says iTunes store cann

  • Painting in only one panel?

    Hello, I need to make a joystick style gui part in my applet, but only in one panel of the applet, Is it possible to paint in just one panel, and if so, can you point me in the right direction? Or even better, is there a joystick style swing componen

  • Stupid stupid firefox. I hate it now. Used it for years but this language issue really is killing a once great product. Microsoft IE here I come puke

    When are you going to allow users to set their own language to use. There are many complaints about the use of local languages I dont speak bloody arabic, I dont speak or read chinese!!!!!!!!!!!!!!!!!!! I want to have a switch in firefox that says ig

  • About short table scans

    Hello, everyone: I have a question about the "short table scans". Through the DB-Reports, I found in some time intervals there are too many short table scans. How can I identify the sql-statement, which lead to the high short table scans? Thanks :-)

  • F.27 sender address

    Hi I am facing a problem as follows. When F.27 customer statement is run, the sender datails are not appearing for certain customers. The ABAP programmer said these datails are picked from a customized table depending on the profit centre. I do not k