Problems to change BOM using RCSBI020  program

Hi all,
I need to change some BOMs, in particular I have to put 0 in filed "Lead-time offset" for every Items. I created an LSMW to do this and it works fine, it creates a batch-input session but when i run the session it delete my items instead of change them. I saw that happen because in FCODN filed the program put 03 instead of 02... I was not able to fill the structure in order to fill FCODN with 02...
May be someone already had my same problem?
Thanks
GN

Hi,
i found the solution on my own in firm this morning.
For setting a new Format you first have to find all the supported formats with
Format[] formats = camInfo.getFormats().
camInfo is instance of CaptureDeviceInfo. After this i need a MediaLocator for my camera.
MediaLocator ml = camInfo.getMediaLocator()
With ml you have to create a DataSource with the Manager.
DataSource source = Manager.createDataSource(ml);
The next thing you need is a list of all FormatControls. I think you need this, because you need the correct FormatControl instance for the Format you want to set later.
FormatControl[] formatControls = ((CaptureDevice)source).getFormatControls();
Now you should have all you need to set a Format of your choice. Choose a Format out of formats[] you want to set. Save it in some variable. In this example i use the Variable myFormat. Now you have the Format you want to set. In the next step you have to find the compatible FormatControl for your wanted Format. To find it, you have to search the formatControls Array.
Format finalFormat = null;
for (int i = 0; i <formatControls.length; i++) {
if (formatControls[i] == null)
continue;
if ((finalFormat = formatControls.setFormat(myFormat)) != null)
break;
If formatControls[i].setFormat(myFormat) doesn't return null, you found the campatible formatControl for your Format and set the Format.
All you have to do now is to connect to the source, create a Player and do whatever you want to do with it.
Player player = null;
try {
source.connect();
player = Manager.createPlayer(formattedSource);
} catch (Exception e) {
e.printStackTrace();
I hope this will help anyone. Owens code (http://forum.java.sun.com/thread.jspa?threadID=570463&tstart=50) is really great and helps a lot, thanks for this, but i didn't find out how to change the resolution for the camera. Maybe i was just too stupid to find it :-) With Owens code i could solve all the other problems i had.
Have fun with this
Markus

Similar Messages

  • Hello i have a problem  i can not use adobe programs. The payment for the month march is not be payed, but i will pay the payment.I can not found where i can do that. Also i see that my membership is stopped.

    Hello i have a problem  i can not use adobe programs.
    The payment for the month march is not be payed, but i will pay the payment.I can not found where i can do that. Also i see that my membership is stopped.

    Try the not-charging topic of:
    iPod touch: Hardware troubleshooting
    It could be that the battery is dead.

  • Problem while Creating BOM using LSMW Direct Input

    Hi  all ,
    I am trying to create the BOM Using LSMW Direct Input Method .
    I am getting problem at step 9 that is Read Data.
    It is able to read the values from header and item files .
    but it is not able to write , so the Written is 0 always .
    I put the field names first in the flat file and correcponding values below it with tab delimited.
    Please let me know where the Problem would be.... I am trying this from long time ..
    Regards ,
    Raj

    hi ,
    Yes i am specify files i am attaching 2 files .
    ones is header and the other is line item data .
    my strucure is :
    Hi ,
    I am still getting problem while for writing the records after reading the data .....
    my header structure :
    STYPE
    MATNR
    WERKS
    SELAL
    STLAN
    DATUV
    ZTEXT
    my item structure :
    STYPE
    MATNR
    WERKS
    SELAL
    POSTP
    MENGE
    my header data :
    STYPE     MATNR     WERKS     SELAL     STLAN     DATUV     ZTEXT
    1     388     0110     20     1     06.01.2009     SAMPLE ZTEXT     
    my item data :
    STYPE     MATNR1     WERKS     SELAL     POSTP     MENGE
    1     388     0110     20     N     1234
    1     382     0110     20     N     12345
    Above text files are delimited by tabulator.
    Please guide me . The files are reading but unable to write .....
    Regards,
    Raj

  • Problem in changing PR using BAPI With Error User already processing  PR

    Hello Experts,
                          When i am using BAPI_PR_CHANGE,  to change PR . Since i have many number of PRs to be changed in , i am running the program in background . Issue now is that i am getting already PR is been changed (processed) by User(myself), so changes cannot be made and stooping the process of change. I am using  BAPI_TRANSACTION_COMMIT with WAIT also. but i coukd not change the PR in background. How can i over come this problem? How the lock entries shall be removed fast so that next PR is changed.
    Please help me out experts.
    Thanks in advance

    Hi,
    What you can do is through yur program ENQUEUE the pr then used bapi (along with commit)and then DEQUEUE the PR.
    This way yur locking problem will not come.
    Hope it helps.
    Regards
    Hiren K.Chitalia

  • Problem Sending Verizon Mail Using Mail Program

    I have not had a problem sending Verizon mail from my Mail program prior to Mavericks.  Now it is giving me fits. I do not have any troubke receiving mail. 
    This is what I get when I try and send mail through my Verizon account.  Do I just check Always Trust and then Connect.  There have been no Certificate issues prior to Maverick.  What is going on?   I did not get anything like this yesterday before I upgraded to Mavericks.

    This is what I get when I try and send an e-mail using my Verizon account in mail.
    Message was edited by: Stamper

  • Problem to change Bom?

    Hi,
    Beacuse raw material be replaced, I need change the BOM.
    When I use T-code cs02 to operate, I find that "valid from" and "valid to" is disabled, I can't change it.
    If I directly change the material in the BOM, the changed of  BOM is activated at once, but I hope the BOM become effective on the specific date.
    Please give me the guide?
    Thanks & best regards
    Zhigang

    HI
    what you mentione dis write, it takes immediate effect,
    if you want the validity you need to use Change mangement.
    Engineering Change Management is a central logistics function that can be used to change various aspects of production basic data (for example, BOMs, task lists, materials, and documents ) with history (with date effectivity) or depending on specific conditions (with parameter effectivity).
    A change with history has the following distinctive characteristics:
    It takes effect under precisely defined conditions (precise date or specific effectivity parameter value).
    The changed object is saved twice: in its state before and after the changes.
    A change master record or ECR/ECO controls and documents the changes.
    Choose Logistics --> Central functions -->Engineering change management --> Change master -->Create.
    The Create Change Master: Initial Screen appears.
    Enter an change number.
    Do not enter anything if you want the system to assign a number itself
    Select the type:
    Change master
    Select the change master record's function:
    Without release key
    enter-> write descriptin, valid date , change number status,then you get the object types select tick for active and object for you required data(ex BOm or routing) and click onobject F7, and enter the BOM materi code and save.
    -ashok
    Edited by: Ashok Keerthipati on Nov 25, 2008 12:05 PM

  • Change username using SUBMIT program USER via jobname command

    Hi experts,
    I have this scenario wherein the user is doing PGI cancellation in VL09, within the userexit I'm using CALL FUNCTION 'FB08' to reverse the FI document of the particular delivery order in process.
    However, some users wont have any authorization for FB08.
    Let's say user 'ABC' is doing the VL09, would this command: SUBMIT program USER 'BIZTALK' via jobname etc... actually change the username from user ABC(without authorization) to user BIZTALK(with authorization) so that no authorization failure would happen?
    Thanks in advance!

    Hi,
    You can try with similar piece of code as mentioned below to call VL09 report:
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        USER user
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Thanks & Regards,
    Harish

  • Problem in changing HOTKEYS using fmrweb.res in Forms 10G

    Hi
    i am working on ORACLE FORMS 10g.In our requirement the Hotkey for Save Button is F9 , Add Button is F8, Exit is F5.I changed these values in the fmrweb.res but F9 Key for Save is not working.I used the command Save for F9 then later changed it to commit..but still no change..could someone throw some light on this issue?

    since it was sunday i couldnt check in office yesterday.its the single file i have got fmrweb.res .it s english installation and some other keys which i have changed do work for me.for example for exit i needed F4 hotkey so i changed it in this file and it works good.its only for save-F9 and find F4 it does not work.it would be of great help if someone could post that fmrweb.res file.

  • I want to play video on my computer to make some analysis to frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program

    HI All
    I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
    I used IMAQ AVI Read Frame VI
    for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisition

    Hi abdelhady,
    I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
    There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
    Thank you,
    Emily C
    Applications Engineer
    National Instruments

  • SS2 - Problems Changing to this using the Program ...

    Just an annoying little bug, if I change to this channel (42) using the Program button on the remote it quite often greets me with the "Insert Viewing Card" message. However if I key the channel directly using the numbers it works OK every time - anyone else come across this?
    Solved!
    Go to Solution.

    May be this:  http://bt.custhelp.com/app/answers/detail/a_id/142​55/session/L3NpZC9XQUR0bWk3aw==/c/348

  • Problems using the Program Monitor

    Dear Premiere users,
    I recently bought Adobe Premiere CS3 and i'm having problems using the Program Monitor.
    I cant see anything off screen. It just wont show anything if its outside the boundaries of the screen. I can adjust the zoom level but that wont change anything even if i set it to full screen.
    Another problem I'm having is that it wont show motion paths or clip handles. Even if I make a motion path in the Effects Control window it wont show the path in the Program Monitor.
    I really appreciate any advice on this because it drives me crazy. I already tried installing it again but that wont solve the problem.
    Thanks in advance.
    Greetings,
    Peter

    First of all I hope you are being sarcastic Jim. Sorry for being not that clear but I'm not stupid :).
    Craig Howard is right. I thought that the Program Monitor was similarly to AEFX. But I suppose I was wrong on this one? So you cant get something to display outside the image area? If I place a clip outside the project dimension it just disappears in the Program Monitor.
    And about the motion paths. I thought I read in the Premiere help files that they do show up in the Program Monitor. The topic says: "Adjust position, scale, and rotation" or "Animate motion in the Program Monitor ". There are pictures over there that show clip handles and motion paths in the Program Monitor. Clicking the effect wont do anything for me. Its like my video driver cant get them to show or something.
    Edit: I found a tutorial here:
    http://digitalproducer.digitalmedianet.com/articles/viewarticle.jsp?id=26660&afterinter=tr ue
    They are dragging frames off screen and are using the handles and borders around the frame to adjust them. So I guess it should be possible, but how?
    Thanks for the help.

  • Change a query variant using a program for APD

    Hello everyone,
    Some background:
    We have a complex reporting based on calculated key figures (CKF). However, the business rules do change over time, and the formulas for CKF get outdated. So the business meaning of CKF remains the same, but the way it gets calculated - changes.
    Yesterday CKF "A" = B + C
    Today CKF "A" = B + D - F
    Since the customer requires reporting for the former periods, maintaining several CKF of the same business meaning but calculated differently for each period becomes a problem.
    Instead of having several versions of CKF "A", we decided to use APD, to periodically run the query with valid CKF, save the query results to transactional ods, then move it to another infocube. Now we will have the infocube with figures and dates, and the customer needs to maintain just one CKF "A".
    After trying this out we've encountered following issue:
    Since the query will run periodically we must use a time period filter (in fact - variable on a time characteristic - APD is not working with filter) to select CKF valid for this month for example.
    The query in APD can work with variables only via query variants.
    Now, the question is how to change the query variant automatically?
    We can not force the customer to create new query variants each month for dozens of reports.
    We plan to integrate APD in the process chain (although we haven't check how it works), where the query variant will be changed using a program.
    so please advice:
    1) is there any function module to change query variants in the background
    2) which tables contain the query variant, so we can change it using abap
    3) may be you can suggest other options to make it work
    thank you
    Message was edited by:
            Northern

    Hi,
    here it is.
    write this code in SE38.
    REPORT  ZDATE_CAL..
    DATA: itab_tvarvc like tvarvc,
          l_date like sy-datum,
          l_monthyear_low type /BI0/OICALMONTH,
          l_monthyear_high type /BI0/OICALMONTH,
          l_day(2) type c,
          l_month(2) type c,
          l_year(4) type c,
          l_mandt(3) TYPE c VALUE '010',
          l_type(1) type c VALUE 'S',
          l_numb(4) type N value '0000'.
          l_day = sy-datum+6(2).
          l_month = sy-datum+4(2).
          l_year = sy-datum+0(4).
          concatenate l_day l_month l_year into l_date.
          concatenate '01' l_year into l_monthyear_low.
          concatenate l_month l_year into l_monthyear_high.
    variable for current month interval
    itab_tvarvc-mandt = l_mandt.
    itab_tvarvc-name  = 'ZDATE_INV'.
    itab_tvarvc-type  = l_type.
    itab_tvarvc-numb  = l_numb.
    itab_tvarvc-sign  = 'I'.
    itab_tvarvc-opti  = 'BT'.
    itab_tvarvc-low   = l_monthyear_low.
    itab_tvarvc-high  = l_monthyear_high.
    update TVARVC from itab_tvarvc.
    This code will always maintain the entry for the variable 'ZDATE_INV' as range from the start of month till current month.
    you can modify it store anything yuou want.
    Now when creating the variant by clicking the create variant option when running the query.
    you have the option in the "selection variable" column here you will find only TVARVC table as option select it and then in "name of variable" use the Z variable you have just created.
    This will automatically pick the current value for the variant for that variable.
    So anytime the variant is used in any of the scheduling it will pick the inout from here.
    make sure that the variable for time interval is of same type as that of the entry in the TVARVC table.
    That if it is of type calmonth then TVARVC table should have variable entry of type calmonth.
    thanks

  • I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (114957)

  • HT204053 i want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is

    I want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is valid.  I cannnot delete the account because "find my iphone" wants the password linked to this old account.  But when i go into the find my iphone app it is using my corect Apple ID.  How do i fix this?

    If you still have access to your old email address, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email account and verify it.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  You can now go to Settings>iCloud and sign in with your correct iCloud ID and password.
    If you don't have access to your old email address, you will have to contact Apple to have them reset the password so you can disable Find My iPhone and sign into your iCloud account.  You can either go to https://expresslane.apple.com, select "More Products and Services", then "Apple ID", then  on the next page select "Other Apple ID Topics", then "Lost or forgotten Apple ID password" and click "Continue"; or you can contact Apple Support (http://www.apple.com/support/icloud/contact/).

  • Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.

    Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.
    If a shortcut is used while Firefox is already open the error does not occur.

    As reported in earlier replies, the annoyance disappeared after I upgraded to Roboform 7.5.6, from 7.5.4.
    Regards, Steve

Maybe you are looking for