Problem with Direct to DVD VRD-MC6: Playback width wrong

I made a DVD copy of a tape in my Sony Digital 8 Handicam DCR-TRV310, using an iLink cable, to my Direct to DVD VRD-MC6.  Play back of the DVD in my Sony Blue Ray DVD player BDP-BX510 on my Sony KDL-46WL140 Bravia TV was stretched width wise, distorted.  Adjusting the width setting on the TV did not fix it.  Play back from the camera directly to the TV is fine. Proper 4:3.  How do I fix this? Will the VRD-MC6 Direct to DVD make a proper 4:3 aspect ratio copy from my Digital 8 Handicam?
Solved!
Go to Solution.

Hi
Welcome to the Sony Community!
The picture display of your TV is depend on the external input resources.
Blu-ray Player ( BDP - BX510 )
Kindly perform the troubleshooting steps below:
1. Turn on your Blu-ray
2. Press Home button on your remote ( Blu-ray )
3. Go to Setup
4. Go to Screen settings
5. Select Screen Format > Change it to Normal.
If nothing change:
1. Go back to Screen Settings
2. Go to DVD Aspect Ratio
3. Select Pan & Scan
NOTE: When you choose the Pan & Scan option, the sides of the movie will be trimmed and it will display a
full – height picture on the entire screen of the TV.
NOTE : Kindly play your dvd into your computer ( if applicable ) to determine the aspect ratio of the recorded DVD disc.
IMPORTANT:  If you still have this issue perform the troubleshooting steps below for your TV.
Television ( KDL - 46WL140 )
Kindly check this  link   for the steps on how to troubleshoot picture looks too big or stretched.
If my post answers your question, please mark it as "Accept as Solution"
Thanks, ↔Dave

Similar Messages

  • Having problems with adobe premiere 8 freezing. cannot playback my videos. also, when i try to burn to DVD, does not recognize burner.

    having problems with adobe premiere 8 freezing. cannot playback my videos. also, when i try to burn to DVD, does not recognize burner. losing my work constantly cause of freezes and crashes.

    sunchick116
    Thanks for the reply.
    Anytime I am getting too far ahead, then let me know and we can work together on putting the essentials together for this troubleshooting.
    From your screenshot, you have a Windows 7 apparently 64 bit computer, lots of RAM. That computer would be great for Premiere Elements 11 Windows.
    But Premiere Elements 8 is only a 32 bit application running in the 32 bit compatibility mode of your 64 bit system. So all that RAM is excessive in a 32 bit system with its limitation of max supported installed RAM being 4 GB (of which 3 GB or less of that are available).
    So, the freezing and such could be explained by limited resources depending how much you have in the project when the freezing occurs and what formats are involved - like AVCHD. The burner not being recognized by Premiere Elements is probably another matter.
    Let us start here....another place where you could be getting hit on the resource side of things....
    1. Background Rendering and AutoAnalzyer features in version 8 are notorious for grabbing system resources. If you have them enabled, that could account for much of the program freezing. So, please make sure they are not selected.
    a. Background Rendering. In the Premiere Elements 8 workspace, go to Edit Menu/Preferences/General, and make sure there is no check mark next to Background Rendering option.
    b. AutoAnalzyer. In the Premiere Elements workspace, click on the Organizer tab in the row below the selected Organize header in order to open the Elements Organizer. In the Elements Organizer workspace, go to Edit Menu/Preferences/AutoAnalyzer Options and uncheck all the option under that.
    To get back to the Premiere Elements workspace from the Elements Organizer workspace, in the Elements Organizer workspace go to File Menu/Exit.
    For most of us, Premiere Elements 8 was unusable without the 8.0.1 Update. Did you install that? Have you ever worked successfully with your Premiere Elements 8 on the computer where it is now? And, was that with or without the 8.0.1 Update?
    Let us stop here and see how we are doing.
    Lots of other factors to get into including the burner recognition one.
    Thanks for looking at the troubleshooting comments.
    ATR

  • Problem with direction in a page(??????)

    Hi every body,
    I have a problem with direction in some page when i change the language to Arabic(right to left language).
    in some page like welcome page its completely true ,but in some page that i buile with my self (and add some portlet to it like :advanced search portlet)its directon does not appear properly,the label is appear in left, and text box appear in right(its not true).
    what can i do??????????????????
    please answer me :(

    This is not the right forum for your question. Try to post it in the Oracle Application Server Portal forum, or contact Oracle Support.
    Peter

  • Problem with Direct OC, i assume

    So recently during playing some games, such as Heroes of Newerth and Wow for the most part ive been experiencing some random spiking(especially around parts where some animations happen fast) in the games and when i tab out and check processes on *system manager?*(not sure if its that in english) Direct OC takes some serious amount of memory, allmost allways its around 50% of what my current game is taking. Im not really familiar with Direct OC's business so i usually just reboot it and keep doing what im doing, usually it helps the experience sometimes it doesnt. Also i have a second problem with Direct OC, well maybe not a problem but i assume its related to it. When i have Direct OC on and computer idles ~30mins or so with screen power saving or screen saver on the recovery from screen saving takes a little while to react with desktop or so, mouse keeps moving and all but cant really do anything. So when i thought it was an issue with Direct OC, i tried without it ending up with recovery not really happening...ever! Mouse keeps moving like usual but when i try to interact with anything nothing happens and at around 10-20clicks with mouse the whole OS just freezes and thats about it for it until i force boot comp. So im guessing with this problem Direct OC is actually boosting my cpu to overcome the recovery process from the saving, but im not really too familiar with all this so im trying my luck here now.
    My Build:
    Intel Core i5 759 2.67GHz
    MSI P55M-GD45 (MS-7588)
    XFX Radeon 5850HD 1024MB
    4GB of 1600MHz DDR3
    Win7 Ultimate

    Hello,
    Please check the following note which has details for handling customer specific fields in Direct input program.
    Note 44410 - Integrating cust.-specific fields in matl master
    Cheers!
    Sam Kandas

  • Itunes has detected a problem with your audio configuration Audio/Video playback may not operate properly

    I cant copy the music from itune library to iphone. Message "itunes has detected a problem with your audio configuration Audio/Video playback may not operate properly" I unistalled the itune from the pc and download the itune again but still same message come up.

    I'm having the same problem.  I have downloaded Itunes again but still the same problem.

  • Itunes has detected a problem with your audio configuration. audio video playback

    itunes has detected a problem with your audio configuration. audio video playback may not operate properly. Why do i get this after update cant get sound now please help!

    See if this article will help:
    iTunes for Windows plays video files without any audio
    http://support.apple.com/kb/TS1696

  • Problem with external LaCie dvd burner

    This is not strictly a Mac question but I have a firewire LaCie cd/dvd burner that has stopped recognizing any cds. When you insert a cd it clicks and the light blinks forever. It has no problems with dvds. Could this just need to have the lens cleaned or is it on its way out? Any thoughts would be appreciated. Thanks.
    Doug Campbell
    12" G4 iBook, 20" iMac G5 w/iSight, LaCie 250 GB, LaCie DVD DL   Mac OS X (10.4.8)  

    Thanks for responding, Miriam.
    I know that it would be better to talk to the manufacturer but it is extremely difficult to contact LaCie tech support now. One used to be able to just e-mail them a question but now it ain't that simple. Just thought I'd see if anyone else had a similar problem with a cd/dvd burner.
    Doug Campbell

  • Alignment problems printing direct to DVD with Epson R220

    I know this question isn't specifically related to iDVD but I wondered if someone could help please?
    I recently bought an Epson R220 printer to print direct to DVDs created with iDVD as I know labels stuck onto DVDs are best avoided.
    However, using both the bundled Epson Print CD software and 'disclabel', I find the print is about 1cm off centre. I'm really surprised by this, as I thought these machines would just work out of the box - detecting through the software where the centre of the DVD is? I've tried everything to remedy this (including the position adjustment within Print CD which allows up to 5mm fine-tuning). The problem is I need more than fine tuning - the print is way off!
    I'd be interested to hear from anyone who has an R200 or R220 and might have had a similar problem as I've spoken to Windows users with the same printer, who report no such hassle.
    Many thanks,
    Ant
    G5 2GHz dual, PowerBook G4   Mac OS X (10.4.7)  

    Thanks Hardy - really appreciate the links to the Epson site. I've tried using the manual settings as you suggest, and I've certainly witnessed a vast improvement. Basically, it seems that if I alter the position adjustment slightly and then opt for a manual print, the disc is centred no problem. It isn't quite up to the edge of the disc - there's about a 2mm gap, using one of the templates from the Print CD app. Have you noticed this also - or does the image print right up tight against the edge of the disc?
    If I go back and opt to just 'Print' from the first menu that appears after selecting File>Print, (i.e. not using Manual to print) the image is consistently about 15mm off centre - I've tried this on a dozen tests. However, using 'Manual Print' this isn't the case. I wonder if there is a glitch here in the latest edition of EPSON Print CD (V1.4), in that you seem unable to specify 'Page Set Up'?
    I've also gone back to the excellent disclabel application. Here I find that if I change the 90% default under page set up, to 100%, the disc is also aligned correctly.
    Thanks very much Hardy for taking the time to work through this one with me - much appreciated.
    Ant
    G5 2GHz dual, PowerBook G4   Mac OS X (10.4.6)  

  • Audio playback problem with HP mediasmart DVD player

    Hi I have just set up my computer and linked it to my tv with a HDMI lead, I have been able to toggle between my pc speakers and my tv speakers on programmes such as windows media player and other HP mediasmart programmes but when I use HP mediasmart DVD player - a DVD will allow me to change from pc speakers to HDMI but I cannot change to HDMI (TV) sound when playing a Blu-Ray disk. I have tried changing my defult to HDMI and its just not working when playing BLU-RAY disks. anyone got any ideas? i have all the latest updates (running windows 7)

    I have a ThinkPad T61p which I got one year ago. About one month ago the following problem suddenly appeared: When I want to play a DVD with WinDVD, I get the message "no valid Drive/Disc Found". When I eject and then start the DVD again, it takes about 4 minutes to start the DVD. Everything is very slow, the movie is croppy and I can often hear the laser head moving back and forward. I don't have any problems with other media like CDs or self printed DVDs with no region code and copy protection. I also have no problems with another DVD drive of the same kind (I have a DVD/CD-ROM drive). I tried to solve the problem with the troubleshooter (I have Windows XP), but nothing helped. My settings seem to be all right. Could anyone help me with this problem?

  • Problem with photos on dvd output

    Not sure where the kink is in my process, exactly, but maybe someone will have run into this before...
    i'm working with hi-res photos in my FCP sequences mixed with HDV video. I've been using the motion tab to resize and everything looks fine in final cut. When i use compressor to output the m2v file using the standard dvd presets, some of the stills have problems on the resulting file. not all of them look bad and it doesn't seem to be discriminating based on resolution of the original image file. I'm sure there's a good explanation, but the photos that get messed up seem to be random. some look great.
    In the .m2v file played directly off of QT, they sort of just look darker, like perhaps they are interlaced strangely or something and the even or odd rows are black. but when i use that file to burn a dvd in dvd studio pro, the resulting image looks crazy messed up. Anyone know how to wrangle this one? Thanks

    In case someone else runs into this problem, i did some extensive chatting with a final cut guru guy and all we could figure out is that i'm experiencing some sort of bug. that it shouldn't have been doing what it was doing. It started happening after my boss upgraded all of the studio software and quicktime to the latest versions. upon closer inspection, what was happening is that some of my photos were missing fields when exported as a qt, some weird byproduct of interlacing. we tried the settings all sorts of different ways and the problem did, indeed, go away when i changed the sequence to progressive, but i didn't want to sacrifice resolution of the rest of the footage just because of the problem with the few photos that were janky, so i found two workarounds that fixed the problem...
    1) using the de-interlace effect on just the photos that were giving me problems. it lowered the resolution, but not enough to make a difference and it looked good.
    2) using the motion blur effect. This filled in the missing fields and i did it at such an unnoticeable setting that it might have even looked better than the pictures i de-interlaced.
    If this jogs someone's brain as to what the actual problem was in the first place and you think it's not just a bug in the system, then i'd be interested to hear how to avoid the problem in the future.

  • Problems with Direct Entitlement API ( problems to download the issuenumbers and others)

    Hi there.
    Here we are using the last version of Direct Entitlement API , we had download on this url : http://www.adobe.com/devnet/digitalpublishingsuite/articles/direct-entitlement-starter-kit .html
    But We are getting some problems
    With https://dev01.cartacapital.com.br/adobe/api/entitlements.php?authToken=0fc82ad9b9c11703ad5 c8dee47d7ee26&appVersion=1.3.1&appId=468573252
    This api is modificated to show only the issuenumbers that I have the right to read.
    I'm getting this results
    <result httpResponseCode="200">
    <entitlements>
    <productId>com.editoraconfianca.revistacartacapital.edicao753</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao754</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao755</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao756</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao757</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao758</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao759</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao760</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao761</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao762</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao763</productId>
    <productId>com.editoraconfianca.revistacartacapital.edicao764</productId>
    </entitlements>
    </result>
    That's ok
    But on my Ipad ( for testing only) , show this entitlement on a first place, on top of my screen.
    1) Why does the app is showing others  entitlements too, like ( com.editoraconfianca.revistacartacapital.edicao752, 751 ...  ) ?
    2) When I try to download all the result in  my xml , is not allowed to donwload, but the ( com.editoraconfianca.revistacartacapital.edicao752, 751 ...  ) is allowed to download
    When I verify if I can download the issue ( https://dev01.cartacapital.com.br/adobe/api/verifyEntitlement.php?authToken=0fc82ad9b9c117 03ad5c8dee47d7ee26&appId=com.editoraconfianca.revistacartacapital&productId=com.editoracon fianca.revistacartacapital.edicao753&appVersion=1.0.34 )
    show this result
    <result httpResponseCode="200">
    <entitled>true</entitled>
    </result>
    But I can't do the download.
    Help Please.

    There is no license or serial number for the DVD installer.
    If you can get access to a Mac with a working DVD Drive, make the DVD into a .dmg file in Disk Utility and then copy the .dmg file onto a USB key and install onto your Mac from that.
    Peter

  • New HD, problem with Leopard install DVD, How to reinstall OS?

    Hi,
    My hard drive crashed. I'm travelling and am in a small village in rural India. No Mac shops around. I've managed to get a new HD (WD 80GB), now I'm having trouble with the installation of the OS.
    Although I have my data backed up onto an external HD, I don't have the OS itself backed up. I have my Mac OSX Leopard installation disk with me. I thought this would cover me for exactly this sort of problem. But it doesn't seem to.
    I've got the new HD in and it seems to be working. It's been formatted and it shows up ok when I boot up with the Leopard disk. I get past the question about language and accepting the licence terms.
    Then it goes into checking source disk mode. When it gets to about half way I get a message saying it can't continue, Disk is dirty and it needs to be cleaned.
    Well, I've taken it out and it looks ok. I don't see any deep scratches. Still, this has now happened twice.
    I tried to copy the disk on another PC but it returned a message saying 'corrupt files'. So it seems as though something is wrong with the disk, even though it's not apparent when you look at it.
    Now I'm stuck. My very original 10.4 disks that came with the machine are thousands of miles away, and inaccessible for all practical purposes.
    The Powerbook has been registered with Apple since I bought it years ago, although it's not eligible for support any more.
    1. Is there a way I can download the OS X I need to get the show back on the road, whether from Apple or from a third party?
    2. Which version of the OS do I actually need for a complete new installation?
    3. What can I do about my apparently damaged Leopard dvd? Although I'd prefer to continue with Leopard, it wouldn't really worry me going back to Tiger for the next few months till I'm back in Apple-Mac-land. The main thing is to get the computer running.
    Any help gratefully received.
    Elle

    In order to use a correct install disc, it would have to be either the
    version that shipped with the computer (when new) or a retail
    version newer than that which shipped with it, in order for the disc
    to function in the computer.
    In some cities, there are companies who resell CDs and DVDs
    and they have a machine or tool that helps polish out scratches
    so they can still make use of those discs; or at least not toss
    away a potential profit. There may be a company or computer
    user with the kit to polish scratches out of the readable side
    of a DVD or CD disc. (They sell these, in many countries, too.)
    +In the middle of nowhere, you may have to improvise; or find+
    +someone with basic skills and simple tools. If only a lightly+
    +scratched Installer disc is the problem, simple polishing skills+
    +would probably make it more readable to the laser in the Mac.+
    • How to fix a scratched DVD with items you may have at home:
    http://www.associatedcontent.com/article/67659/howto_fix_a_scratched_dvd_withitems.html
    • To fix a scratched DVD... (avoid toothpaste, etc.)
    http://www.yelp.com/topic/new-york-to-fix-a-scratched-dvd
    {a google of the topic may help, if you can access outside
    of just one region, and if google isn't blocked, etc.}
    Perhaps if the issue is only with the Leopard DVD install disc
    you have, it may be cleaned professionally. IF you go there,
    ask if there is a reduced fee for this (they polish the surface)
    if for some reason, it still won't work after they are done.
    In the states some shops that bought & sold DVDs & CDs
    would pay much less for scratched-up ones, & clean them.
    This would include the device or careful hand-power, to
    get the surface layer of plastic as unscratched as possible
    so the laser-beam reader can pass through the bad places.
    The idea of getting a downloaded version would be an illegal item;
    and also those methods often get you malware or virus laden junk.
    You could probably use the serial number of your computer and
    visit one of the 'info by serial number' online services, to see what
    version OS X your computer (and its original specs, build date, etc)
    would have shipped with; so as to get a newer OS X retail disc.
    That, if no other option were available.
    An unused (not currently being run in a computer) official OS X
    install disc, not one from a different computer model, and not
    one too old, since older or equal (ie: 10.4.2, for a mid-2005 iBook
    would require a newer than 10.4.2 retail installer for Tiger, etc.)
    So, you see there is some kind of logic to getting a disc newer
    than the one you don't have; or an exact replacement.
    Someone who no longer has need for or uses the correct version
    Installer could give or sell you their disc. But, a download is certainly
    not something we'll go further into, since it would be illegal.
    Sorry for the longish reply, it is going on 1AM here in the farther
    north western northern hemisphere; and I should be asleep.
    Maybe someone else will post a timely reply, given your location
    and time differences. A real city may have authorized Apple sellers
    with a service department or customer relations who may offer
    some advice in regard to other services available. But almost
    any place that can polish scratches out of a CD may be of help.
    And try to not act too anxious about it; that may add to the cost.
    Or a piece of fine chamois cloth (fine suede) and light rouge may work.
    Polish in a spoke-wheel pattern from the center; not all in one direction.
    And hope the optical drive isn't also dirty; as they eventually get that way.
    Some places that rent movies on DVD may be able to clean/polish DVDs.
    Good luck & happy computing!
    +{edited 3x}+

  • Problem with Installer and DVD drive

    I am having problems with my dvd combo drive reading discs. It keeps spitting them out. More importantly, I am trying to load Adobe Illustrator CS2 and cannot get all the wat through the installation proccess. Is there a patch I am not aware of??

    You could be looking at some kind of driver corruption issue (say if that sector on your hd had gone bad, or the file was dorked somehow). Have you done repaired permissions on the hd recently?
    Do all types of DVDs fail -- music, movies, and apps? If some work and others do not, then it could be a problem with a particular app.
    It never hurts to check the cables. Insufficient data or power can cause all kinds of problems.
    HTH,
    ~FifthWheel

  • Problem with Direct printing of PDF with Barcodes in R12

    Hi All,
    We are facing a problem in direct printing in EBS R12 with xml pdf reports which contains some barcode fonts. We are using fonts from IDAutomation for barcodes. Printing from request output is working fine. But when it is printed directly everything get printed other than the barcodes. Did anybody face this problem before and fixed it?
    Regards,
    Benny

    Benny,
    Output from XML Publisher comes out correctly. The barcodes are stripped off during pdftops conversion. Any idea?
    How did you verify the above?
    PASTA 3.0 Release Information (Doc ID 239196.1)
    BIP PDF Output Does Not Print MICRD Barcode Font - View Output Ok (Doc ID 747195.1)
    Thanks,
    Hussein

  • Problem with direct input program while uploading data into database

    TABLES:  BGR00,                        " Mappensatz
             BMM00,                        " MM01/MM02  BTCI-Kopfdaten
             BMMH1,                        " MM01/MM02 Hauptdaten
             BMMH2,                        " Länderdaten (Steuern)
             BMMH3,                        " Prognosewerte
             BMMH4,                        " Verbrauchswerte
             BMMH5,                        " Kurztexte
             BMMH6,                        " Mengeneinheiten
             BMMH7,                        " Langtexte
             BMMH8.                        " Referentielle EAN's
           Satztypen
    DATA:    MAPPENSATZ  LIKE BMM00-STYPE VALUE '0',
             KOPFSATZ    LIKE BMM00-STYPE VALUE '1',
             HAUPTSATZ   LIKE BMM00-STYPE VALUE '2',
             KUN_SATZ    LIKE BMM00-STYPE VALUE 'Z',
             LANDSATZ    LIKE BMM00-STYPE VALUE '3',
             PROGSATZ    LIKE BMM00-STYPE VALUE '4',
             VERBSATZ    LIKE BMM00-STYPE VALUE '5',
             KTEXTSATZ   LIKE BMM00-STYPE VALUE '6',
             MESATZ      LIKE BMM00-STYPE VALUE '7',
             TEXTSATZ    LIKE BMM00-STYPE VALUE '8',
             EANSATZ     LIKE BMM00-STYPE VALUE '9'.
    Common Data Bereich fuer die extern aufgerufenen Routinen
           Initialstrukturen
    DATA:  BEGIN OF COMMON PART RMMMBIMY.
    DATA:    BEGIN OF I_BMM00.
               INCLUDE STRUCTURE BMM00.    " Kopfdaten
    DATA:    END OF I_BMM00.
    DATA:    BEGIN OF I_BMMH1.
               INCLUDE STRUCTURE BMMH1.    " Haupdaten
    DATA:    END OF I_BMMH1.
    DATA:    BEGIN OF I_BMMH2.
               INCLUDE STRUCTURE BMMH2.    " Länderdaten
    DATA:    END OF I_BMMH2.
    DATA:    BEGIN OF I_BMMH3.
               INCLUDE STRUCTURE BMMH3.    " Prognosewerte
    DATA:    END OF I_BMMH3.
    DATA:    BEGIN OF I_BMMH4.
               INCLUDE STRUCTURE BMMH4.    " Verbrauchswerte
    DATA:    END OF I_BMMH4.
    DATA:    BEGIN OF I_BMMH5.
               INCLUDE STRUCTURE BMMH5.    " Kurztexte
    DATA:    END OF I_BMMH5.
    DATA:    BEGIN OF I_BMMH6.
               INCLUDE STRUCTURE BMMH6.    " Mengeneinheiten
    DATA:    END OF I_BMMH6.
    DATA:    BEGIN OF I_BMMH7.
               INCLUDE STRUCTURE BMMH7.    " Textzeilen
    DATA:    END OF I_BMMH7.
    DATA:    BEGIN OF I_BMMH8.
               INCLUDE STRUCTURE BMMH8.    " Referentielle EAN's
    DATA:    END OF I_BMMH8.
    DATA:  END OF COMMON PART.
    DATA: WA LIKE TEDATA-DATA.
           Einzelfelder
    DATA:    GROUP_COUNT(6) TYPE C,    " Anzahl Mappen
             TRANS_COUNT(6) TYPE C,    " alte Definition für rmmmbim0
             SATZ_COUNT  LIKE MUEB_REST-TRANC, " Trans.zähler neu
             H_IND_COUNT LIKE MUEB_REST-D_IND, " Index welches Feld zurücks.
             SATZ2_COUNT(6) TYPE C.    " Anz. Sätze je Trans. ohne Kopfsatz
    DATA:    XEOF(1)          TYPE C,  " X=End of File erreicht
             XHAUPTSATZ_EXIST TYPE C,  " X=Hauptsatz zum Kopf exi.
             NODATA(1)        TYPE C.  " kein BI für dieses Feld
    mk/15.08.94:
    DATA:    GROUP_OPEN(1)  TYPE C.             " X=Mappe schon geöffnet
    *eject
           Konstanten
    DATA:    C_NODATA(1)    TYPE C VALUE '/'.   " Default für NODATA
    DATA:    MATNR_ERW     LIKE MARA-MATNR  VALUE '0                 '.
    DATA:    MATNR_ERW_INT LIKE MARA-MATNR.  "internal sight of '0      '
    DATA:    MATNR_LAST    LIKE MARA-MATNR.  "Material number
    mk/11.08.94 2.1H:
    If this flag is initial, the database updates will be done directly
    during background maintenance instead of using a separate update
    task. (no usage of this flag in dialogue mode!)
    DATA: DBUPDATE_VB(1) VALUE ' '.       "note 306628
    data: matsync type mat_sync. "wk/99a no update in dialog if called
    ***INCLUDE ZMUSD070.
    TABLES: MARA,                          "Material Master: General Data
            MARC,                          "Material Master: C Segment
            MARD,                          "Material Master: St Loc/Batch
            MBEW,                          "Material Valuation
            MVKE,                          "Material Master: Sales Data
            MLGN,                          "Material Data per Whse Number
            MLAN,                          "Tax Classification: Material
            T001W,                         "Plants/Branches
            TBICU.
    DATA: BEGIN OF VALUTAB OCCURS 0.
            INCLUDE STRUCTURE RSPARAMS.
    DATA: END OF VALUTAB.
    DATA: BEGIN OF VARTECH.
            INCLUDE STRUCTURE VARID.
    DATA: END OF VARTECH.
    DATA: PARMS LIKE ZXXDCONV.
    DATA: REC_COUNT      TYPE  I,
          REC_COUNT_BAD  TYPE  I,
          ZJOBID         LIKE  TBIZU-JOBID,
          ZJOBCOUNT      LIKE  TBIZU-JOBCOUNT,
          ZMATNR         LIKE  MARA-MATNR,
          ZTEXT(80)      TYPE  C.
    CONSTANTS: LIT_ZERO(18)  TYPE  C            VALUE '000000000000000000',
               LIT_CHAR      TYPE  C            VALUE '_',
               LIT_CREATE    LIKE  BMM00-TCODE  VALUE 'MM01',
               LIT_CHANGE    LIKE  BMM00-TCODE  VALUE 'MM02',
               LIT_CHECK(1)  TYPE  C            VALUE 'X'.
    DATA:  BEGIN OF INP_DATA OCCURS 0,
             MATNR(18)  TYPE C,            " Material code
             UMREN(6)   TYPE C,            " Denominator
             MEINH(3)   TYPE C,            " Alternate UOM
             UMREZ(6)   TYPE C,            " Numerator
           END OF INP_DATA.
    *eject
    SELECTION-SCREEN BEGIN OF BLOCK INOUT WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (13) TEXT-004.
    PARAMETERS:     P_PC        RADIOBUTTON GROUP SRC DEFAULT 'X'.
    SELECTION-SCREEN COMMENT (6) TEXT-005.
    PARAMETERS:     P_UNIX      RADIOBUTTON GROUP SRC.
    SELECTION-SCREEN COMMENT (6) TEXT-006.
    PARAMETERS:     P_DS_TYP    LIKE     ZXXDCONV-DS_TYP
                                   DEFAULT 'ASC'.
    SELECTION-SCREEN END OF LINE.
    *SELECT-OPTIONS: S_PATH      FOR      PARMS-PATH
                                  NO INTERVALS
                                  LOWER CASE.
    PARAMETERS:  P_PATH TYPE RLGRAP-FILENAME.
    PARAMETERS:     P_HDRLIN   LIKE     ZXXDCONV-HDR_LINES
                                   DEFAULT 0,
                    P_JOBNAM   LIKE     TBICU_S-JOBNAME
                                   MEMORY ID BM1,
                    P_DI_EXE    AS       CHECKBOX
                                   DEFAULT  LIT_CHECK,
                    P_MAPPE     LIKE     BGR00-GROUP
                                   DEFAULT  'MRP_UOM_LOAD'
                                   NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK INOUT.
    *eject
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PATH.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                PROGRAM_NAME  = SYST-REPID
                DYNPRO_NUMBER = SYST-DYNNR
                FIELD_NAME    = 'P_PATH'
           CHANGING
               FILE_NAME     = S_PATH-LOW
                FILE_NAME     = P_PATH
           EXCEPTIONS
                MASK_TOO_LONG = 1
                OTHERS        = 2.
    AT SELECTION-SCREEN.
    Set up parameter record
      PARMS-UNIX      = P_UNIX.
      PARMS-PC        = P_PC.
      PARMS-DS_TYP    = P_DS_TYP.
      PARMS-JOBNAME   = P_JOBNAM.
      PARMS-MAPPE     = P_MAPPE.
      PARMS-HDR_LINES = P_HDRLIN.
    *eject
           Main Processing Routine                                       *
    START-OF-SELECTION.
    Initialization
      PERFORM 0000_HOUSEKEEPING.
    Initialize transaction data in I_BM00
    PERFORM 0500_INIT_BMM00.
    Process input files
    SORT S_PATH BY SIGN OPTION LOW.
         MOVE S_PATH-LOW TO PARMS-PATH.
          MOVE P_PATH TO PARMS-PATH.
    LOOP AT S_PATH.
       AT NEW LOW.
          CLEAR   INP_DATA.
         REFRESH INP_DATA.
    Read source data into internal table
          PERFORM 1000_GET_SOURCE_DATA TABLES INP_DATA.
    Processs each record in internal table
          ZTEXT    = TEXT-007.
          ZTEXT+13 = PARMS-DS_NAME.
          PERFORM 4000_PROGRESS_INDICATOR USING ZTEXT.
    Initialize transaction data in I_BM00
      PERFORM 0500_INIT_BMM00.
          LOOP AT INP_DATA.
    Reset tables for each record
            BMM00              = I_BMM00.
            BMMH1              = I_BMMH1.
            BMMH6              = I_BMMH6.
    Load structures with data
            MOVE-CORRESPONDING INP_DATA TO BMM00.
            PERFORM 2000_WRITE_OUTPUT USING BMM00.
            MOVE-CORRESPONDING INP_DATA TO BMMH1.
            PERFORM 2000_WRITE_OUTPUT USING BMMH1.
            MOVE-CORRESPONDING INP_DATA TO BMMH6.
            PERFORM 2000_WRITE_OUTPUT USING BMMH6.
            REC_COUNT = REC_COUNT + 1.
          ENDLOOP.
       ENDAT.
    ENDLOOP.
      IF  REC_COUNT GT 0
      AND P_DI_EXE  EQ LIT_CHECK.
        PERFORM 3000_START_DI_JOB.
      ENDIF.
    WRITE: / TEXT-008,
               REC_COUNT.
      PERFORM 9000_END_OF_JOB.
    *eject
    Include containing common routines used by direct input programs
      INCLUDE ZMUSD071.
    *eject
          FORM 0500_INIT_BMM00                                          *
          Initialize I_BMM00 with transaction code and views selected   *
    FORM 0500_INIT_BMM00.
    ***this changes done by samson**
    if not inp_data[] is initial.
    select single matnr from mara INTO ZMATNR where matnr = inp_data-matnr.
    if sy-subrc = 0.
      I_BMM00-TCODE = LIT_CHANGE.
    Basic data
      I_BMM00-XEIK1  = LIT_CHECK.
    else.
      I_BMM00-TCODE = LIT_CREATE.
    Basic data
      I_BMM00-XEIK1 = LIT_CHECK.
    endif.
    endif.
    **this changes above done by samson**
    Transaction code
    I_BMM00-TCODE = LIT_CHANGE.
    Basic data
    I_BMM00-XEIK1  = LIT_CHECK.
    ENDFORM.
    INCLUDE ZMUSD069.
    *eject
          FORM 0000_HOUSEKEEPING                                        *
          Initialization routines                                       *
    FORM 0000_HOUSEKEEPING.
      PERFORM 0010_LDS_NAME.
      PERFORM 0020_DS_NAME.
      PERFORM 0030_OPEN_FILE.
      PERFORM 0040_INIT_STRUCTS.
    ENDFORM.
    *eject
          FORM 0010_LDS_NAME                                            *
          Obtain logical file name from DI job details                  *
    FORM 0010_LDS_NAME.
    Check valid job name
      SELECT SINGLE * FROM  TBICU
                      WHERE JOBNAME EQ PARMS-JOBNAME.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA'
             EXPORTING
                  REPORT               = TBICU-REPNAME
                  VARIANT              = TBICU-VARIANT
             IMPORTING
                  TECHN_DATA           = VARTECH
             TABLES
                  VARIANT_VALUES       = VALUTAB
             EXCEPTIONS
                  VARIANT_NON_EXISTENT = 1
                  VARIANT_OBSOLETE     = 2
                  OTHERS               = 3.
        IF SY-SUBRC EQ 0.
          READ TABLE VALUTAB WITH KEY 'LDS_NAME'.
          MOVE VALUTAB-LOW TO PARMS-LDS_NAME.
        ELSE.
          MESSAGE I001 WITH PARMS-JOBNAME.
          MESSAGE A099.
        ENDIF.
      ELSE.
        MESSAGE I000 WITH PARMS-JOBNAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
          FORM 0040_INIT_STRUCTS                                        *
          Initialize structures for direct input records                *
    FORM 0040_INIT_STRUCTS.
    Start of standard SAP initialization from example program RMMMBIME
    *------- Write session record -
      CLEAR BGR00.
      BGR00-STYPE  = MAPPENSATZ.
      BGR00-GROUP  = PARMS-MAPPE.
      BGR00-NODATA = C_NODATA.
      BGR00-MANDT  = SY-MANDT.
      BGR00-USNAM  = SY-UNAME.
      BGR00-START  = BGR00-NODATA.
      BGR00-XKEEP  = BGR00-NODATA.
      PERFORM 2000_WRITE_OUTPUT USING BGR00.
    *----- Initialize structures -
      NODATA = BGR00-NODATA.
      PERFORM INIT_STRUKTUREN_ERZEUGEN(RMMMBIMI) USING NODATA.
    End of standard SAP initialization from example program RMMMBIME
    ENDFORM.
    *eject.
          FORM 3000_START_DI_JOB                                        *
          Start direct input job                                        *
    FORM 3000_START_DI_JOB.
      ZTEXT = 'Starting '(021).
      ZTEXT+9 = TBICU-JOBNAME.
      PERFORM 4000_PROGRESS_INDICATOR USING ZTEXT.
      CALL FUNCTION 'BI_START_JOB'
           EXPORTING
                JOBID                 = ' '
                JOBTEXT               = TBICU-JOBNAME
                REPNAME               = TBICU-REPNAME
                SERVER                = TBICU-EXECSERVER
                VARIANT               = TBICU-VARIANT
                NEW_JOB               = 'X'
                CONTINUE_JOB          = ' '
                START_IMMEDIATE       = 'X'
                DO_NOT_PRINT          = 'X'
                USERNAME              = SY-UNAME
           IMPORTING
                JOBID                 = ZJOBID
                JOBCOUNT              = ZJOBCOUNT
           EXCEPTIONS
                JOB_OPEN_FAILED       = 1
                JOB_CLOSE_FAILED      = 2
                JOB_SUBMIT_FAILED     = 3
                WRONG_PARAMETERS      = 4
                JOB_DOES_NOT_EXIST    = 5
                WRONG_STARTTIME_GIVEN = 6
                JOB_NOT_RELEASED      = 7
                WRONG_VARIANT         = 8
                NO_AUTHORITY          = 9
                DIALOG_CANCELLED      = 10
                JOB_ALREADY_EXISTS    = 11
                PERIODIC_NOT_ALLOWED  = 12
                ERROR_NUMBER_GET_NEXT = 13
                OTHERS                = 14.
      IF SY-SUBRC EQ 0.
        WRITE: / 'Direct input job'(022), TBICU-JOBNAME, 'started'.
      ELSE.
        WRITE: / 'Direct input failed with return code'(023), SY-SUBRC.
      ENDIF.
    FORM 0020_DS_NAME.
      CALL FUNCTION 'FILE_GET_NAME'
           EXPORTING
                CLIENT           = SY-MANDT
                LOGICAL_FILENAME = PARMS-LDS_NAME
                OPERATING_SYSTEM = SY-OPSYS
           IMPORTING
                FILE_NAME        = PARMS-DS_NAME
           EXCEPTIONS
                FILE_NOT_FOUND   = 1
                OTHERS           = 2.
      IF SY-SUBRC NE 0.
        MESSAGE E002 WITH PARMS-LDS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
          FORM 0030_OPEN_FILE                                           *
          Open physical file for output                                 *
    FORM 0030_OPEN_FILE.
    OPEN DATASET PARMS-DS_NAME FOR OUTPUT IN TEXT MODE. "thg191105
      OPEN DATASET PARMS-DS_NAME FOR OUTPUT IN TEXT MODE
                                     encoding default. "thg191105
      IF SY-SUBRC NE 0.
        MESSAGE E003 WITH PARMS-DS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
          FORM 1000_GET_SOURCE_DATA                                     *
          Read source data into internal table                          *
    -->  INP_DATA   " Name of internal table passed as parameter       *
    FORM 1000_GET_SOURCE_DATA TABLES INP_DATA.
      CALL FUNCTION 'Z_FILE_UPLOAD'
           EXPORTING
                UNIX                = PARMS-UNIX
                PC                  = PARMS-PC
                FILETYPE            = PARMS-DS_TYP
                FILENAME            = PARMS-PATH
                HDR_LINES           = PARMS-HDR_LINES
           TABLES
                DATA_TAB            = INP_DATA
           EXCEPTIONS
                CONVERSION_ERROR    = 1
                FILE_OPEN_ERROR     = 2
                FILE_READ_ERROR     = 3
                INVALID_TABLE_WIDTH = 4
                INVALID_TYPE        = 5
                NO_BATCH            = 6
                UNKNOWN_ERROR       = 7
                INVALID_SOURCE      = 8
                OTHERS              = 9.
    ENDFORM.
    *eject
          FORM 2000_WRITE_OUTPUT                                        *
          Write record in standard SAP structure to UNIX file           *
    -->  I_STRUCT   " Name of record passed as parameter               *
    *FORM 2000_WRITE_OUTPUT USING I_STRUCT."SRY28NOV05
    FORM 2000_WRITE_OUTPUT USING I_STRUCT TYPE ANY.      "SRY28NOV05
       TRANSFER I_STRUCT TO PARMS-DS_NAME.
      IF SY-SUBRC NE 0.
        MESSAGE E004 WITH PARMS-DS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
    *&      Form  2100_WS_DOWNLOAD
          text                                                           *
    -->  p1        text
    <--  p2        text
    FORM 2100_WS_DOWNLOAD TABLES INP_DATA.
    DATA: FILENAME LIKE RLGRAP-FILENAME.   "SRY28NOV05
      DATA: W_FILENAME TYPE STRING.             "SRY28NOV05
      DATA: W_FTYP(10) TYPE C VALUE 'DAT'.      "SRY28NOV05
    MOVE PARMS-DS_NAME TO FILENAME.       "SRY28NOV05
      MOVE PARMS-DS_NAME TO W_FILENAME.      "SRY28NOV05
    *BEGIN OF BLOCK COMMENT BY SRY28NOV05
    CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
            BIN_FILESIZE        = ' '
            CODEPAGE            = ' '
               FILENAME            = FILENAME
               FILETYPE            = 'DAT'
            MODE                = ' '
            WK1_N_FORMAT        = ' '
            WK1_N_SIZE          = ' '
            WK1_T_FORMAT        = ' '
            WK1_T_SIZE          = ' '
            COL_SELECT          = ' '
            COL_SELECTMASK      = ' '
       importing
            filelength          =
          TABLES
               DATA_TAB            = INP_DATA
            FIELDNAMES          =
          EXCEPTIONS
               FILE_OPEN_ERROR     = 1
               FILE_WRITE_ERROR    = 2
               INVALID_FILESIZE    = 3
               INVALID_TABLE_WIDTH = 4
               INVALID_TYPE        = 5
               NO_BATCH            = 6
               UNKNOWN_ERROR       = 7
               OTHERS              = 8.
    *END OF BLOCK COMMENT BY SRY28NOV05
    *BEGIN OF BLOCK ADDED BY SRY28NOV05
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                        = W_FILENAME
          FILETYPE                        = W_FTYP
        TABLES
          DATA_TAB                        = INP_DATA
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                        = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                    = 4
         NO_AUTHORITY                    = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                       = 17
         DP_TIMEOUT                      = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                          = 22.
      IF SY-SUBRC NE 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *END OF BLOCK ADDED BY SRY28NOV05
    ENDFORM.                               " 2100_WS_DOWNLOAD
    *eject
          FORM 4000_PROGRESS_INDICATOR                                  *
          Write progress text to status bar                             *
    -->  TEXT   " Text passed as parameter                             *
    FORM 4000_PROGRESS_INDICATOR USING TEXT.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
           EXPORTING
                PERCENTAGE = 0
                TEXT       = TEXT
           EXCEPTIONS
                OTHERS     = 1.
    ENDFORM.
    *eject.
          FORM 9000_END_OF_JOB                                          *
          Close files on UNIX                                           *
    FORM 9000_END_OF_JOB.
      CLOSE DATASET PARMS-DS_NAME.
    ENDFORM.
    FORM 1000_GET_SOURCE_DATA TABLES INP_DATA.
      CALL FUNCTION 'Z_FILE_UPLOAD'
           EXPORTING
                UNIX                = PARMS-UNIX
                PC                  = PARMS-PC
                FILETYPE            = PARMS-DS_TYP
                FILENAME            = PARMS-PATH
                HDR_LINES           = PARMS-HDR_LINES
           TABLES
                DATA_TAB            = INP_DATA
           EXCEPTIONS
                CONVERSION_ERROR    = 1
                FILE_OPEN_ERROR     = 2
                FILE_READ_ERROR     = 3
                INVALID_TABLE_WIDTH = 4
                INVALID_TYPE        = 5
                NO_BATCH            = 6
                UNKNOWN_ERROR       = 7
                INVALID_SOURCE      = 8
                OTHERS              = 9.
    ENDFORM.
    *eject
          FORM 2000_WRITE_OUTPUT                                        *
          Write record in standard SAP structure to UNIX file           *
    -->  I_STRUCT   " Name of record passed as parameter               *
    *FORM 2000_WRITE_OUTPUT USING I_STRUCT."SRY28NOV05
    FORM 2000_WRITE_OUTPUT USING I_STRUCT TYPE ANY.      "SRY28NOV05
       TRANSFER I_STRUCT TO PARMS-DS_NAME.
      IF SY-SUBRC NE 0.
        MESSAGE E004 WITH PARMS-DS_NAME.
        MESSAGE A099.
      ENDIF.
    ENDFORM.
    *eject
    *&      Form  2100_WS_DOWNLOAD
          text                                                           *
    -->  p1        text
    <--  p2        text
    FORM 2100_WS_DOWNLOAD TABLES INP_DATA.

    Hi,
    Thnaks for your reply, This is my requirement.
    Here my problem is i am trying to upload the data from flatfile which contain materil number, denominator, Actual UOM, Nominator field values.
    Which is the data i need to upload into MM02 and MM01, if material number is new then it has to create the material, if material is already existing it has to update the UOM values.
    here i am getting data into my internal table INP_DATA, from that i am trying to upload the data to database by using job name MRP_MATERIAL_MASTER_DATA_UPLOAD with direct input program RMDATIND.
    when i execute my program i am getting success message all the records writtin from flatfile to application server. and job started message.
    then if i go into sm37 screen there i execute the job it is also giving active message. if i refresh it it is showing job completed message.
    then i look at job log status. there i found that for existing material it is expecting material type, for new material it is giving some gravity error.
    So could u help me in this it will be gr8.
    Thanks & Regards,
    RamNV

Maybe you are looking for