Types of discs to use when backing up music
am i only allowed to use a certain type of disc (+ or -) when i backup my music to discs? I would really like to backup my music as data on DVD's, but I have discs, and itunes keeps telling my to install a disc. I don't know why....please help
I assume you mean it tells you to keep putting in a blank disc? The problem is with iTunes. What you need to do is revert to an older version of iTunes (like version 7.2 preferably). Here is the solution until Apple releases a version of iTunes that fixes the problem.
1). Download iTunes 7.2. If you do not know how to do this email me at [email protected]
2) Uninstall iTunes 7.3 (version you have now) and restart your computer. You will NOT lose songs or song ratings or other information.
3). Install iTunes 7.2. You will now be able to back up to discs. Any of those you listed should work. DVDs will also work if your drive supports them. A few more things to keep in mind are whether your drive supports only write cds or rewritable cds. If you have any questions about this or your drive, then again feel free to email me.
Similar Messages
-
What type of disc is used for backing up itunes
What type of disc is used for backing up itunes?
You can backup your itunes library to whatever medium you like ( cd/dvd/flash drive/external drive/etc)
-
Huge disc space used when creating a movie
I have made movies of old projected cine film clips and stored these on my extra hard drive. So that I can re arrange and make amanded movies organised under different headings to be made into a DVD, I have tried to create these by dragging various clips into new movies on my desktop.
To my surprise even a small number of imported clips in a new movie take up many gigabytes of space and I get the message that there is not enough memory to continue. The new desktop movie with a few clips takes up much more space that the original much longer movie?
Another thing I cannot understand is that when I create a DVD that includes various movies the completed DVD takes up less disc space that the original movies? Can you help please?
Anthony Philpotta video contains 30 "frames" per seconds; every frame has 720x480 pixels with 8bit color info... a video contains a lot of data...-
to make such an amount manageable, some programmers invented "compressors" = mathematical algorithms, which try to reduce the amount of data, without losing too much pic quality... more or less..
miniDV uses DV as codec; same does iM (which is for miniDV editing...); this codec is made for editing purposes... 1h DV = 13Gb of data...
DVD uses a different codec, mpeg2, which is for playback only... you can trick the eye, therefor use a more effective compression, 2h videoDVD = 4.7GB of data...
there are much more codecs (~4000), each for a specific need or purpose...
to fullfill the credo simplicity&convenience, Apple "hides" that codecs; iM is working lossless (...mostly) with imports from miniDV; any <120min iM project, containing more then 30GB, does fit on a 4.7 SL-dvd-r... because iDVD encodes automatically with the right settings...
in case, you import OTHER encoded material to iM (mpeg4, divx, h264...) than DV, it gets converted first >> changes its size, in most cases gets much larger... -
HT3275 getting already in use when backing up iMac to Time Machine
I'm getting the following error when trying to backup to my iMac to my Time Machine, and I think it might be related to the MacBook I purchased yesterday and connected it to the same Time Machine.
The backup disk image “/Volumes/Data-1/Martin’s iMac.sparsebundle” is already in use.
Any suggestions on how to determine the problem and resolution?
MartyA computer is holding open a connection which is stopping other computers from working.. or you have loaded the sparse bundle in finder and it is not being unmounted.
Go to the airport utility.. (5.6 if Lion) and manual setup.. disks page.. disconnect all users.. you will then be able to use the device.
I am assuming Time Machine means Time Capsule.. it is a common mistake.
There are a number of other issues that cause the problem but that is the most common.
Some more info here.
http://pondini.org/TM/C17.html -
Business Functions of type Validation/Constraint not used when defined in the Glossary
Hi,
the problem is the following: in the Glossary, we have some Business Rules defined. They are of type Validation or Constraint and shall be used to validate the data in the system. These Business Rules are used in Domains in a CDM model.
From that CDM model we are generating a PDM model (for HANA, but it's not working for any of the databases available for selection). Now: I would expect, as this has been defined in the CDM, the Business Rules replicated in the PDM model and used as constraints.
This is unfortunately working only for Business Functions, which are directly defined in the CDM model, not for those ones, defined in the Glossary and reused in the CDM model.
Working case:
- define Business Rule in CDM
- define Domain in CDM and assign Business Rule
- assign the domain to a attribute
- generate PDM from the CDM model
- the Business Rule is replicated in the PDM model, the check constraint for the table is generated correctly
NOT working case:
- define Business Rule in Glossary
- define Domain in CDM and assign the Business Rule from the Glossary
- assign the domain to a attribute
- generate PDM from the CDM model
- the Business Rule is NOT replicated in the PDM model, the check constraint for the table is MISSING
Do you think it's a bug, or am I doing something wrong?
P.S.
We are on 16.5 SP05
Thanks,
RafalLooks like a bug to me; I would expect the source of the rule to be irrelevant, assuming the PDM has access to the relevant metadata at the time of generation. Perhaps Glossary shortcuts don't have access to all the metadata?
-
Sparesbundle in use when backing up MB to iMac external HDD
Hi all,
I have found the solution to this in regards to using a Time Capsule, but not for my situation.
I am backing up my MacBook Air using Time Machine to an external shared HD attached to my iMac, all done over the network wirelessly.
The first backup completed sucessfully.
The second backup comes up with "The backup disk image “/Volumes/Time Machine MacBook Air-1/Stuart’s MacBook Air.sparsebundle” is already in use."
The external HD is formatted in journal extended, split into 2 partitions (one for the MB and one for the iMac).
Any ideas?
Apologies if it's already been answered, struggling to find it in the search.
Many thanks,
Stuart.Turn off file sharing on the iMac, confirming that you want to disconnect all users. Then turn it back on and try again.
-
Will icloud be useful when I have music loaded from CDs
I have an imac and 2 ipads and an ipod. With all these devices I still find that I cant use icloud to sync my music. Reason - my music is from CDs purchased or made by converting a lot of recordings. Rare ones. How can I make my itunes library from my mac be available to all the other devices?
Music is not stored in iCloud.
You can use iTunes Match ($20 per year) to share your library. -
Hi Folks,
The following report is working perfectly except that when clicking on BACK button on the toolbar it is not coming to selection-screen but leaving to Easy Access Screen.Kindly let me know.
REPORT zdr LINE-SIZE 1023 LINE-COUNT 58(3)
MESSAGE-ID z_ma NO STANDARD PAGE HEADING .
TABLES : vbrk, " Billing Document: Header Data
vbrp, " Billing Document: Item Data
konv, " Conditions (Transaction Data)
vbak, " Sales Document: Header Data
usr21, " Assign user name address key
adcp, " Person/Address Assignment
tvv2t,
m_vmcfa,
m_vmcra,
kna1,
tvfkt,
vmcfao,
adrc.
Includes
INCLUDE rvreuse_global_data.
INCLUDE rvreuse_local_data.
INCLUDE rvreuse_forms.
Type-Pools
TYPE-POOLS slis.
TYPES: BEGIN OF ty_temp,
fidoc TYPE bkpf-belnr, "FIDOC No
awkey TYPE bkpf-belnr, "Reference Key
gjahr TYPE bkpf-gjahr, "Fiscal Year
budat TYPE bkpf-budat, "Posting Date
belnr TYPE rbkp-belnr, "Doc No
blart TYPE bkpf-blart, "Document Type
vbeln TYPE bkpf-xblnr, "Billing Doc No
xblnr TYPE bkpf-xblnr,
END OF ty_temp.
TYPES: BEGIN OF ty_konv,
knumv TYPE konv-knumv,
kposn TYPE konv-kposn,
kschl TYPE konv-kschl,
kwert TYPE konv-kwert,
kbetr TYPE konv-kbetr,
kwert1 type konv-kwert,
END OF ty_konv.
TYPES: BEGIN OF ty_objk,
equnr TYPE objk-equnr,
sernr TYPE objk-sernr,
taser TYPE objk-taser,
END OF ty_objk.
*& Includes *
INCLUDE <icon>.
Data Declaration
For ALV Display
DATA : gs_variant TYPE disvariant.
DATA : gs_layout TYPE lvc_s_layo.
DATA : gs_print TYPE lvc_s_prnt.
DATA : c_stk TYPE scrfname VALUE 'CUSTOM'.
DATA: c_stk3 TYPE scrfname VALUE 'TEST'.
DATA : custom_container TYPE REF TO cl_gui_custom_container.
DATA: custom_container3 TYPE REF TO cl_gui_custom_container.
CLASS: lcl_event_receiver DEFINITION DEFERRED.
DATA : grid1 TYPE REF TO cl_gui_alv_grid.
DATA: grid3 TYPE REF TO cl_gui_alv_grid.
DATA : event_receiver TYPE REF TO lcl_event_receiver.
DATA : ok_code TYPE sy-ucomm.
DATA : it_fieldcatalog TYPE lvc_t_fcat.
DATA : wafieldcatlog TYPE LINE OF lvc_t_fcat.
DATA : lt_rows TYPE lvc_t_row.
DATA : wa_rows TYPE LINE OF lvc_t_row.
DATA: it_fieldcatalog1 TYPE slis_t_fieldcat_alv WITH HEADER LINE,
wafieldcatlog1 TYPE slis_t_fieldcat_alv WITH HEADER LINE,
gd_layout TYPE slis_layout_alv,
gd_prntparams TYPE slis_print_alv,
gd_repid LIKE sy-repid.
Internal tables and work areas for ALV ouput display
DATA: is_layout TYPE slis_layout_alv,
i_events TYPE slis_t_event,
events TYPE slis_alv_event,
alv_top_of_page TYPE slis_t_listheader,
gs_line TYPE slis_listheader,
alv_events TYPE slis_t_event,
alv_variant TYPE disvariant,
alv_title TYPE lvc_title,
alv_sort TYPE slis_t_sortinfo_alv,
csort TYPE slis_sortinfo_alv,
alv_print TYPE slis_print_alv.
Internal Table
DATA: it_objk TYPE ty_objk OCCURS 0 WITH HEADER LINE.
DATA: itab_temp TYPE ty_temp OCCURS 0 WITH HEADER LINE.
DATA: itab_konv TYPE ty_konv OCCURS 0 WITH HEADER LINE.
DATA: gt_vmcfa LIKE vmcfao OCCURS 50 WITH HEADER LINE.
*>>>
DATA : adrnr1 LIKE t001w-adrnr.
DATA: plant_name1 LIKE adrc-name1.
DATA: plant_name2 TYPE adrc-name2.
DATA: plant_name(136).
DATA: comp_name1 LIKE adrc-name1.
DATA: comp_name2 TYPE adrc-name2.
DATA: comp_name(136).
*<<<
DATA: BEGIN OF name_dazu OCCURS 10,
kunnr LIKE kna1-kunnr ,
name1 LIKE kna1-name1 ,
ort01 LIKE kna1-ort01 ,
END OF name_dazu.
DATA: BEGIN OF fkart_dazu OCCURS 10,
fkart LIKE tvfkt-fkart ,
vtext LIKE tvfkt-vtext ,
END OF fkart_dazu.
DATA: BEGIN OF hsave,
vbeln LIKE vbuv-vbeln,
tabix LIKE sy-tabix ,
text(40) .
DATA: END OF hsave.
DATA: BEGIN OF it_vbrk_vbrp OCCURS 0,
vbeln TYPE vbrk-vbeln, " Invoice Number
posnr TYPE vbrp-posnr, " Item number
erdat TYPE vbrk-erdat, " Billing Date
fkart TYPE vbrk-fkart, " Billing Type
vtext TYPE tvfkt-vtext, " Billing type Desc
knumv TYPE vbrk-knumv, " Number of the document condition
netwr TYPE vbrk-netwr, " Net value in document currency
fkdat TYPE vbrk-fkdat, " Invoice Date
typbz TYPE equi-typbz, " Model
serge TYPE equi-serge, " Serial No Ref
fkimg TYPE vbrp-fkimg, " Invoce Quantity
kzwi1 TYPE vbrp-kzwi1, " Base Price
kzwi2 TYPE vbrp-kzwi2, " Packing
kzwi4 TYPE vbrp-kzwi4, " Freight and Insurance
jex2 TYPE konv-kwert, " Exice duty
jces TYPE konv-kwert, " Cess
jecx TYPE konv-kwert, " Education Cess
jin1 TYPE konv-kwert, " CST
jin1_per TYPE konv-kbetr, " %CST
jin2 TYPE konv-kwert, " LST
jin2_per TYPE konv-kbetr, " %LST
jin5 TYPE konv-kwert, " Surcharge on LST
jin5_per TYPE konv-kbetr, " %Surcharge on LST
turn TYPE konv-kwert, " Turn Over
turn_lst TYPE konv-kwert, " LST turn over
turn_cst TYPE konv-kwert, " CST turn over
total TYPE konv-kwert, " Total
zadv TYPE konv-kwert, " Advance Recieved
net TYPE konv-kwert, " Net Payable
zcod TYPE konv-kwert, " Dealer Fee
zdbk TYPE konv-kwert, " Deamed Benifit
zopt TYPE konv-kwert, " Optional Value
zfoc TYPE konv-kwert, " FOC Coupon Value
zfcf TYPE konv-kwert, " FOC Filter
netreal TYPE konv-kwert, " Net Realisation
vgbel TYPE vbrp-vgbel, " Delivery Number
kunag TYPE vbrk-kunag, " Sold-to party
name1 TYPE kna1-name1, " Name1
name2 TYPE kna1-name1, " Ship to name
name3 TYPE kna1-name2, " Ship to name 2nd column
mwsbk TYPE vbrk-mwsbk, " Tax amount in document currency
werks TYPE vbrp-werks, " Plant
regio TYPE vbrk-regio, " Region (State, Province, County)
bezei TYPE t005u-bezei, " Region Description
wkreg TYPE vbrp-wkreg, " Region in which plant is located
fksto TYPE vbrk-fksto, " Billing document is cancelled
bstkd TYPE vbkd-bstkd, " Customer purchase order number
bstdk TYPE vbkd-bstdk, " Customer purchase order date
exnum TYPE j_1iexcdtl-exnum, " Excise Doc Number
matnr TYPE vbrp-matnr, " Material number
arktx TYPE vbrp-arktx, " Material Desc
mvgr5 TYPE vbap-mvgr5, " PWC code
bezei5 TYPE tvm5t-bezei, " PWC code Desc
kdgrp_auft TYPE vbrp-kdgrp_auft, " Dealer
ktext TYPE t151t-ktext, " Dealer Desc
j_1icstno TYPE j_1imocust-j_1icstno, " CST reg number
j_1ilstno TYPE j_1imocust-j_1ilstno, " LST reg number
city1 TYPE adrc-city1, " City1
street TYPE adrc-street,
addr1 TYPE adrc-str_suppl1, " address
addr2 TYPE adrc-str_suppl2,
city2 TYPE adrc-city2,
country TYPE adrc-country,
landx TYPE t005t-landx,"Country
kvgr2 TYPE vbak-kvgr2, "Sales Type
fname TYPE kna1-name1, " Financier Name
aubel TYPE vbrp-aubel,
stypetext TYPE tvv2t-bezei,
zdex TYPE konv-kwert,
zdec TYPE konv-kwert,
dif1 TYPE konv-kwert,
dif2 TYPE konv-kwert,
dif3 TYPE konv-kwert,
dif4 TYPE konv-kwert,
dif5 TYPE konv-kwert,
dif6 TYPE konv-kwert,
deemed_jex2 TYPE konv-kwert,
deemed_jecs TYPE konv-kwert,
roundoff1 TYPE konv-kwert,
roundoff2 TYPE konv-kwert,
roundoff3 TYPE konv-kwert,
roundoff4 TYPE konv-kwert,
roundoff5 TYPE konv-kwert,
roundoff6 TYPE konv-kwert,
zcal TYPE konv-kwert,
zser TYPE konv-kwert,
zces TYPE konv-kwert,
zkf0 TYPE konv-kwert,
zins TYPE konv-kwert,
vgpos LIKE vbrp-vgpos,
ort01 LIKE kna1-ort01,
belnr LIKE bseg-belnr,
bukrs LIKE vbrk-bukrs,
zstf LIKE konv-kwert,
di13 LIKE konv-kwert,
vkorg TYPE vbrk-vkorg,
vbtyp TYPE vbrk-vbtyp,
aupos TYPE vbrp-aupos,
xblnr TYPE bkpf-xblnr,
augru TYPE vbak-augru,
reason TYPE tvaut-bezei,
waerk type vbrk-waerk,
END OF it_vbrk_vbrp.
DATA: BEGIN OF it_vbrk_vbrp3 OCCURS 0,
vbeln TYPE vbrk-vbeln, " Invoice Number
posnr TYPE vbrp-posnr, " Item number
erdat TYPE vbrk-erdat, " Billing Date
fkart TYPE vbrk-fkart, " Billing Type
vtext TYPE tvfkt-vtext, " Billing type Desc
knumv TYPE vbrk-knumv, " Number of the document condition
netwr TYPE vbrk-netwr, " Net value in document currency
fkdat TYPE vbrk-fkdat, " Invoice Date
typbz TYPE equi-typbz, " Model
serge TYPE equi-serge, " Serial No Ref
fkimg TYPE vbrp-fkimg, " Invoce Quantity
kzwi1 TYPE vbrp-kzwi1, " Base Price
kzwi2 TYPE vbrp-kzwi2, " Packing
kzwi4 TYPE vbrp-kzwi4, " Freight and Insurance
jex2 TYPE konv-kwert, " Exice duty
jces TYPE konv-kwert, " Cess
jecx TYPE konv-kwert, " Education Cess
jin1 TYPE konv-kwert, " CST
jin1_per TYPE konv-kbetr, " %CST
jin2 TYPE konv-kwert, " LST
jin2_per TYPE konv-kbetr, " %LST
jin5 TYPE konv-kwert, " Surcharge on LST
jin5_per TYPE konv-kbetr, " %Surcharge on LST
turn TYPE konv-kwert, " Turn Over
turn_lst TYPE konv-kwert, " LST turn over
turn_cst TYPE konv-kwert, " CST turn over
total TYPE konv-kwert, " Total
zadv TYPE konv-kwert, " Advance Recieved
net TYPE konv-kwert, " Net Payable
zcod TYPE konv-kwert, " Dealer Fee
zdbk TYPE konv-kwert, " Deamed Benifit
zopt TYPE konv-kwert, " Optional Value
zfoc TYPE konv-kwert, " FOC Coupon Value
zfcf TYPE konv-kwert, " FOC Filter
netreal TYPE konv-kwert, " Net Realisation
vgbel TYPE vbrp-vgbel, " Delivery Number
kunag TYPE vbrk-kunag, " Sold-to party
name1 TYPE kna1-name1, " Name1
name2 TYPE kna1-name1, " Ship to name
name3 TYPE kna1-name2, " Ship to name 2nd column
mwsbk TYPE vbrk-mwsbk, " Tax amount in document currency
werks TYPE vbrp-werks, " Plant
regio TYPE vbrk-regio, " Region (State, Province, County)
bezei TYPE t005u-bezei, " Region Description
wkreg TYPE vbrp-wkreg, " Region in which plant is located
fksto TYPE vbrk-fksto, " Billing document is cancelled
bstkd TYPE vbkd-bstkd, " Customer purchase order number
bstdk TYPE vbkd-bstdk, " Customer purchase order date
exnum TYPE j_1iexcdtl-exnum, " Excise Doc Number
matnr TYPE vbrp-matnr, " Material number
arktx TYPE vbrp-arktx, " Material Desc
mvgr5 TYPE vbap-mvgr5, " PWC code
bezei5 TYPE tvm5t-bezei, " PWC code Desc
kdgrp_auft TYPE vbrp-kdgrp_auft, " Dealer
ktext TYPE t151t-ktext, " Dealer Desc
j_1icstno TYPE j_1imocust-j_1icstno, " CST reg number
j_1ilstno TYPE j_1imocust-j_1ilstno, " LST reg number
city1 TYPE adrc-city1, " City1
street TYPE adrc-street,
addr1 TYPE adrc-str_suppl1, " address
addr2 TYPE adrc-str_suppl2,
city2 TYPE adrc-city2,
country TYPE adrc-country,
landx TYPE t005t-landx,"Country
kvgr2 TYPE vbak-kvgr2, "Sales Type
fname TYPE kna1-name1, " Financier Name
aubel TYPE vbrp-aubel,
stypetext TYPE tvv2t-bezei,
zdex TYPE konv-kwert,
zdec TYPE konv-kwert,
dif1 TYPE konv-kwert,
dif2 TYPE konv-kwert,
dif3 TYPE konv-kwert,
dif4 TYPE konv-kwert,
dif5 TYPE konv-kwert,
dif6 TYPE konv-kwert,
deemed_jex2 TYPE konv-kwert,
deemed_jecs TYPE konv-kwert,
roundoff1 TYPE konv-kwert,
roundoff2 TYPE konv-kwert,
roundoff3 TYPE konv-kwert,
roundoff4 TYPE konv-kwert,
roundoff5 TYPE konv-kwert,
roundoff6 TYPE konv-kwert,
zcal TYPE konv-kwert,
zser TYPE konv-kwert,
zces TYPE konv-kwert,
zkf0 TYPE konv-kwert,
zins TYPE konv-kwert,
vgpos LIKE vbrp-vgpos,
ort01 LIKE kna1-ort01,
belnr LIKE bseg-belnr,
bukrs LIKE vbrk-bukrs,
zstf LIKE konv-kwert,
di13 LIKE konv-kwert,
vkorg TYPE vbrk-vkorg,
vbtyp TYPE vbrk-vbtyp,
aupos TYPE vbrp-aupos,
xblnr TYPE bkpf-xblnr,
augru TYPE vbak-augru,
reason TYPE tvaut-bezei,
*Variable for Summed up fields
waerk type vbrk-waerk,
*End of changes by Kiran.K dated 27082007
sum1 TYPE vbrp-kzwi1, "Base Price
sum2 TYPE vbrp-kzwi2, "Packing
sum4 TYPE vbrp-kzwi4, "Freight and Insurance
sum5 TYPE konv-kwert, "zsdr3-jex2
sum6 TYPE konv-kwert, "zsdr3-jecx
total1 TYPE konv-kwert, "ZSDR3
total2 TYPE konv-kwert, "Taxable LST Turnover
total3 TYPE konv-kwert, "Taxable CST Turnover
total4 TYPE konv-kwert, "Total
jin6 type konv-kwert,
lst1 type konv-kwert,
lsum type konv-kwert, "LST
END OF it_vbrk_vbrp3.
*ALV Display
*Authorization check
DATA : v_pnum TYPE usr21-persnumber.
DATA : v_dname TYPE adcp-department.
Work Areas
DATA : wa_display LIKE it_vbrk_vbrp.
DATA : wa_alv LIKE it_vbrk_vbrp.
Data
DATA : kdauf LIKE lips-kdauf.
DATA : obknr LIKE ser01-obknr.
DATA : equnr LIKE equi-equnr.
DATA : header(60) TYPE c.
DATA : vbelv LIKE vbfa-vbelv.
DATA vbelvp LIKE vbrp-aubel.
DATA : posnv LIKE vbfa-posnv.
DATA : kunnr LIKE kna1-kunnr.
DATA : kunnr1 LIKE kna1-kunnr.
DATA : adrnr LIKE vbpa-adrnr.
DATA : country LIKE adrc-country.
DATA : date1(10).
DATA : date2(10).
DATA : text(60).
DATA : alles(1) TYPE c.
DATA : allea(1) TYPE c.
DATA : alleb(1) TYPE c.
DATA : allef(1) TYPE c.
DATA : alleg(1) TYPE c.
DATA : allek(1) TYPE c.
DATA : allen(1) TYPE c.
DATA: xvbtyp LIKE dd07v-domvalue_l.
DATA: text1 LIKE dd07v-ddtext.
DATA: char(50).
DATA: tabix LIKE sy-tabix.
DATA: lilli LIKE sy-lilli.
FIELD-SYMBOLS: <feld>.
DATA : trvog TYPE c.
DATA : deemed_jex2 TYPE konv-kwert,
deemed_jecx TYPE konv-kwert,
roundoff1 TYPE konv-kwert,
roundoff2 TYPE konv-kwert,
roundoff3 TYPE konv-kwert,
roundoff4 TYPE konv-kwert,
roundoff5 TYPE konv-kwert,
roundoff6 TYPE konv-kwert.
Structure for IT
DATA wa_it_vbrk_vbrp LIKE it_vbrk_vbrp.
DATA wa_it_vbrk_vbrp3 LIKE it_vbrk_vbrp.
DATA:itevent3 TYPE slis_t_event.
DATA:itlistheader TYPE slis_t_listheader.
DATA:itlistheader3 TYPE slis_t_listheader.
DATA:walistheader LIKE LINE OF itlistheader.
DATA:walistheader3 LIKE LINE OF itlistheader.
DATA: string1(70).
DATA: title(100),date3(10),date4(10),name3(35),name4(35),plant3(4).
**SELECTION-SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETER : vkorg LIKE vbrk-vkorg OBLIGATORY.
PARAMETER : plant LIKE vbrp-werks OBLIGATORY.
PARAMETER : p_bukrs LIKE vbrk-bukrs OBLIGATORY.
SELECT-OPTIONS: s_fkart FOR vbrk-fkart OBLIGATORY.
SELECT-OPTIONS: s_fkdat FOR vbrk-fkdat OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
SELECT-OPTIONS: s_vbtyp FOR vbrk-vbtyp NO-DISPLAY.
*>>>>>>
SELECTION-SCREEN: BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
PARAMETERS: sales RADIOBUTTON GROUP grp1,
credit RADIOBUTTON GROUP grp1,
debit RADIOBUTTON GROUP grp1,
test RADIOBUTTON GROUP grp1.
SELECTION-SCREEN: END OF BLOCK block1.
*<<<<<<
START-OF-SELECTION.
To get authorisation check data
AUTHORITY-CHECK OBJECT 'ZBUKRS'
ID 'ACTVT' FIELD '01'.
ID 'BUKRS' FIELD p_bukrs.
IF sy-subrc NE 0.
MESSAGE e034(z_apd) WITH p_bukrs.
ENDIF.
PERFORM get_auth.
PERFORM getdata.
**START-OF-SELECTION
PERFORM get_unrel_item. "fill the tb with unrel.
PERFORM get_header_item.
PERFORM filtering.
PERFORM calculation.
PERFORM credit_debit.
ALV Display
IF sy-batch <> 'X'.
SET SCREEN 100.
ELSE.
PERFORM background.
ENDIF.
IF test = 'X'.
perform opt.
PERFORM test.
<b>set screen 0.</b>
ENDIF.
*& Form getdata
text
--> p1 text
<-- p2 text
FORM getdata .
SELECT belnr AS fidoc
awkey AS vbeln
xblnr
budat
gjahr
blart
FROM bkpf INTO CORRESPONDING FIELDS OF TABLE itab_temp
WHERE bukrs = p_bukrs
AND budat IN s_fkdat
AND bstat = space.
IF sy-subrc NE 0.
MESSAGE 'No Values exist for the Selection.' TYPE 'S'.
STOP.
ENDIF.
ENDFORM. " getdata
*& Form get_header_item
text
--> p1 text
<-- p2 text
FORM get_header_item .
LOOP AT itab_temp.
MOVE itab_temp-fidoc TO it_vbrk_vbrp-belnr.
MOVE itab_temp-xblnr TO it_vbrk_vbrp-xblnr.
SELECT SINGLE vbeln
fkart
knumv
netwr
waerk
fkdat
kunag
mwsbk
fksto
bukrs
vkorg
vbtyp
erdat
regio
FROM vbrk INTO CORRESPONDING FIELDS OF it_vbrk_vbrp
WHERE vbeln = itab_temp-vbeln.
SELECT werks
aubel
mvgr5
wkreg
posnr
fkimg
kzwi1
kzwi2
kzwi4
vgbel
matnr
arktx
vgpos
aupos
kdgrp_auft
FROM vbrp INTO CORRESPONDING FIELDS OF it_vbrk_vbrp
WHERE vbeln = itab_temp-vbeln.
APPEND it_vbrk_vbrp.
ENDSELECT.
CLEAR it_vbrk_vbrp.
CLEAR itab_temp.
ENDLOOP.
ENDFORM. " get_header_item
*& Class Definition *
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
handle_toolbar
FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING e_object e_interactive,
handle_user_command
FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm,
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING e_row e_column,
handle_top_of_page
FOR EVENT print_top_of_page OF cl_gui_alv_grid.
PRIVATE SECTION.
ENDCLASS. "lcl_event_receiver DEFINITION
*& Class Implementation *
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_toolbar.
Local Variables
DATA: ls_toolbar TYPE stb_button.
DATA : wa LIKE LINE OF e_object->mt_toolbar.
LOOP AT e_object->mt_toolbar INTO wa.
wa-disabled = ''.
MODIFY e_object->mt_toolbar FROM wa.
ENDLOOP.
*End
append a separator to normal toolbar
CLEAR ls_toolbar.
MOVE 3 TO ls_toolbar-butn_type.
APPEND ls_toolbar TO e_object->mt_toolbar.
append an icon to to show printing
CLEAR ls_toolbar.
MOVE 'PRINT' TO ls_toolbar-function.
MOVE icon_print TO ls_toolbar-icon.
MOVE 'Print Receipts' TO ls_toolbar-quickinfo.
MOVE ' Print' TO ls_toolbar-text.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
ENDMETHOD. " Handle_toolbar
METHOD handle_user_command.
CASE e_ucomm.
WHEN 'PRINT'.
REFRESH : lt_rows , it_vbrk_vbrp.
CALL METHOD grid1->get_selected_rows
IMPORTING
et_index_rows = lt_rows.
CALL METHOD cl_gui_cfw=>flush.
ENDCASE.
ENDMETHOD. "handle_user_command
METHOD handle_double_click.
IF e_column = 'VBELN'.
READ TABLE it_vbrk_vbrp INDEX e_row-index INTO wa_it_vbrk_vbrp.
IF sy-subrc = 0.
Set parameter ID for transaction screen field
SET PARAMETER ID 'VF' FIELD wa_it_vbrk_vbrp-vbeln.
Execute transaction VF03, and skip initial data entry screen
CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
ENDIF.
ENDIF.
ENDMETHOD. "handle_double_click
METHOD handle_top_of_page.
WRITE:/ comp_name,
/ plant_name ,
/ text.
ENDMETHOD. "handle_top_of_page
ENDCLASS. "lcl_event_receiver IMPLEMENTATION
*& Form get_auth
text
--> p1 text
<-- p2 text
FORM get_auth .
SELECT SINGLE persnumber FROM usr21 INTO (v_pnum)
WHERE bname = sy-uname.
SELECT SINGLE department FROM adcp INTO (v_dname)
WHERE persnumber = v_pnum.
ENDFORM. " get_auth
*& Form filtering
text
--> p1 text
<-- p2 text
FORM filtering .
s_vbtyp-sign = 'I'.
s_vbtyp-option = 'EQ'.
s_vbtyp-low = 'M'.
APPEND s_vbtyp.
s_vbtyp-low = 'O'.
APPEND s_vbtyp.
s_vbtyp-low = 'P'.
APPEND s_vbtyp.
SORT it_vbrk_vbrp BY vbeln posnr.
LOOP AT it_vbrk_vbrp.
IF sales = 'X' OR TEST = 'X'.
IF it_vbrk_vbrp-fksto NE 'X'
AND it_vbrk_vbrp-werks EQ plant
AND it_vbrk_vbrp-fkdat IN s_fkdat
AND it_vbrk_vbrp-vkorg EQ vkorg
AND it_vbrk_vbrp-fkart IN s_fkart
AND it_vbrk_vbrp-vbtyp EQ 'M'.
ELSE.
DELETE it_vbrk_vbrp.
CONTINUE.
ENDIF.
CLEAR it_vbrk_vbrp.
ENDIF.
IF credit = 'X'.
IF it_vbrk_vbrp-fksto NE 'X'
AND it_vbrk_vbrp-werks EQ plant
AND it_vbrk_vbrp-fkdat IN s_fkdat
AND it_vbrk_vbrp-vkorg EQ vkorg
AND it_vbrk_vbrp-fkart IN s_fkart
AND it_vbrk_vbrp-vbtyp EQ 'O'.
ELSE.
DELETE it_vbrk_vbrp.
CONTINUE.
ENDIF.
CLEAR it_vbrk_vbrp.
ENDIF.
IF debit = 'X'.
IF it_vbrk_vbrp-fksto NE 'X'
AND it_vbrk_vbrp-werks EQ plant
AND it_vbrk_vbrp-fkdat IN s_fkdat
AND it_vbrk_vbrp-vkorg EQ vkorg
AND it_vbrk_vbrp-fkart IN s_fkart
AND it_vbrk_vbrp-vbtyp EQ 'P'.
ELSE.
DELETE it_vbrk_vbrp.
CONTINUE.
ENDIF.
CLEAR it_vbrk_vbrp.
ENDIF.
*End of Insertion
*Commented For Debit and Credit Filtering Process on 19.03.07
IF it_vbrk_vbrp-fksto NE 'X'
AND it_vbrk_vbrp-werks EQ plant
AND it_vbrk_vbrp-fkdat IN s_fkdat
AND it_vbrk_vbrp-vkorg EQ vkorg
AND it_vbrk_vbrp-fkart IN s_fkart
AND it_vbrk_vbrp-vbtyp in s_vbtyp.
**ELSE.
DELETE it_vbrk_vbrp.
CONTINUE.
**ENDIF.
**CLEAR it_vbrk_vbrp.
ENDLOOP.
ENDFORM. " filtering
*& Form taxamount
text
--> p1 text
<-- p2 text
FORM taxamount .
SELECT kwert
kschl
knumv
kposn
kbetr
FROM konv INTO CORRESPONDING FIELDS OF TABLE itab_konv
WHERE knumv = it_vbrk_vbrp-knumv
AND kposn = it_vbrk_vbrp-posnr.
ENDFORM. " taxamount
*& Form calculation
text
--> p1 text
<-- p2 text
FORM calculation .
DATA:sum LIKE konv-kwert,
SUMM LIKE KONV-KWERT.
sum5 like konv-kwert, "jex2
sum6 like konv-kwert. "jecx
LOOP AT it_vbrk_vbrp.
CLEAR itab_konv.
PERFORM taxamount.
SORT itab_konv BY knumv kposn kschl.
*DIF1
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'DIF1' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-dif1.
ENDIF.
*DIF2
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'DIF2' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-dif2.
ENDIF.
*DIF3
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'DIF3' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-dif3.
ENDIF.
*DIF4
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'DIF4' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-dif4.
ENDIF.
*DIF5
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'DIF5' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-dif5.
ENDIF.
*DIF6
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'DIF6' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-dif6.
ENDIF.
*DIF13
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'DI13' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-di13.
ENDIF.
*ZDEX
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZDEX' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zdex.
ENDIF.
*ZDEC
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZDEC' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zdec.
ENDIF.
*EXCISE-DUTY JEX2
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JEX2' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jex2.
ENDIF.
IF it_vbrk_vbrp-fkart = 'ZWFX' OR it_vbrk_vbrp-fkart ='ZWJX' OR
it_vbrk_vbrp-fkart ='S1' OR it_vbrk_vbrp-fkart ='S3'.
deemed_jex2 = it_vbrk_vbrp-jex2 + it_vbrk_vbrp-zdex.
roundoff1 = deemed_jex2 + it_vbrk_vbrp-dif1.
MOVE roundoff1 TO it_vbrk_vbrp-jex2.
ENDIF.
*CESS - JCES
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JCES' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jces.
ENDIF.
roundoff6 = it_vbrk_vbrp-jces + it_vbrk_vbrp-dif6.
MOVE roundoff6 TO it_vbrk_vbrp-jces.
*EDUCATION CESS
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JECX' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jecx.
ENDIF.
roundoff2 = it_vbrk_vbrp-jecx + it_vbrk_vbrp-dif2.
MOVE roundoff2 TO it_vbrk_vbrp-jecx.
IF it_vbrk_vbrp-fkart = 'ZWFX' OR it_vbrk_vbrp-fkart ='ZWJX' OR
it_vbrk_vbrp-fkart ='S1' OR it_vbrk_vbrp-fkart ='S3'.
deemed_jecx = it_vbrk_vbrp-jecx + it_vbrk_vbrp-zdec.
roundoff2 = deemed_jecx + it_vbrk_vbrp-dif1.
MOVE roundoff2 TO it_vbrk_vbrp-jecx.
ENDIF.
*ZSTF SERVICE TAX
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZSTF' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zstf.
ENDIF.
it_vbrk_vbrp-zstf = it_vbrk_vbrp-zstf + it_vbrk_vbrp-di13.
*CST-CST%
IF it_vbrk_vbrp-fkdat GE '20070101'.
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JIN7' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jin1.
MOVE itab_konv-kbetr TO it_vbrk_vbrp-jin1_per.
ENDIF.
ELSE.
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JIN1' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jin1.
MOVE itab_konv-kbetr TO it_vbrk_vbrp-jin1_per.
ENDIF.
ENDIF.
roundoff3 = it_vbrk_vbrp-jin1 + it_vbrk_vbrp-dif3.
MOVE roundoff3 TO it_vbrk_vbrp-jin1.
it_vbrk_vbrp-jin1_per = it_vbrk_vbrp-jin1_per / 10.
*LST-LST%
IF it_vbrk_vbrp-fkdat GE '20070101'.
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JIN6' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jin2.
MOVE itab_konv-kbetr TO it_vbrk_vbrp-jin2_per.
ENDIF.
ELSE.
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JIN2' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jin2.
MOVE itab_konv-kbetr TO it_vbrk_vbrp-jin2_per.
ENDIF.
ENDIF.
roundoff4 = it_vbrk_vbrp-jin2 + it_vbrk_vbrp-dif4.
MOVE roundoff4 TO it_vbrk_vbrp-jin2.
it_vbrk_vbrp-jin2_per = it_vbrk_vbrp-jin2_per / 10.
Surcharge on LST
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'JIN5' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-jin5.
MOVE itab_konv-kbetr TO it_vbrk_vbrp-jin5_per.
ENDIF.
roundoff5 = it_vbrk_vbrp-jin5 + it_vbrk_vbrp-dif5.
MOVE roundoff5 TO it_vbrk_vbrp-jin5.
it_vbrk_vbrp-jin5_per = it_vbrk_vbrp-jin5_per / 10.
Taxable turn over
it_vbrk_vbrp-turn = it_vbrk_vbrp-kzwi1 +
it_vbrk_vbrp-kzwi2 +
it_vbrk_vbrp-jex2 +
it_vbrk_vbrp-jces +
it_vbrk_vbrp-jecx.
For moving turn over to LST and CST colomns depending upon
Region.
IF it_vbrk_vbrp-regio = '22'.
MOVE it_vbrk_vbrp-turn TO it_vbrk_vbrp-turn_lst.
ELSE.
MOVE it_vbrk_vbrp-turn TO it_vbrk_vbrp-turn_cst.
ENDIF.
*CALIBRATION COST
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZCAL' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zcal.
ENDIF.
*SERVICE CHARGE
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZSER' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zser.
ENDIF.
*CESS ON SERVICE CHARGE
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZCES' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zces.
ENDIF.
CLEAR: it_vbrk_vbrp-zins,it_vbrk_vbrp-zkf0.
*ZINS
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZINS' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zins.
ENDIF.
*ZKF0
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZKF0' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zkf0.
ENDIF.
*ZKFP
IF sy-subrc <> 0.
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZKFP' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zkf0.
ENDIF.
ENDIF.
*TOTAL
it_vbrk_vbrp-total = it_vbrk_vbrp-turn +
it_vbrk_vbrp-jin1 +
it_vbrk_vbrp-jin2 +
it_vbrk_vbrp-jin5 +
it_vbrk_vbrp-kzwi4 +
it_vbrk_vbrp-zcal +
it_vbrk_vbrp-zser +
it_vbrk_vbrp-zces.
Advance Recieved (ZADV)
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZADV' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zadv.
ENDIF.
Net Payable
it_vbrk_vbrp-net = it_vbrk_vbrp-total - it_vbrk_vbrp-zadv.
*DEALER FEE
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZCOD' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zcod.
ENDIF.
IF it_vbrk_vbrp-zcod IS INITIAL.
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZCOA' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zcod.
ENDIF.
ENDIF.
*DEEMED BENEFIT
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZDBK' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zdbk.
ENDIF.
*OPTIONAL VALUE
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZOPT' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zopt.
ENDIF.
*FOC COUPON VALUE
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZFOC' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zfoc.
ENDIF.
*FOC FILTER
READ TABLE itab_konv WITH KEY knumv = it_vbrk_vbrp-knumv kposn = it_vbrk_vbrp-posnr kschl = 'ZFCF' BINARY SEARCH.
IF sy-subrc = 0.
MOVE itab_konv-kwert TO it_vbrk_vbrp-zfcf.
ENDIF.
Net Realisation
it_vbrk_vbrp-netreal = it_vbrk_vbrp-kzwi1 - ( it_vbrk_vbrp-zcod +
it_vbrk_vbrp-zopt + it_vbrk_vbrp-zfoc
+ it_vbrk_vbrp-zfcf ).
CLEAR : vbelv,posnv.
vbelvp = it_vbrk_vbrp-aubel.
vbelv = it_vbrk_vbrp-vgbel.
posnv = it_vbrk_vbrp-posnr.
CLEAR kunnr.
CLEAR adrnr.
Getting Sales type
SELECT SINGLE kvgr2 INTO it_vbrk_vbrp-kvgr2
FROM vbak
WHERE vbeln = vbelvp.
SELECT SINGLE bezei INTO it_vbrk_vbrp-stypetext
FROM tvv2t
WHERE spras = 'EN'
AND kvgr2 = it_vbrk_vbrp-kvgr2.
PWC code Desc
SELECT SINGLE bezei INTO it_vbrk_vbrp-bezei5
FROM tvm5t
WHERE spras = 'EN'
AND mvgr5 = it_vbrk_vbrp-mvgr5.
SELECT SINGLE bstkd bstdk INTO (it_vbrk_vbrp-bstkd,
it_vbrk_vbrp-bstdk)
FROM vbkd
WHERE vbeln = it_vbrk_vbrp-aubel
AND posnr EQ '0'.
CLEAR kunnr.
CLEAR adrnr.
SELECT SINGLE kunnr adrnr INTO (kunnr,adrnr) FROM vbpa
WHERE vbeln = vbelv
AND posnr = '0'
AND parvw = 'WE'.
*ship-to city
SELECT SINGLE name1 name2 ort01 INTO
(it_vbrk_vbrp-name2,it_vbrk_vbrp-name3,
it_vbrk_vbrp-ort01)
FROM kna1
WHERE kunnr = kunnr.
CLEAR kunnr1.
SELECT SINGLE kunnr INTO kunnr1 FROM vbpa
WHERE vbeln = vbelvp
AND posnr = '0'
AND parvw = 'ZF'.
CLEAR it_vbrk_vbrp-fname.
SELECT SINGLE name2 INTO
(it_vbrk_vbrp-fname)
FROM kna1
WHERE kunnr = kunnr1.
CLEAR country.
CLEAR: it_vbrk_vbrp-addr1,it_vbrk_vbrp-addr2,it_vbrk_vbrp-name3,
it_vbrk_vbrp-city1,it_vbrk_vbrp-country.
SELECT SINGLE name3 street str_suppl1 str_suppl2 city1 city2 country
INTO
(it_vbrk_vbrp-name3,it_vbrk_vbrp-street,
it_vbrk_vbrp-addr1,it_vbrk_vbrp-addr2,
it_vbrk_vbrp-city1,it_vbrk_vbrp-city2,
it_vbrk_vbrp-country)
FROM adrc
WHERE addrnumber = adrnr.
CLEAR it_vbrk_vbrp-landx.
SELECT SINGLE landx INTO it_vbrk_vbrp-landx FROM t005t
WHERE spras = 'EN'
AND land1 = country.
CLEAR obknr.
CLEAR equnr.
CLEAR it_vbrk_vbrp-typbz.
Model and Serial No Ref
SELECT SINGLE obknr INTO obknr FROM ser01
WHERE lief_nr = it_vbrk_vbrp-vgbel
AND posnr = it_vbrk_vbrp-vgpos.
IF sy-subrc EQ 0.
SELECT DISTINCT equnr sernr taser INTO TABLE it_objk
FROM objk
WHERE obknr = obknr.
AND taser = 'SER01'.
LOOP AT it_objk.
IF it_objk-taser NE 'SER01'.
DELETE it_objk.
ENDIF.
ENDLOOP.
READ TABLE it_objk INDEX 1.
IF sy-subrcHi,
if you want to leave the program and go back to the code then use.
when 'BACK'.
set screen 0.
leave program.
or if you want to go back to selection screen
when 'BACK'.
leave to screen 0.
thanks
vivekanand -
Do I use bytes when I download music
How many bytes are used when you download music from the clouds
Welcome to the Apple community.
That varies significantly from tune to tune, depending up on its complexity and more so from its length. As a very rough guide, an average tune may use 6 to 8 MB. -
I use Time Machine with an external hard disc which has worked perfectly for some years. Recently Time Machine has aborted backups if the screen saver starts when back-up is in progress. I use a Maxtor OneTouch4 back-up system. Any ideas?
Has Apple recently up-dated my OS (Lion) such that every time the screen saver starts it disables Time Machine. I have to switch-off the computer and re-start in order to undertake a back-up. I have now switched of all screen savers.Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
Be sure your Mac is shut down.
Press the power button.
Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem(s)?
After testing, reboot as usual (i.e., not in safe mode.) -
Why do google search results reset to match the search bar terms when i use the back button?
Since the update to FF 23, the list of Google search results clears and the on-page search box is reset to match the address bar search box when I hit the back button to re-view the results list after checking a result.
To see this issue for yourself, set your search provider to Google and make sure Instant is on. Type a search term into the search bar and press enter. A google page appears with your results list. Now, change your search terms or conduct a new search directly from the google page (without using the FF search bar). Click on the first result in the search list, then click the back button to return to the search results so you can check a differest result. As FF goes back to the google page, it will reset the on-page search box to match the FF search bar (although you were no longer on this search) and all search results will disappear, replaced by the message "Press enter to search". Pressing enter reconducts your old search, not the one you were on.
This is incredibly maddening since searching for something requires frequent use of the back button to check through the list of search results, and then frequently trying the search again with slightly different terms. Although it sounds like a Google issue, it did not occur on the old firefox and has me wanting to revert. I tried to revert to the old search function via the "keyword search" addon, but this did not fix my issue. Is there a way to force FF to go back to the actual google search page I was just on instead of conducting a new google search from the FF search box when I hit the back button?In Firefox 23 versions and later the keyword.URL pref is no longer supported and it is no longer possible to specify the search engine for the location bar via the keyword.URL pref.<br />
The search engine that is used on the location bar and on the about:home page is the search engine that is selected in the search Bar on the Navigation Toolbar.<br />
Current Firefox versions do not update the about:home home page until you refresh the page (future versions will do this automatically without a refresh) and that is what happens if you use the Back key.
You can install the Keyword Search extension to specify with search engine to use for the location bar and which search engine to use for the about:home page via the Options/Preferences windows of this extension, accessible via the about:addons page.
* Keyword Search: https://addons.mozilla.org/firefox/addon/keyword-search/ -
How do I back up my iTunes 10.6 library to disc? Using Windows 7
I have recently bought a new laptop, so I have had to download the updated version of iTunes. But the problem is how do I transfer my iTunes library over to my new laptop via disc?
Please help!These are two possible approaches that will normally work to move an existing library to a new computer.
Method 1
Backup the library with this User Tip.
Deauthorize the old computer if you no longer want to access protected content on it.
Restore the backup to your new computer using the same tool used to back it up.
Keep your backup up-to-date in future.
Method 2
Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
I'd recommend method 1 since it establishes an ongoing backup for your library.
If you have an iOS device that syncs with contact & calendar data on your computer you should migrate this information too. If that isn't possible create a dummy entry of each type in your new profile and iTunes should offer to merge the existing data from the device into the computer, otherwise the danger is that it will wipe the information from the device.
If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
tt2 -
After doing a Google search, I click on a link and go to the searched web page. When I go back to the Google page using the back button the links I originally clicked on no longer show as "greyed out". Any idea what is going on with the browser?
Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
* Preferences that have been modified are shown as '''bold (user set)'''.
* Preferences can be '''Reset to the default''' or changed via the right-click context menu.
-> In the '''Filter bar''', type '''browser.sessionhistory.max_entries'''
* Right click the preference '''browser.sessionhistory.max_entries''' and click '''Modify'''
* Change value from 0 to whatever you want over 0 (Default value is 50)
* click OK
-> Close the '''about:config''' tab and then Restart Firefox.
See this post:
* https://support.mozilla.com/en-US/questions/860894#answer-229574
Check and tell if its working. -
I have bought a WD My Book World Edition to use for back-up of my iMac, but when I try and log onto the drive with Apple time Machine (back-up software) or connect in any other way I get the message 'There was a problem connecting to the server "MybookWorld.local" The version of the server you are trying to connect to is not supported. Please contact your system administrator to resolve the problem'
It is a brand new iMac and running Lion OSX
Any ideas on how to solve would be gratefully received?Followed the directions on this page and it worked!
http://forums.macrumors.com/showthread.php?t=1102423
Part One - Turn on SSH (in the admin panel)
[1] Go to to http://mybookworld.local
[2] login: username will be admin, password will be whatever you have setup. If you can't remember it should be in your Mac OS X keychain (Utilities > Keychain Access, search for "mybookworld"). If you have not changed if from the default the password will be admin as well.
[3] Switch to advanced mode.
[4] From the System tab, pick Advanced.
[5] Enable SSH Access, and click submit.
[6] Click on the network tab and then the LAN button
[7] Make a note of the IP address
Small, maybe obvious, but nevertheless important point: For the install to work, your NAS needs to be connected to a router with internet access.
Part Two - Install netatalk2.2
[8] Open Terminal.app (Utilities > Terminal)
[9] Enter the following command (substitute in 127.0.0.1 for the actual IP address you noted down in step 7), then hit return:
Code:
ssh [email protected]
[10] When prompted, enter the ssh password (will be welc0me).
[11] You are now going to download the installer. Enter the following command, then hit return:
Code:
wget http://mybookworld.wikidot.com/local--files/netatalk2-2-on-whitelight/install_netatalk.sh -O install_netatalk.sh
[12] Once completed, you will need to run the installer. Type:
Code:
sh install_netatalk.sh
[13] You will be asked a number of question during install, answer yes to all. When asked about the "DHX2 login process", I opted to install the modified version, so I can confirm it works.
[14] Once the box has restarted, you should be able to connect to your afp shares and continue to use Time Machine. -
<blockquote>Locked by Moderator as a duplicate/re-post.
Please continue the discussion in this thread: [/forum/1/688252]
Thanks - c</blockquote>
== Issue
==
I have another kind of problem with Firefox
== Description
==
My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is always closed. I need one on one help. Please reply with resolution.
== This happened
==
Every time Firefox opened
== two or three months ago
==
== Firefox version
==
3.6.3
== Operating system
==
Windows XP
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 (BT-canvas) Firefox/3.6.3 GTB7.0 (.NET CLR 3.5.30729)
== Plugins installed
==
*-npdnu
*npdnupdater2
*Coupons, Inc. Coupon Printer DLL
*Coupons, Inc. Coupon Printer Plugin
*The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
*6.0.12.448
*RealPlayer(tm) LiveConnect-Enabled Plug-In
*RealJukebox Netscape Plugin
*Default Plug-in
*Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
*BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
*Shockwave Flash 10.0 r45
*Yahoo Application State Plugin version 1.0.0.7
*3.0.50106.0
*My Web Search Plugin Stub for 32-bit Windows
*Google Updater pluginhttp://pack.google.com/
*Google Update
*Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
*Npdsplay dll* If the menu bar is hidden then press and hold the Alt key down, that should make the Menu bar appear (Firefox 3.6 on Windows) (see [[Menu bar is missing]]).
* Make sure that you have the ''Navigation Toolbar'' and other toolbars visible: View > Toolbars .
* If items are missing then see if you can find them in the View > Toolbars > Customize window.
* If you see the item in the Customize window then drag it back from the Customize window to the Navigation toolbar.
* If you do not see that item then click the Restore Default Set button in the View > Toolbars > Customize window.
See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
See http://kb.mozillazine.org/Toolbar_customization
Maybe you are looking for
-
I am writing a simple RSS reader app in Flex (for AIR). I have a "change feed" button in my app. I want this to launch a popup with text input, to take the URL as a string and return it to my main app. This seems like something that should be incredi
-
File does not exist: ucm cluster...
Hi all, I've a 10gR3 UCM cluster with 2 nodes. I've replicated a new web site project. The request to node 1, works fine, but the node 2 gives an error. I've seen the apache logs at node 2 and get the next error: [Fri May 18 09:10:04 2012] [error] [c
-
Hi Guys, I have an issue with F110 payment to vendors, system have done payments to vendor and created an list of payment where the issue is for same vendor we have two payments fo which its created two different documents of clearing and showing the
-
WEP password from my iMac G4 flatscreen not support by Time Capsule
Hello, I've just installed my new Time Capsule (dual band) today in combination with my new MacBook Pro. It all works fine, however I also have an 'old' iMac G4 17" flatscreen and here is the problem: although I use Mac OS X 10.4.11 I can't connect t
-
Driver for intel cs330 webcam on windows 7
HI I have a great old webcam a Intel CS330, but i have just bought a new computer and its runing windows 7 and i cant seem to find a driver for it :( Could you please tell me where i may get this from if it is avalible or if it will be anytime soon.