How to MASS update LC data in BOM's and Routings

Hello,
Hello,
I am using SAP APO where I need to use LPP Heuristics. I need to update LC Data. I tried to do it via batch input as I did not find any Function Module. I faced however a problem that I could not overcome.
Initially field Maximum Prod. Length is display only. When I set a value to Length Calculation Method field then it becomes editable but entry is required. In this way it is impossible to update it in one step with the batch input method.
Does anyone know how to overcome it?
Thank you in advance,
Angelos

Ok...  Sorry, I thought I explained it better.
I have 40K+ records that were extracted from a parent table into a "temporary table" called NRN_WEIGHTS.  Each has a primary key column, ADMIN_CN_FK, and two data columns.  SVEXPAND, and NVEXPAND.   ALL the data in this table was extracted from the parent table NRN_ADMIN, and then the NV/SVEXPAND records updated to current values.
Now they want me to update all the parent table records so that they reflect the new values.
Parent table = NRN_ADMIN   primary key is ADMIN_CN
Child table = NRN_WEIGHTS  primary key (FK) is ADMIN_CN_FK
So I have to essentially say in some kind of looped structure...
for i in select admin_cn_fk from nrn_weights, update nrn_admin
set nvexpand = (select nvexpand from nrn_weights where admin_cn_fk = i)
svexpand =(select svexpand from nrn_weights where admin_cn_fk = i)
Does that make more sense?
As far as the create table goes, I didn't want to really be specific to this one instance to be honest.   This is something that I will be doing a lot, so I was hoping to approach it from a more generic approach.

Similar Messages

  • How do i update the date on the calender icon in cloud

    How do i update the date on the calender icon in cloud?

    Hi Scott, There is no single-click to update all the Adobe CC apps, but you can go through the Adobe Application Manager to download the Creative Cloud app, which will let you install the new CC versions of photoshop, premiere, etc.
    So basically you will still have your CS6 software, and it will install the CC software next to it.  That way if any of your plugins haven't been upgraded yet, you can still use CS6.

  • Valid to date for BOM Header and Item

    Hello everyone,
    I have been searching for "valid-to" date for BOM header and Items since several days but no luck ..
    I know we can see it using transactions cs11/cs03 etc. But i wish to know the table where they are stored. As I need to extract them to BW.
    Any help will be highly appreciated.
    Thanks in advance!
    Regards,
    Anuj

    Hi Anuj
    In table STPO,the field AEDAT gets updated only when a change number is used,otherwise the valid to date will be shown nil here.
    And also ref the link
    Problem finding Valid To Date or Change number to on BOM
    pavan

  • How to get STPOV structure values using BOM number and Plant number

    hello All,
    could you please help me out
    'How to get  STPOV structure values using BOM number and Plant number'
    is there any function module where can i give input as bom and plant number .
    waiting for your response.
    regards
    srinivas

    I did a quick where-used lookup in SE11 on the structure STPOV in function module interfaces and came up with the following:
    Function Module                             Short Description                                          
    CK_F_TOTALCOST_COMPUTE                                                                      
    CS_ALT_SELECT_COUPLED_PRODUCT                                                               
    CS_WHERE_USED_CLA                Bills of material; class use                               
    CS_WHERE_USED_CLA_ANY        Bills of material; direct class use or via other class     
    CS_WHERE_USED_CLA_VIA_CLA        Bills of material; class use via classes                   
    CS_WHERE_USED_COP                                                                           
    CS_WHERE_USED_DOC                Bills of material; document use                            
    CS_WHERE_USED_DOC_ANY:Bills of material; direct and (indirectly) document use via
    CS_WHERE_USED_DOC_VIA_CLA        Bills of material; document use via classes                
    CS_WHERE_USED_KNO                Bills of material; use object dependency                   
    CS_WHERE_USED_MAT                Bills of material; where-used list                         
    CS_WHERE_USED_MAT_ANY:Bills of material; where-used list as article or class item
    CS_WHERE_USED_MAT_VIA_CLA        Bills of material; where-used list via classes             
    EXIT_SAPMC29M_001                BOM; Article Where-Used List   
    It appears that this structure is primarily used for where-used look-ups for components within the BOM.  I don't know if any of these are what you're in need of.
    Hope this helps,
    Mark Schwendinger

  • Mass Update of date in Qualified  table

    I having problem in updating End availability date in Partner Specific Data (which is a qualified table). How can do a mass update of selected records. I have written an assignment expression which has no error but it is not doing the update.
    Regards,
    Marcel

    Hi Marcel
    Assignment and validation does not work well for qualified table. It will work for only first qualified linked record and not all.
    for mass update you can use import manager map the date qualifier field and select replcae action for qualified update in the destination item.
    best regards
    ravi

  • How do I update a date field through CMP

    I wonder how to update a date field through CMP.
    For example, I can't update an employee table with following statement.
    employee.setHire_date('2002-03-20');
    Thanks,

    Thats correct......
    Try using the following code....
    String strDate ="2002-03-20";
    String date_fmt = "yyyy-MM-dd";
    java.text.SimpleDateFormat sdf=new java.text.SimpleDateFormat(date_fmt);
    java.util.Date hireDate =null;
    hireDate =(Date) sdf.parse(strDate);
    employee.setHire_date(hireDate);
    Hope this helps
    Cheers
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Mass update Alternate Unit of Measurement ?

    Hi Gurus,
    How to update Alternative Unit of Measurment for 1000 items at a time.
    Required solution of Mass updatation of Alternate Unit of Measurement
    Guide in this.
    Prakash

    Hello, Prakash,
    transaction MASS -> Object BUS1001"Material" -> table MARM "Units of Measure for Material", though it is usefull only for changes of conversion factors. Otherwise, it's time for LSMW/BatchInput/Catt, what ever you prefers.
    TomT

  • How to delete/update GPS data using Lightroom?

    Title says it all, but I'll explain why I need it.
    I have a Sony SLT A55 which is apretty good camera, it has a GPS.
    The way GPS work in this camera is it gets a fix, and then updates every undetermined time the position. That's okay, what is stupid in its design is, if you haven't taken pics in let's say 24 hrs. and you move several miles away and start shooting indoors (no GPS signal available) it will mark all your pics with your last known position, so now I have several photographs with a location I left several DAYS ago. I'd prefer the camera not to record GPS data than having a wrong location, but that's another thing for the Sony forums.
    So, now I want to delete (or update would be another option) the GPS data from the pics that are tagged with wrong locations.
    I'm shooting RAW,
    Is there any way to do it inside Lightroom?

    I’m a Nikon user, and here’s how I geotag my images when I want to (not very often). I use a Nokia N95 smart phone and Nokia Sports Tracker to track coordinates with timestamps. I use Nikon’s ViewNX2 to import the images from my camera (or card) to the final destination (folder) of the images. I also transfer the log file from the Sports Tracker to my computer. Then I use ViewNX2 to geotag the most recently imported set of images with the log file from the Sports Tracker. (I don’t know why but I have to adjust the time offset by one hour, fortunately this setting is sticky so I don’t have to do it every time). When the images are geotagged, I do an in-place import in Lightroom, and Lightroom recognizes the GPS coordinates.
    ViewNX2 is a free download, and I think this scheme can be used to geotag jpg of tif images from any camera. The raw file capability of ViewNX2 is understandably restricted to Nikon cameras. You could try Geosetter, another free download. The problem with my system is that Geosetter did not understand the log files of my Nokia N95. GPSBabel can translate the log files to a format acceptable to Geosetter, but since ViewNX2 does importing and geotagging (and time-offsetting the N95 log file), I have no need for additional programs.
    WRT to the original question ("how to delete/update...") you could try the following: write all metadata (keywords, settings) to your master image files in LR. Then use Geosetter or some other additional tool to modify the GPS data or the affected images. Finally, synchronize the images back to Lightroom, and select the option to use metadata from the images (instead of LR's catalog).
    Best regards
    Antero

  • How to change Valid to date in BOM

    Hi Sap experts
    I have two questions:
    1. How to change the valid to date in BOM for either header or component material.
    2. If the answer of the above question is NO, then from where the system takes the value for valid to date in BOM. If its default, then where that default date is actually set in?
    Thanks & Regards
    Akhtar Shaikh

    Dear Akhtar,
    If ECM is not activated then deflaut systems takes Valid to-date as  31-12-9999
    It is inbuilt in program designed by SAP
    Valid from date will be the date which you are creating BOM
    If ECM is activated then you can go with required dates ( with change numbers )
    Check this link in which you can find Mr. Mangalraj and experts Replies
    [ECM|Re: BOM valid to date]
    Regards
    Madhu

  • How to avoid updating the data when ever we refresh the page

    I want to avoid updating the data to the server when ever we refresh the web page.
    Thanks in advance.

    You could potentially do it by using a redirect instead of a forward to the result page.
    That will essentially do it in two requests. 1 to request the save, another to display the result of the save.
    If the user then requests a refresh, it won't incur a save call.
    Of course, that doesn't stop them going back in the browser, and refreshing that page, but it at least makes it a little harder.
    Cheers,
    evnafets

  • HT5624 How do I update my Apple ID on iPad and iPhone after changing it?

    How do I update my Apple ID email address on iPhone and iPad after changing the email but not password.  I have verified my new email on iPhone iPad and iMac but settings on all for iCloud still show my old email address. I can't use anything now that needs my Apple ID

    Hello there, Chivs86.
    From what it sounds like you are wanting to sign out of iCloud with the "old" ID and sign in with the new. The following Knowledge Base article should help you with that issue:
    iCloud: Features that work with one account at a time on iOS 5 and OS X Lion or later
    http://support.apple.com/kb/TS4020
    Specifically:
    To change a secondary account to a primary account
    iOS 5 or later:
    Tap Settings > Mail, Contacts, Calendars.
    Delete the secondary account.
    Tap the Back button.
    Tap iCloud.
    Delete the primary account.
    Add the secondary account that you want to be your primary account.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • How to move all my data to a server and wirelessly access it from any Mac

    Hi. I have a PB, an MBP, a Mac Mini and a new iMac, which all serve different purposes. I have got to the point at home where I want to have one private account with all my data on a HD and to just log in to it from whichever machine I happen to be using. I currently have an Airport Express as my wireless router and am considering buying and Airport Extreme/Time Capsule. I have about 500GB of data, which is growing pretty quickly since I have use of an HD camcorder, so I will buy one or two large drives in addition to the various external HDs I already (that total about 850GB) have. What is the best way (at relatively low cost) for me to set up my wireless home network in order to achieve the above goal?
    Thanks for your time.
    Matthew Whiting

    Don't go there. At least not for all your data.
    The relatively low throughput and high latency of the wireless connection (at least compared to direct-attached disks) will make accessing large files cumbersome and frustrating. Since you specifically mention HD video you should be aware that what takes a long time now will take a lot longer if the media is accessed over the wireless network.
    So while your goal might be technically feasible, it's unlikely to be workable.
    Instead you should consider focussing your centralized data on content that makes sense (e.g. maybe your iTunes library), and store data locally where it's more appropriate (e.g. consider one machine for video editing).
    Therefore you need to analyze your data - both in terms of content (what you have) and use (how you access it) to determine what makes sense to store centrally. Once you have that it will be easier to form a plan.

  • How can I change the date format in Reminders and in Notes?

    How can I change the date format in both Notes and Reminders? Preference on Imac and Settings in IOS do not allow me to change the format in those 2 apps.
    I Like to see 10oct rather than 10/10, as an example.

    pierre
    I do not have Mavericks or iOS - but the first thing I would do is reset the defaults - I'll use Mavericks as an example
    From If the wrong date or time is displayed in some apps on your Mac - Apple Support
    OS X Yosemite and Mavericks
        Open System Preferences.
        From the View menu, choose Language & Region.
        Click the Advanced button.
        Click the Dates tab.
        Click the Restore Defaults button.
        Click the Times tab.
        Click the Restore Defaults button.
        Click OK.
        Quit the app where you were seeing incorrect dates or times displayed.
        Open the app again, and verify that the dates and times are now displayed correctly.
    Then customize to taste - OS X Mavericks: Customize formats to display dates, times, and more
    OS X Mavericks: Customize formats to display dates, times, and more
    Change the language and formats used to display dates, times, numbers, and currencies in Finder windows, Mail, and other apps. For example, if the region for your Mac is set to United States, but the format language is set to French, then dates in Finder windows and email messages appear in French.
        Choose Apple menu > System Preferences, then click Language & Region.
        Choose a geographic region from the Region pop-up menu, to use the region’s date, time, number, and currency formats.
        To customize the formats or change the language used to display them, click Advanced, then set options.
        In the General pane, you can choose the language to use for showing dates, times, and numbers, and set formats for numbers, currency, and measurements.
        In the Dates and Times panes, you can type in the Short, Medium, Long, and Full fields, and rearrange or delete elements. You can also drag new elements, such as Quarter or Milliseconds, into the fields.
        When you’re done customizing formats, click OK.
        The region name in Language & Region preferences now includes “Custom” to indicate you customized formats.
    To undo all of your changes for a region, choose the region again from the Region pop-up menu. To undo your changes only to advanced options, click Advanced, click the pane where you want to undo your changes, then click Restore Defaults.
    To change how time is shown in the menu bar, select the “Time format” checkbox in Language & Region preferences, or select the option in Date & Time preferences.
    Here's the result AppleScript i use to grab the " 'Short Date' ' + ' 'Short Time' "  to paste into download filenames - works good until I try to post it here - the colon " : " is a no-no but is fine in the Finder
    Looks like iOS Settings are a bit less robust
    - Date/Time formats are displayed according to 'tradition' of your region > http://help.apple.com/ipad/8/#/iPad245ed123
    buenos tardes
    ÇÇÇ

  • How to Convert internal table data into text output and send mail in ABAP

    Hi All,
    Good Morning.
    Taking a glance at a code that converts internal table data to an Excel file in ABAP. also checked how to send this excel to mailing list as attachment.
    But thought of doing it without excel.
    I mean, I have an internal table which contains fields of all types (character,integer,date,time). Since it is only around 4 to 5 rows in it (output),why to convert it to excel. not required!!.  Instead I  want to send this output to User's mails as Normal mail body with No attachments.
    Could anybody please suggest me a way as to how to send internal table data as a mail ( not as an excel or PDF etc).
    as of now my findings are, it is quite complex to convert internal table data to email (Text) format. but i believe if there is some way of doing it.
    Best Regards
    Dileep VT

    here's something I have used in the past where we send out information about failed precalculation settings (which are stored in internal table gt_fail)
    notice we use gt_text as "mail body"
    TRY.
    *     -------- create persistent send request ------------------------
           gv_send_request = cl_bcs=>create_persistent( ).
    *     -------- create and set document -------------------------------
    *     create text to be sent
           wa_line = text-001.
           APPEND wa_line TO gt_text.
           CLEAR wa_line.
           APPEND wa_line TO gt_text.
           LOOP AT gt_fail ASSIGNING <fs_fail>.
             MOVE <fs_fail>-retry_count TO gv_count.
             CONCATENATE text-002
                         <fs_fail>-setting_id
                         text-003
                         gv_count
                         INTO wa_line SEPARATED BY space.
             APPEND wa_line TO gt_text.
             CLEAR wa_line.
           ENDLOOP.
           APPEND wa_line TO gt_text.
           wa_line = text-007.
           APPEND wa_line TO gt_text.
    *     create actual document
           gv_document = cl_document_bcs=>create_document(
                           i_type    = 'RAW'
                           i_text    = gt_text
                           i_length  = '12'
                           i_subject = 'Failed Precalculation Settings!' ).
    *     add document to send request
           CALL METHOD gv_send_request->set_document( gv_document ).
    *     --------- set sender -------------------------------------------
           gv_sender = cl_sapuser_bcs=>create( sy-uname ).
           CALL METHOD gv_send_request->set_sender
             EXPORTING
               i_sender = gv_sender.
    *     --------- add recipient (e-mail address) -----------------------
           LOOP AT s_email INTO wa_email.
             MOVE wa_email-low TO gv_email.
             gv_recipient = cl_cam_address_bcs=>create_internet_address(
                                               gv_email ).
             CALL METHOD gv_send_request->add_recipient
               EXPORTING
                 i_recipient = gv_recipient
                 i_express   = 'X'.
           ENDLOOP.
    *     ---------- set to send immediately -----------------------------
           CALL METHOD gv_send_request->set_send_immediately( 'X' ).
    *     ---------- send document ---------------------------------------
           CALL METHOD gv_send_request->send(
             EXPORTING
               i_with_error_screen = 'X'
             RECEIVING
               result              = gv_sent_to_all ).
           IF gv_sent_to_all = 'X'.
             WRITE text-004.
           ENDIF.
           COMMIT WORK.
    *   exception handling
         CATCH cx_bcs INTO gv_bcs_exception.
           WRITE: text-005.
           WRITE: text-006, gv_bcs_exception->error_type.
           EXIT.
       ENDTRY.
    with the following declarations
    * TABLES                                                               *
    TABLES:
       adr6,
       rsr_prec_sett.
    * INTERNAL TABLES & WORK AREAS                                         *
    DATA:
       gt_fail          TYPE SORTED TABLE OF rsr_prec_sett
                             WITH UNIQUE KEY setting_id run_date,
       gt_text          TYPE bcsy_text,
       wa_fail          LIKE LINE OF gt_fail,
       wa_line(90)      TYPE c.
    FIELD-SYMBOLS:
       <fs_fail>        LIKE LINE OF gt_fail.
    * VARIABLES                                                            *
    DATA:
       gv_count(4)      TYPE n,
       gv_send_request  TYPE REF TO cl_bcs,
       gv_document      TYPE REF TO cl_document_bcs,
       gv_sender        TYPE REF TO cl_sapuser_bcs,
       gv_recipient     TYPE REF TO if_recipient_bcs,
       gv_email         TYPE adr6-smtp_addr,
       gv_bcs_exception TYPE REF TO cx_bcs,
       gv_sent_to_all   TYPE os_boolean.
    * SELECTION-SCREEN                                                     *
    SELECT-OPTIONS:
       s_email          FOR adr6-smtp_addr NO INTERVALS MODIF ID sel.
    DATA:
       wa_email         LIKE LINE OF s_email.

  • I had iphone 3GS. How can I update iOS to 4.5.1 and NOT 6.0.1 (which made it stop working)?

    I'm not very tech savy im afraid.
    I'm not sure what OS i was using previously, but i made the mistake of letting itunes update to 6.0.1, the phone then restarted and got stuck in reactivate mode. I paid someone to sort it....ended up losing everything, contacts, apps and photos
    I didn't realise that the phone is now on iOS 4.1 and I can't seem to get any apps for it (line, skype etc).
    So, how can I update to a usable iOS like 4.5?
    thanks

    You can't.
    (72193)

Maybe you are looking for

  • Printing to pdf is blurry in Acrobat 9 Pro

    I'm running Adobe Acrobat 9 Pro.  When I print a PDF document using the Adobe PDF printer, the resulting PDF appear with blurry text and images.  Why is this, and how do I create a clear PDF?

  • Want to use current date in LSMW.

    Hi all, I want to give a current date in lsmw when we use. How can I map field so I can use sy-datum.

  • Delta control Mechanism

    Hi Experts, Can any one give full Information about Delta Control Mechanism: 1.How it works? 2.When Deltas are loaded from ODS to Cube,If I want to delete Delta Either from a Cube or from an ODS how it can be done. Thanx in Advance.

  • Problem configure linksys rage expander with dlink router

    Hi...I trait to configure my linksys rage expander with Dlink router, but it's impossible..beacuase ..when using the automatic configuration ..it not work fine and when use cd wizard setup..show the messages 'can't find any divice... Could any help m

  • [Solved] No printer setup module in KDE 4.1 System Settings

    I have cups installed, and gutenprint, but I really don't know how to use them outside of the normal KDE 4.1 gui. However, when I invoke "System Settings" I see no printer setup module in either the General or the Advanced tabs. Any ideas what I migh