Hvr-1600 unable to get clear picture
Thank You in advance for reading my post!
I have been for over a year now, on and off trying to get my hvr-1600 to work under Linux. In the past i have tried MythTV, YaVDR, tvheadend, VDR, all installed on different versions and distributions of Linux. Some i get no video at all some i get fuz i have read almost every webpage that has cx18 or hvr-1600 on it but can not figure it out. Recently i have made the attempt again. Here is were i am now:
- Fresh install of Arch with base and base-devel and only a couple additional packages.
- tvheadend-git v3.5_225 from Arch AUR
- v4l-utils 0.9.5-2
- ivtv-utils 1.4.1-5
I would like to build a headless recording box. I currently just have a DVD player connected to the svideo port on the hvr-1600 playing the menu of 24 tv show. Through many tutorials i have been able to force the card to use the svideo port via the command "v4l2-ctl --set-input=1 --set-standard=1" which has got me to see the attached screen capture. I have used ivtv-tune to swich frequency's manually with no change to the picture. I use the command lines only because i can't figure out how to set these within the tvheadend website. I see no option to pick the input nor do i understand how the minimum frequency is 10000 but when i set it using ivtv-tune it shows 625.200 or something like that. Anyway i have attached some additional command exports so you can see logs and initialization logs that might give you more insight into what might be going on.
Any help is appreciated my only option for this card to work right now is Windows 7 and it works perfectly and that just makes me sick... LOL
https://tvheadend.org/boards/4/topics/8996
This link is to where i posted the same question to the tvheadend.org forum and it has some attachments that provide more info. Not sure how i can attach them here.
I had a response from someone on the TVHEADEND.ORG site and wanted to update this post:
***FROM OTHER SITE****
I have no idea how to use this card but -
What are you planning on using it to record, analogue TV, svideo, digital TV or all?
While you are testing with s-video trying to tune doesn't make sense.
Your log shows -
[ 1633.356655] cx18-0 843: Detected format: NTSC-M
[ 1633.356658] cx18-0 843: Specified standard: PAL-BDGHI
so maybe try a different --set-standard= for the s-video test.
*** My Response ***
Thanks for the response.
All i want is something that i thought would be very easy. I have a Bell Satellite TV and i just want to record through the svideo connection off of the satellite receiver. Just analogue svideo don't need to pause or stop or epg just raw signal recording.
The tuning using the svideo was something i was trying to see if it would make a difference it came to me because what is being displayed reminds me of when my dial TV (ya i remember using a dial) was just a bit off. Also from when i would connect my VCR (YA YA) and it had the CH3-CH4 switch on the back and had to make sure the TV was on the correct channel or it would not work.
I tested all of the different standards with no success. Thank you for the idea i never thought of testing all of them i just automatically switched it to NTSC.
Thanks Again and i welcome any suggestions!!
Similar Messages
-
My hard drive crashed on my macbook pro so i had a new one installed and they couldn't get my pictures off. I dont want to lose all my memories! They gave me back my old hard drive. Is there anyone that could help me?
I think how you understand the value of having backups. All you can do is:
General File Recovery
If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as MAC Data Recovery, Data Rescue II, File Salvage or TechTool Pro. Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive. Two free alternatives are Disk Drill and TestDisk. Look for them and demos at MacUpdate or CNET Downloads. Recovery software usually provide trial versions that enable you to determine if the software would help before actually paying for it. Beyond this or if the drive has completely failed, then you would need to send the drive to a recovery service which is very expensive.
The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
Also visit The XLab FAQs and read the FAQ on Data Recovery.
You will need an external enclosure for the old drive so you can connect it to the computer in order to try the recovery software before you buy it. But if they don't work then you will need to send the drive to a recovery service such as Drive Savers. -
I am in need of assistance with syncing photos on my iPod onto my laptop. Had to replace the hardrive on the laptop and I'm unable to get the photos synced from the iPod.
- If the photos were taken by or saved to the iPod just use the computer's camera/image capture software to get them from the iPod.
- If the photos were synced to the iPod you need a third-party program such as PhoneView of TouchCopy. -
AppleTV only gets clear picture on HDMI 1, HDMI 2 and 3 are dull pictures
My new AppleTV works fine but only in HDMI 1. Both HDMI 2 and 3 are a very dull picture. I've got a Panasonic 42" plasma. TV looks dull when plugged into HDMI 2 and 3 also. What am I missing?
I couldn't have 2 bad inputs could I?
Your help is appreciated.
Cheers
mrjazzDoes the Panasonic support different Picture Settings for each input - a desirable feature but which could cause confusion.
Are HDMI 2 and 3 inputs set for Cinema or Eco mode or similar, rather than Normal or Dynamic (I think these are the names)?
Brightnes/colour/contrast may all be independently adjustable too, if settings are adjustable for each input ensure they're identical before making comparisons.
Cinema mode will look washed out comapred to normal/dynamic but is often regarded as mre faithful and less saturated but it all boild down to personal preference. -
I had OS Maverick and downloaded OS X Yosemite and then cleared the mistakenly cleared the hard-drive while trying to re-download OS Maverick and now should I re-download OS X Yosemite in attempts of getting the pictures, videos, and documents back?
No; try using a data recovery product such as the ones listed here. Don't write anything else to the drive until the files are recovered or you choose not to recover them.
(120682) -
I am a residential appraiser and recently purchased an ipad 4 to use for my home inspections. Some homes are foreclosed poperties without power and I am unable to get a good interior picture without a flash. Does anyone know of a flash attachment for the ipad 4? I found a flash attachment for the ipad 2, but it does not work with the ipad 4.
I'm sorry to hear that.
I'm not affiliated w/ the developer, just a happy user that gave up fighting the apple podcast app a while ago. I used to have a bunch of smart playlists in itunes for my podcasts, and come home every day and pathologically synced my phone as soon as I walked in the door, and again before I walked out the door in the morning.
Since my wife was doing this too, we were fighting over who's turn it was to sync their phone.
Since I've switched to Downcast, I no longer worry about syncing my phone to itunes at all. I can go weeks between syncs.
Setup a "playlist" in downcast (ex., "Commute") and add podcasts to that playlist. Add another playlist ("walk" or "workout") and add different podcasts to that one.
Set podcast priorities on a per-feed basis (ex., high priority for some daily news feeds, medium priority for some favorite podcasts, lower priority for other stuff). Downcast will play the things in the priority you specify, and within that priority, it will play in date order (oldest to newest).
Allegedly, it will also sync your play status to other devices, although that is not a feature I currently use and can't vouch for. It uses apple's iCloud APIs, so to some extent may be limited by what Apple's APIs can do. -
Can anyone recommend an alternative software programme to Pages? I have an OS X 10.7.5 macbook pro, so I am unable to get it. I want a programme that I can create docs with pictures and text on, invitations, posters etc. Many thanks in advance…..
LibreOffice
-
I updated my phone and it cleared everything on it and I don't have an icloud or itunes backup. Please help I need to get my pictures and information back
Sorry, but without a backup in iCloud or iTunes on your computer, your data is gone and can't be restored anymore.
-
I just purchased a mac air and cannot figure out how to get my pictures from my toshiba windows to the air into iphoto and I also cannot get my library of music and apps to get to the mac air as well. Each time I try to synch it tells me it will repace my ipad and iphone with the blank library from the new air. How do I get my music, apps and photos to the air. I just subscribed to imatch and it charged me and only has 600 of my 2,000 songs!
You must move your photos and music from your Toshiba to your MBA directly, not using the iPhone. The Migration Assistant app on your Mac will help.
-
I have a cracked iPhone 4. It still works, but the body is cracked and I cannot see the screen. I want to get my pictures off before I sell it. I have a Microsoft Surface RT and cannot download iTunes, and I cannot unlock my phone because I cannot see the screen. Any suggestions?
The solution would have been to back up your photos to your computer before the screen broke.
It's too late now. But you'll know for next time. -
How to get CLEAR photos on the Touch?
I love my iPod touch, but there's one thing that has always bothered my - photos sync'd through iPhoto-->iTunes are grainy and have bad color. Until now, I've been unable to prove this - but finally I've found a way to prove that it's not just in my head. So, I'm wondering if anyone knows a way to get clear photos on the Touch ... ?
First of all, after using the app "PhoneView" to download my sync'd pictures from my iPod BACK to my Mac, I've noticed that the resolutions are different for pictures, depending on whether their orientation is portrait or landscape. For portrait 4x6 images, the resolution is indeed 480x320. However, for landscape orientation, the resolution is consistently 640x426. I think it's kind of odd that iTunes would be sizing photos differently depending on their orientation ... I usually have my full-resolution pictures in iPhoto and sync those images through iTunes, but today I also tried manually resizing my pictures to 640x426 (landscape) and 480x320 (portrait) and then syncing them as a folder, rather than through iPhoto. The results were the same as doing it through iPhoto: disappointing. I've put together a sample, below:
!http://www.mavisxp.com/ipod/iTunes_compression.png!
and another example here.
As you can see, even the manually resized images are turning out horribly grainy. What's even more disappointing than the image quality, however, is the file size: my original JPG is 84KB, but the iTunes' "optimized" JPG is five times as large (456KB) with inaccurate color and awful grain to boot. I mean, it looks like someone dribbled a basketball all over a glossy print (seriously, that grain's pattern is an exact match with the grain on a basketball) ... Is it supposed to look like that?
+After examining the EXIF data for both pictures, I've noticed another oddity which explains the bad color at least - when iTunes 'optimizes' pictures for the iPod, it apparently assigns them your monitor's color profile! Was this just an oversight that has yet to be corrected? When I export my pictures from Lightroom to iPhoto, I always use the sRGB profile because it's the most standard profile to use when sharing pictures (posting online, emailing, etc) ... My iMac's color profile is a custom Spyder2Pro profile, but that profile is only accurate for THIS MONITOR - certainly not my iPod! Anyway, I've uploaded the original pictures if anyone is interested in checking them out - you can download them in a zip archive here.+
This is the second iPod I've noticed grainy pictures with, so I know it's not just defective hardware. So I guess my question is simple: does anyone know of ANY way to get clear photos sync'd with the iPod Touch or iPhone? I've poked through plists in iTunes.app and preferences, etc - but I haven't found anything. Any ideas?Thanks for the reply, Duddo.
I guess you're right, Apple probably just wanted to simplify the syncing process and make it consistent for all users. And no, most users probably won't notice that awful grain and poor color reproduction.
That said, I think it's a real shame to waste the capabilities of the iPhone/Touch like this. Wasting storage space is asinine (increasing file size 5X when 'optimizing'?!) not only due to the limited storage space available in the first place, but also due to the fact that smaller files are quicker and easier to load and manipulate. Overwriting color profiles is just sloppy coding, an oversight - hopefully one they'll soon fix. But the biggest problem for me is that the pinch/zoom functionality is USELESS because if you zoom in at all, the grain is so blatantly obvious. I found an old discussion thread on another forum which mentions this problem, according to several posters there, the grain problem was introduced AFTER the iPhone launched (meaning it can likely be corrected in a firmware update or an iTunes update) ... You can check out that discussion here, if you're interested:
http://www.everythingicafe.com/forum/iphone/not-optimize-photos-8264.html
Anyway thanks again for your reply. I'll keep my eye on this thread and if I hear anything about this issue (or a workaround) I'll be sure to post it! -
Unable to get Material No and Description from VBAP
Hi Gurus
Can anyone please help me to get material number and description from vbap table, The report is fine but I am unable to get material no and description.
regards
report ZCHGDOC_BY_SALES no standard page heading
line-size 132.
type-pools:
slis. " ALV types
Tables
tables:
cdhdr, " Change documents: Header
cdpos, " Change documents: Items
vbak, " Sales order: Header
mara, " Material No
user_addr, " User Address
vbap. " Contract order: Items
Types
types:
begin of ty_cdhdr,
objectclas like cdhdr-objectclas, " Object class
objectid like cdhdr-objectid, " Object value
changenr like cdhdr-changenr, " Document change number
username like cdhdr-username, " Changed by
udate like cdhdr-udate, " Changed on
utime like cdhdr-utime, " Changed at
tcode like cdhdr-tcode, " Transaction code
end of ty_cdhdr,
ty_it_cdhdr type ty_cdhdr occurs 0,
begin of ty_cdpos,
objectclas like cdpos-objectclas, " Object class
objectid like cdpos-objectid, " Object value
changenr like cdpos-changenr, " Document change number
tabname like cdpos-tabname, " Table name
tabkey like cdpos-tabkey, " Table key
fname like cdpos-fname, " Field name
chngind like cdpos-chngind, " Change indicator
value_new like cdpos-value_new, " New value of field
value_old like cdpos-value_old, " Old value of field
end of ty_cdpos,
ty_it_cdpos type ty_cdpos occurs 0,
begin of ty_dd03l,
tabname like dd03l-tabname,
fieldname like dd03l-fieldname,
as4local like dd03l-as4local,
as4vers like dd03l-as4vers,
rollname like dd03l-rollname,
end of ty_dd03l,
ty_it_dd03l type ty_dd03l occurs 0,
begin of ty_dd04t,
rollname like dd04t-rollname,
ddlanguage like dd04t-ddlanguage,
as4local like dd04t-as4local,
as4vers like dd04t-as4vers,
scrtext_l like dd04t-scrtext_l,
end of ty_dd04t,
ty_it_dd04t type ty_dd04t occurs 0,
begin of ty_kna1,
kunnr like kna1-kunnr, " Customer number
name1 like kna1-name1, " Customer name
end of ty_kna1,
ty_it_kna1 type ty_kna1 occurs 0,
begin of ty_user_addr,
bname like user_addr-bname, " user no
name_textc like user_addr-name_textc , " Username
end of ty_user_addr,
ty_it_user_addr type ty_user_addr occurs 0,
begin of ty_vbap,
matnr like vbap-matnr, " Material No
arktx like vbap-arktx, " Production Description
end of ty_vbap,
ty_it_vbap type ty_vbap occurs 0,
ty_text(500) type c,
ty_lines type tline,
ty_it_lines type ty_lines occurs 0,
begin of ty_merged,
vbeln like vbak-vbeln, " Sales order number
erdat like vbak-erdat, " Created on
auart like vbak-auart, " Order type
faksk like vbak-faksk, " Billing block in SD document
netwr like vbak-netwr, " Net value
waerk like vbak-waerk, " Currency
vkorg like vbak-vkorg, " Sales organisation
vtweg like vbak-vtweg, " Distribution channel
vkbur like vbak-vkbur, " Sales office
fkara like vbak-fkara, " Proposed billing type
kunnr like vbak-kunnr, " Sold-to party
bname like vbak-bname , " User No
xblnr like vbak-xblnr, " Reference
fbuda like vbkd-fbuda, " Date services rendered
username like cdhdr-username, " Changed by
udate like cdhdr-udate, " Changed on
utime like cdhdr-utime, " Changed at
tcode like cdhdr-tcode, " Transaction code
tabname like cdpos-tabname, " Table name
tabkey like cdpos-tabkey, " Table key
fname like cdpos-fname, " Field name
chngind like cdpos-chngind, " Change indicator
value_new like cdpos-value_new, " New value of field
value_old like cdpos-value_old, " Old value of field
scrtext_l like dd04t-scrtext_l, " Description of field
intnote type ty_text, " Internal note
hdrnote type ty_text, " Header note
name1 like adrc-name1, " Sold-to party name
matnr like vbap-matnr, " Material No
arktx like vbap-arktx, " Product Description
end of ty_merged,
ty_it_merged type ty_merged occurs 0,
begin of ty_vbak,
vbeln like vbak-vbeln, " Sales order number
erdat like vbak-erdat, " Created on
auart like vbak-auart, " Order type
faksk like vbak-faksk, " Billing block in SD document
netwr like vbak-netwr, " Net value
waerk like vbak-waerk, " Currency
vkorg like vbak-vkorg, " Sales organisation
vtweg like vbak-vtweg, " Distribution channel
vkbur like vbak-vkbur, " Sales office
fkara like vbak-fkara, " Proposed billing type
kunnr like vbak-kunnr, " Sold-to party
xblnr like vbak-xblnr, " Reference
objectid like cdhdr-objectid, " Change document object
end of ty_vbak,
ty_it_vbak type ty_vbak occurs 0,
begin of ty_vbkd,
vbeln like vbkd-vbeln, " Sales order number
posnr like vbkd-posnr, " Sales order item
fbuda like vbkd-fbuda, " Date services rendered
end of ty_vbkd,
ty_it_vbkd type ty_vbkd occurs 0.
Internal tables
data:
it_cdhdr type ty_it_cdhdr,
it_cdpos type ty_it_cdpos,
it_fieldcat type slis_t_fieldcat_alv,
it_kna1 type ty_it_kna1,
it_user_addr type ty_it_user_addr,
it_merged type ty_it_merged,
it_vbak type ty_it_vbak,
Material No
it_vbap type ty_it_vbap,
it_vbkd type ty_it_vbkd.
data:
wa_vbak type ty_vbak.
data:
st_tvariant like disvariant,
st_variant like disvariant.
constants:
co_as4local_a like dd03l-as4local " Active version
value 'A',
co_objectclas_verkbeleg like cdhdr-objectclas
value 'VERKBELEG',
co_posnr_initial like vbkd-posnr " Initial item number
value is initial,
co_posnr_initial_2 like vbap-posnr " Initial item number
value is initial,
co_save_u type c " User display variant
value 'U', " saving allowed.
co_trvog_0 like vbak-trvog " Sales order
value '0'.
data:
va_exit type c, " ALV display
va_tabix like sy-tabix.
selection-screen: begin of block b1 with frame title text-001.
select-options:
s_vkorg for vbak-vkorg OBLIGATORY, " Sales organisation
s_vkbur for vbak-vkbur, " Sales office
s_vtweg for vbak-vtweg, " Distribution channel
s_vbeln for vbak-vbeln, " Sales order number
s_usrnme for cdhdr-username, " Changed by
s_udate for cdhdr-udate. " Changed on
selection-screen: end of block b1,
begin of block b2 with frame title text-002.
parameters:
p_varint like disvariant-variant. " Display variant.
selection-screen: end of block b2.
Initialization
initialization.
Load display variant.
if not p_varint is initial.
move st_variant to st_tvariant.
move p_varint to st_tvariant-variant.
call function 'REUSE_ALV_VARIANT_EXISTENCE'
exporting
i_save = co_save_u
changing
cs_variant = st_tvariant.
st_variant = st_tvariant.
else.
clear st_variant.
st_variant-report = sy-repid.
endif.
at selection-screen on value-request for p_varint.
Provide display variant list for this program.
call function 'REUSE_ALV_VARIANT_F4'
exporting
is_variant = st_variant
i_save = co_save_u
importing
e_exit = va_exit
es_variant = st_tvariant
exceptions
not_found = 2.
if sy-subrc eq 2.
message id sy-msgid type 'S'
number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
if va_exit eq space.
st_variant = st_tvariant.
p_varint = st_tvariant-variant.
endif.
endif.
At selection screen
at selection-screen.
Load display variant.
if not p_varint is initial.
move st_variant to st_tvariant.
move p_varint to st_tvariant-variant.
call function 'REUSE_ALV_VARIANT_EXISTENCE'
exporting
i_save = co_save_u
changing
cs_variant = st_tvariant.
st_variant = st_tvariant.
else.
clear st_variant.
st_variant-report = sy-repid.
endif.
Start of selection
Extract order details from VBAK
select vbeln erdat auart faksk netwr waerk vkorg vtweg vkbur fkara
kunnr xblnr
from vbak
into table it_vbak
where vkorg in s_vkorg
and vkbur in s_vkbur
and vbeln in s_vbeln.
if sy-subrc ne 0.
No data found for selection
message s001(zgen).
exit.
endif.
loop at it_vbak into wa_vbak.
va_tabix = sy-tabix.
wa_vbak-objectid = wa_vbak-vbeln.
modify it_vbak from wa_vbak
index va_tabix
transporting objectid.
endloop.
if sy-subrc ne 0.
No data found for selection
message s001(zgen).
exit.
endif.
loop at it_vbak into wa_vbak.
va_tabix = sy-tabix.
wa_vbak-objectid = wa_vbak-vbeln.
modify it_vbak from wa_vbak
index va_tabix
transporting objectid.
endloop.
Extract Change data
select objectclas objectid changenr username udate utime tcode
from cdhdr
into table it_cdhdr
for all entries in it_vbak
where objectclas eq co_objectclas_verkbeleg
and objectid eq it_vbak-objectid
and username in s_usrnme
and udate in s_udate.
if sy-subrc eq 0.
select objectclas objectid changenr tabname tabkey fname chngind
value_new value_old
from cdpos
into table it_cdpos
for all entries in it_cdhdr
where fname NE 'CMPRE_FLT'
and objectclas eq it_cdhdr-objectclas
and objectid eq it_cdhdr-objectid
and changenr eq it_cdhdr-changenr.
endif.
Extract customer details from KNA1
select kunnr name1
from kna1
into table it_kna1
for all entries in it_vbak
where kunnr eq it_vbak-kunnr.
---- Changes are made here -
Extract Material details from vbap
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial.
-----------------End of Change ----------------------*
Extract Contract No from vbkd.
select vbeln posnr fbuda
from vbkd
into table it_vbkd
for all entries in it_vbak
where vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial.
perform merge_data tables it_cdhdr
it_cdpos
it_kna1
it_user_addr
it_merged
it_vbak
it_vbap
it_vbkd.
if it_merged[] is initial.
message s001(zgen).
exit.
endif.
Release memory no longer required.
free: it_cdhdr,
it_cdpos,
it_kna1,
it_user_addr,
it_vbak,
it_vbap,
it_vbkd.
Build field catalog for call to report function
perform build_field_catalog tables it_fieldcat.
Output report.
perform output_report tables it_fieldcat
it_merged.
*& Form merge_data
text
form merge_data tables pa_it_cdhdr type ty_it_cdhdr
pa_it_cdpos type ty_it_cdpos
pa_it_kna1 type ty_it_kna1
pa_it_user_addr type ty_it_user_addr
pa_it_merged type ty_it_merged
pa_it_vbak type ty_it_vbak
pa_it_vbap type ty_it_vbap
pa_it_vbkd type ty_it_vbkd.
Local internal tables
data:
lit_dd03l type ty_it_dd03l,
lit_dd04t type ty_it_dd04t.
Local work areas
data:
lwa_cdhdr type ty_cdhdr,
lwa_cdpos type ty_cdpos,
lwa_dd03l type ty_dd03l,
lwa_dd04t type ty_dd04t,
lwa_kna1 type ty_kna1,
lwa_user_addr type ty_user_addr,
lwa_merged type ty_merged,
lwa_vbak type ty_vbak,
lwa_vbap type ty_vbap,
lwa_vbkd type ty_vbkd.
Local variables
data:
lva_dd03l_tabix like sy-tabix,
lva_dd04t_tabix like sy-tabix.
Sort Data
sort pa_it_cdhdr by objectid changenr.
sort pa_it_cdpos by objectid changenr tabname tabkey fname.
sort pa_it_kna1 by kunnr.
sort pa_it_user_addr by bname.
sort pa_it_vbak by vbeln.
sort pa_it_vbkd by vbeln.
loop at pa_it_vbak into lwa_vbak.
clear lwa_merged.
Assign sales order fields to reporting work area
lwa_merged-vbeln = lwa_vbak-vbeln.
lwa_merged-erdat = lwa_vbak-erdat.
lwa_merged-auart = lwa_vbak-auart.
lwa_merged-faksk = lwa_vbak-faksk.
lwa_merged-netwr = lwa_vbak-netwr.
lwa_merged-waerk = lwa_vbak-waerk.
lwa_merged-vkorg = lwa_vbak-vkorg.
lwa_merged-vtweg = lwa_vbak-vtweg.
lwa_merged-vkbur = lwa_vbak-vkbur.
lwa_merged-fkara = lwa_vbak-fkara.
lwa_merged-kunnr = lwa_vbak-kunnr.
lwa_merged-bname = 1wa_user_addr-bname.
lwa_merged-xblnr = lwa_vbak-xblnr.
Assgin Material to reporting work area
lwa_merged-matnr = lwa_vbap-vbeln.
Get name of sold-to party from PA_IT_KNA1
clear lwa_kna1.
read table pa_it_kna1 into lwa_kna1
with key kunnr = lwa_vbak-kunnr
binary search.
lwa_merged-name1 = lwa_kna1-name1.
Get name from PA_it_user_addr
clear lwa_user_addr.
read table pa_it_user_addr into lwa_user_addr
with key = lwa_user_addr-bname
binary search.
lwa_merged-username = lwa_user_addr-name_textc.
Get business data from PA_IT_VBKD.
clear lwa_vbkd.
read table pa_it_vbkd into lwa_vbkd
with key vbeln = lwa_vbak-vbeln
binary search.
lwa_merged-fbuda = lwa_vbkd-fbuda.
Get Material Data
clear lwa_vbap.
read table pa_it_vbap into lwa_vbap
with key matnr = lwa_vbap-matnr
with key vbeln = lwa_vbak-vbeln
binary search.
lwa_merged-arktx = lwa_vbap-arktx.
Get internal note text for sales order
perform read_text using '0002'
'1'
lwa_merged-vbeln
'VBBK'
lwa_merged-intnote.
Get header note 1 text for sales order
perform read_text using 'Z002'
'1'
lwa_merged-vbeln
'VBBK'
lwa_merged-hdrnote.
Determine if change documents exist for sales order.
clear lwa_cdhdr.
read table pa_it_cdhdr into lwa_cdhdr
with key objectid = lwa_vbak-objectid.
if sy-subrc ne 0.
continue.
endif.
loop at pa_it_cdhdr into lwa_cdhdr
from sy-tabix.
lwa_merged-username = lwa_cdhdr-username.
lwa_merged-udate = lwa_cdhdr-udate.
lwa_merged-utime = lwa_cdhdr-utime.
lwa_merged-tcode = lwa_cdhdr-tcode.
clear lwa_cdpos.
read table pa_it_cdpos into lwa_cdpos
with key objectid = lwa_cdhdr-objectid
changenr = lwa_cdhdr-changenr
binary search.
loop at pa_it_cdpos into lwa_cdpos
from sy-tabix.
lwa_merged-tabname = lwa_cdpos-tabname.
lwa_merged-tabkey = lwa_cdpos-tabkey.
lwa_merged-fname = lwa_cdpos-fname.
lwa_merged-chngind = lwa_cdpos-chngind.
lwa_merged-value_new = lwa_cdpos-value_new.
lwa_merged-value_old = lwa_cdpos-value_old.
Get description for field - determine date element
clear lwa_dd03l.
read table lit_dd03l into lwa_dd03l
with key tabname = lwa_cdpos-tabname
fieldname = lwa_cdpos-fname
binary search.
lva_dd03l_tabix = sy-tabix.
if sy-subrc ne 0.
select single tabname fieldname as4local as4vers rollname
from dd03l
into lwa_dd03l
where tabname eq lwa_cdpos-tabname
and fieldname eq lwa_cdpos-fname
and as4local eq co_as4local_a.
if sy-subrc eq 0.
insert lwa_dd03l into lit_dd03l
index lva_dd03l_tabix.
endif.
endif.
If data element was found, get description
if not lwa_dd03l is initial.
clear lwa_dd04t.
read table lit_dd04t into lwa_dd04t
with key rollname = lwa_dd03l-rollname
ddlanguage = sy-langu
binary search.
lva_dd04t_tabix = sy-tabix.
if sy-subrc ne 0.
select single rollname ddlanguage as4local as4vers scrtext_l
from dd04t
into lwa_dd04t
where rollname eq lwa_dd03l-rollname
and ddlanguage eq sy-langu.
if sy-subrc eq 0.
insert lwa_dd04t into lit_dd04t
index lva_dd04t_tabix.
else.
lwa_dd04t-scrtext_l = 'Description for field not found'.
endif.
endif.
endif.
lwa_merged-scrtext_l = lwa_dd04t-scrtext_l.
append lwa_merged to pa_it_merged.
at end of changenr.
Only process field changes for this change document.
exit.
endat.
endloop.
at end of objectid.
Initialise work area so we know change document for order has
been processed.
clear lwa_merged.
Only process change documents for this sales order.
exit.
endat.
endloop.
endloop.
endform. " merge_data
*& Form build_field_catalog
text
form build_field_catalog tables pa_it_fieldcat type slis_t_fieldcat_alv.
data:
Local variable
lva_col_pos type slis_fieldcat_alv-col_pos,
Local structure
st_fieldcat type slis_fieldcat_alv.
lva_col_pos = 0.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VBELN'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VBELN'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VKBUR'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VKBUR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VKORG'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VKORG'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'KUNNR'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'KUNNR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
st_fieldcat-outputlen = '6'.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'NAME1'.
st_fieldcat-ref_tabname = 'KNA1'.
st_fieldcat-ref_fieldname = 'NAME1'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '15'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'MATNR'.
st_fieldcat-ref_tabname = 'VBAP'.
st_fieldcat-ref_fieldname = 'MATNR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
st_fieldcat-outputlen = '6'.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'SCRTEXT_L'.
st_fieldcat-ref_tabname = 'DD04T'.
st_fieldcat-ref_fieldname = 'SCRTEXT_L'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'UDATE'.
st_fieldcat-ref_tabname = 'CDHDR'.
st_fieldcat-ref_fieldname = 'UDATE'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '10'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'USERNAME'.
st_fieldcat-ref_tabname = 'CDHDR'.
st_fieldcat-ref_fieldname = 'USERNAME'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'FNAME'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'FNAME'.
st_fieldcat-row_pos = '4'.
st_fieldcat-outputlen = '8'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'CHNGIND'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'CHNGIND'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '8'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'WAERK'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'WAERK'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '5'.
st_fieldcat-col_pos = lva_col_pos..
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VALUE_NEW'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'VALUE_NEW'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VALUE_OLD'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'VALUE_OLD'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
endform. " build_field_catalog
*& Form output_report
text
form output_report tables pa_it_fieldcat type slis_t_fieldcat_alv
pa_it_merged type ty_it_merged.
Local variables
data:
lva_formname type slis_formname,
lva_repid like sy-repid.
lva_repid = sy-repid.
lva_formname = 'ALV_USER_COMMAND'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = lva_repid
i_callback_user_command = lva_formname
i_save = 'A'
is_variant = st_variant
it_fieldcat = pa_it_fieldcat[]
tables
t_outtab = pa_it_merged
exceptions
program_error = 1
others = 2.
endform. " output_report
*& Form alv_user_command
text
form alv_user_command using pa_ucomm like sy-ucomm
pa_selfield type slis_selfield.
Local work areas
data:
lwa_merged type ty_merged.
clear lwa_merged.
read table it_merged into lwa_merged
index pa_selfield-tabindex.
case pa_selfield-fieldname.
when 'VBELN'.
Contract Number
set parameter id 'AUN' field lwa_merged-vbeln.
call transaction 'VA03' and skip first screen.
S_BCE_68001393
when 'USERNAME'.
Username
set parameter id 'username' field lwa_merged-username.
call transaction 'S_BCE_68001393' and skip first screen.
when 'KUNNR'.
Customer number
set parameter id 'KUN' field lwa_merged-kunnr.
set parameter id 'VKO' field space.
set parameter id 'VTW' field space.
set parameter id 'SPA' field space.
call transaction 'XD03' and skip first screen.
endcase.
endform. " alv_user_command
*& Form read_text
text
form read_text using pa_id
pa_inline_count
pa_name
pa_object
pa_text.
Local internal tables
data:
lit_inlines type ty_it_lines,
lit_lines type ty_it_lines.
Local work areas
data:
lwa_lines type ty_lines.
Local variables
data:
lva_tdname like thead-tdname.
refresh: lit_inlines,
lit_lines.
lva_tdname = pa_name.
call function 'READ_TEXT_INLINE'
exporting
id = pa_id
inline_count = pa_inline_count
language = sy-langu
name = lva_tdname
object = pa_object
tables
inlines = lit_inlines
lines = lit_lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
others = 7.
loop at lit_lines into lwa_lines.
concatenate pa_text
lwa_lines-tdline
into pa_text separated by space.
endloop.
endform. " read_text ENDLOOP.Hi
As per your code here:
"-------------- Changes are made here ----------------
*Extract Material details from vbap
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial. " Here the condition specifies you want to select sales order items where there is no item number, which i beleive shouldnt be the case
" -----------------End of Change ----------------------
Try as below by commenting the Item Number is INITIAL condition:
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln.
"and posnr eq co_posnr_initial.
Regards
Eswar -
Sony DCR-DVD505 Handycam: Unable to get video clips, audio
Evaluating Adobe Premier. Hopefully helpful for other Sony DCR-DVD505 users.
Objectives:
1) Get videos from Sony DCR-DVD505 handycam into Premier Elements
2) Drag and drop various clips into Sceneline
3) Insert menu markers
4) Burn DVD
Stuck in Step 1, getting video from handycam, unable to get video clips (with audio)
First Try: NO AUDIO.
The Sony DCR-DVD505 burns a mini-DVD (1.4 GB) while recording. After "finalizing" the disk, the media may be imported into the computer. Streaming was supported by Windows XP driver but is no longer supported in Windows Vista. In fact, Vista Service Pack 2 (SP2) does not even recognize the camera as a DVD drive! So downgraded to Vista SP1 and used the Sony Picture Motion Browser to import media into computer as MPG files. Each MPG file is a clip (corresponding exactly to camera record on-off sequence while shooting). Then opened up Adobe Premier Elements 8. Used get media to import all the MPG clips into "Organize". Dragged and dropped various clips...inserted a menu or two and...burned the DVD. PROBLEM: VIDEO OK, BUT NO AUDIO(?!). The MPG files on computer play fine (with audio) inside Windows Media Players. Read all sorts of nonsense about why Adobe Premier (probably old versions) cannot work with "low-quality/compressed" MPG and needs to be a particular type AVI soo....
Second Try: Capture VOB directly
Forget the camera. Insert the mini-DVD directly into computer DVD drive, create a new project and followed directions from "Lowdown on VOB" http://forums.adobe.com/message/2117743 and "tools to convert to DVI" http://forums.adobe.com/thread/415317. I loaded the VOB directly and dropped them into Timeline as advised by the second post (only hitch being the first VOB pertaining to the DVD menu is not recognized and is neither needed).
However, File > Export is always GREYED out (unusable). And the status at bottom right seems to be looping on "Background Rendering". DO I WAIT? In any case, the whole video is showing up as a single continuous stream and what I want are the clips from the camera?!
Then I tried Prism (again as per the second forum post mentioned above). It simply did something to process 30 minutes of video and crashed in the end without explanation - saying there was an error in conversion.
Is this AVI conversion even a good idea? How would I get my clips back??
Bottomline. My mini-DVD and imported MPGs plays fine in Windows Media Player. However unable to extract the camera clips (with audio).Dawg, I have the Sony DCR-DVD305, and have been using it successfully for quite a while with PE7, with few issues, once I had a workflow nailed down.
I believe the 505 is basically the same camera, with some additional features.
This workflow worked for me in the past so I'll pass that along:
Sony Browser to PC as Mpeg.
Mpeg to Windows Movie Maker, output to DV-AVI, taking default settings.
DV-AVI imported into PE7.
This should also work for PE8.
Upon getting Cyberlinks PowerDirector v7, my new workflow changed to this:
I take the min-DVD directly from camcorder to my PC, and capture the disk via Power Director.
PD will convert the VOB's directly to DV-AVI Type 2 on one pass.
I then load this DV-AVI into PE7.
(PD v7 was pre-installed on my new PC from HP, or it can be purchased from Cyberlink).
Other options to try:
Copy the VOB's directly from the mini-DVD to your PC and use Prism to convert these to AVI.
Or load the VOB or Mpeg into PE, then use that to convert to AVI.
(Export to DV-AVI with PE8 is done with SHARE/PC, not Export under the File Menu, which is greyed out).
I've had many issues trying to work with Mpeg's and VOB's when loaded directly to PE with limited success.
So if you can get it converted successfully to AVI outside of PE, I've found this to be a better approach.
Post results, if any of this works for you...
Note: One other thing, if you are working directly with VOB's to PE, especially multiple VOB's from a single DVD, you can encounter out-of-sync issues between video and audio. If this occurs, review this link from Muvipix:
http://muvipix.com/phpBB3/viewtopic.php?f=38&t=2469: -
SCRIPT5007: Unable to get property 'top' of undefined or null and too much recursion
I am not sure about placing two questions into one post, but here it goes:
The error above "SCRIPT5007: Unable to get property 'top' of undefined or null" is coming from this function:
Code:
$(function () { //this is the way to run your code at the DOM Ready event $('a').click(function () { $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top }, 1500); return false; }); });
This is the effected code I believe that is causing the problem:
Code:
scrollTop: $($(this).attr('href')).offset().top
the error occurs when I click on a "clear" button in my form. My website is one long page and that function allows my navigation to slide up and down the site. Without it, everytime you click a nav, it jumps to that anchor.
For the 2nd problem, the too much recursion, the problem lies within here:
Code:
function () { if ($.isReady) return; imReady = true; $.each($.includeStates, function (url, state) { if (!state) return imReady = false }); if (imReady) { $.readyOld.apply($, arguments) } else { setTimeout(arguments.callee, 10) } }
where the error is actually coming from the 2nd "function" script. This is part of the browser compatibility script for mozilla/opera at the top of the index page. Any help would be great. Thanks.Ahh I apologize. I simply was posting to JavaScript forums in hopes of
finding a solution. Sorry for the mixup. -
While traveling in China, I was unable to get latest iTunes download an update to 4.3.2 (after download is compoleted, is starts processing and says network timed out, without any clear reason) I can download the file separately for an older version without using iTunes fine.
I have a hunch that the multitude of emails flying in my account is causing trouble, since Mail is one of the apps closing immediately. But I cannot use settings to combat Mail problems.... Anyone any idea???
HenkThe "Network timed out " may be a firewall or antivirus on the computer.
For the apps closing, try the following:
stop all running apps:
Double-click the Home button. Hold an icon in the bottom row until the minus sign shows, then touch all minus signs to close all apps.
Then Press and Hold the Home and Power buttons until the Apple Logo appears, about 10 seconds.
Maybe you are looking for
-
Item Import - completes with " Completed Error" status and process_flag=4
I am trying to Import Item through Open Interface. RDBMS : 9.2.0.5.0 Oracle Applications : 11.5.10 Populated data into mtl_system_items_interface with process_flag = 1. Once I run the "Item Import" program it completes with error, with the following
-
My late 2012 mac mini boots slow with new ssd drive
So here is the situation. I purchased a 128gb ssd drive, installed it a usb enclosure, formatted it to Mac OS Extended (Journaled), cloned it with carbon copy cloner 3, used the option key during boot up and selected the ssd drive and it booted my
-
So here is how it happened. Started up my ibook today, everything was normal. Plugged in my Lacie External Hard drive, that was normal. Copied my user name folder to back up my files, everthing was going normal. I got an error saying there was some p
-
Block cancelling the cleared billing documents
Hi Friends, Currently system is allowing to cancel the cleared billing document and business does want to do that, for example when F2 billing type document is cancelled then it is generating S1 type cancelled document. I think I can prevent this by
-
HostOS : Mac OS X LightRoom version : 4.4 I accidentally moved linked files over the past few years, and just discovered (via "Missing Photos" view) that I have 5,000 missing photos. I know the master photos are on my hard disk drive ... so, that is