CRR: Need script for Validated, unpaid and unhold invoices

Hello Friends,
Kindly give me report to prepare Cash Requirment Report. Which should have validated, unpaid and unhold invoices in the output.
Thanks in advance.
Regards,
Raj
Below is the my query -- Getting wrong data
select decode(ia.set_of_books_id ,224,'TGB Australia - Primary SOB'
,225,'TGB Australia - Reporting SOB'
,446,'TGB Belgium - Primary SOB'
,447,'TGB Belgium - Reporting SOB'
,324,'TGB Bermuda GBRM SOB'
,364,'TGB Bermuda Holding Limited SOB'
,306,'TGB Bermuda International Holding SOB'
,284,'TGB Bermuda SOB'
,45, 'TGB Canada - Primary SOB'
,44, 'TGB Canada - Reporting SOB'
,244,'TGB Consolidation SOB'
,84, 'TGB France - Primary SOB'
,85, 'TGB France - Reporting SOB'
,70, 'TGB Germany - Primary SOB'
,71, 'TGB Germany - Reporting SOB'
,168,'TGB Hong Kong - Primary SOB'
,169,'TGB Hong Kong - Reporting SOB'
,72, 'TGB Italy - Primary SOB'
,73, 'TGB Italy - Reporting SOB'
,409,'ITXC Corp. - Primary SOB'
,408,'ITXC Global SOB'
,404,'ITXC Hold - Primary SOB'
,405,'ITXC Hold - Reporting SOB'
,406,'ITXC Hold 2 - Primary SOB'
,407,'ITXC Hold 2 - Reporting SOB'
,424,'ITXC IPCO SOB'
,170,'TGB Japan - Primary SOB'
,171,'TGB Japan - Reporting SOB'
,285,'TGB Luxembourg - Primary SOB'
,286,'TGB Luxembourg - Reporting SOB'
,287,'TGB Luxembourg Holding - Primary SOB'
,288,'TGB Luxembourg Holding - Reporting SOB'
,289,'TGB Netherlands BV - Primary SOB'
,290,'TGB Netherlands BV - Reporting SOB'
,304,'TGB Netherlands Holding BV - Primary SOB'
,305,'TGB Netherlands Holding BV - Reporting SOB'
,172,'TGB Norway - Primary SOB'
,173,'TGB Norway - Reporting SOB'
,444,'TGB Poland - Primary SOB'
,445,'TGB Poland - Reporting SOB'
,344,'TGB Puerto Rico SOB'
,384,'TGB Singapore - Primary SOB'
,385,'TGB Singapore - Reporting SOB'
,68, 'TGB Spain - Primary SOB'
,69, 'TGB Spain - Reporting SOB'
,465,'TVC Teleglobe-VSNL Consolidation'
,164,'TGB United Kingdom - Primary SOB'
,165,'TGB United Kingdom - Reporting SOB'
,265,'TGB USA SOB'
,484,'VSNL International SOB (301)'
,485,'VSNL America SOB (302)'
,486,'VSNL Bermuda SOB'
,487,'VSNL Guam SOB'
,504,'VSNL Japan Primary SOB'
,505,'VSNL Japan Reporting SOB'
,506,'VSNL Singapore SOB'
,508,'VSNL Hong Kong SOB'
,509,'VSNL UK TEL - Primary SOB'
,510,'VSNL UK TEL - Reporting SOB'
,511,'VSNL France - Primary SOB'
,512,'VSNL France - Reporting SOB'
,513,'VSNL Netherlands - Primary SOB'
,514,'VSNL Netherlands - Reporting SOB'
,515,'VSNL Germany - Primary SOB'
,516,'VSNL Germany - Reporting SOB'
,517,'VSNL Belgium - Primary SOB'
,518,'VSNL Belgium - Reporting SOB'
,519,'VSNL UK LTD - Primary SOB'
,520,'VSNL UK LTD - Reporting SOB'
,521,'VSNL Spain - Primary SOB'
,522,'VSNL Spain - Reporting SOB'
,523,'VSNL Portugal INS - Primary SOB'
,524,'VSNL Portugal INS - Reporting SOB'
,525,'VSNL Portugal UNI - Primary SOB'
,526,'VSNL Portugal UNI - Reporting SOB') Sob_Name
,decode(tl.due_days,NULL,to_char(tl.fixed_date,'DD-MON-YYYY')
,to_char((inv.due_date),'DD-MON-YYYY')) Due_Date
,ib.batch_name
,v.segment1 Vendor_Number
,v.vendor_name
,ia.invoice_num
,to_char(ia.invoice_date,'DD-MON-YYYY') Invoice_Date
,ia.invoice_currency_code
,pos.po_number PO_Number
,(inv.amount_remaining) Currency_Invoice_Amount
,ia.exchange_rate
,round(inv.amount_remaining * nvl(ia.exchange_rate,1),2) USD_Invoice_Amount
,ia.description
,ia.pay_group_lookup_code
,decode(hld.holds_count,NULL,'Yes'
,hld.holds_count) Approved
from (select invoice_id
,count(invoice_id) Holds_Count
from ap_holds_all
where release_lookup_code is null
group by invoice_id) hld
,(select psa.invoice_id
,psa.due_date
,psa.gross_amount
,psa.amount_remaining
,psa.payment_method_lookup_code
,psa.payment_status_flag
from ap_payment_schedules_all psa
where psa.payment_status_flag in ('N','P')
and amount_remaining is not null) inv
,(select ida.invoice_id
,max(po.segment1) po_number
from po_headers_all po
,po_distributions_all pd
,ap_invoice_distributions_all ida
where ida.po_distribution_id = pd.po_distribution_id
and pd.po_header_id = po.po_header_id
and ida.po_distribution_id is not null
group by ida.invoice_id) pos
,ap_Terms_Lines tl
,ap_terms t
,po_vendor_sites_all vsa
,ap_batches_all ib
,ap_invoices_all ia
,po_vendors v
where ia.vendor_id = v.vendor_id
and ia.invoice_id = hld.invoice_id
and ia.terms_id = t.term_id
and t.term_id = tl.term_id
and ia.vendor_id = vsa.vendor_id
and ia.vendor_site_id = vsa.vendor_site_id
and ia.batch_id = ib.batch_id(+)
and ia.invoice_id = inv.invoice_id
and ia.invoice_id = pos.invoice_id(+)
and ia.invoice_id = decode(vsa.hold_future_payments_flag,'N',decode(vsa.hold_all_payments_flag,'N',inv.invoice_id))
and inv.amount_remaining != 0
and (inv.due_date <= &<name="Pay Through Date"
hint="Please enter a Pay Through Date (eg: 31-MAY-2007)"
type="string"
required="yes">
or tl.fixed_date <= &<name="Pay Through Date"
hint="Please enter a Pay Through Date (eg: 31-MAY-2007)"
type="string"
required="yes">)
order by (inv.due_date)

Hello Friends,
Kindly give me report to prepare Cash Requirment Report. Which should have validated, unpaid and unhold invoices in the output.
Thanks in advance.
Regards,
Raj
Below is the my query -- Getting wrong data
select decode(ia.set_of_books_id ,224,'TGB Australia - Primary SOB'
,225,'TGB Australia - Reporting SOB'
,446,'TGB Belgium - Primary SOB'
,447,'TGB Belgium - Reporting SOB'
,324,'TGB Bermuda GBRM SOB'
,364,'TGB Bermuda Holding Limited SOB'
,306,'TGB Bermuda International Holding SOB'
,284,'TGB Bermuda SOB'
,45, 'TGB Canada - Primary SOB'
,44, 'TGB Canada - Reporting SOB'
,244,'TGB Consolidation SOB'
,84, 'TGB France - Primary SOB'
,85, 'TGB France - Reporting SOB'
,70, 'TGB Germany - Primary SOB'
,71, 'TGB Germany - Reporting SOB'
,168,'TGB Hong Kong - Primary SOB'
,169,'TGB Hong Kong - Reporting SOB'
,72, 'TGB Italy - Primary SOB'
,73, 'TGB Italy - Reporting SOB'
,409,'ITXC Corp. - Primary SOB'
,408,'ITXC Global SOB'
,404,'ITXC Hold - Primary SOB'
,405,'ITXC Hold - Reporting SOB'
,406,'ITXC Hold 2 - Primary SOB'
,407,'ITXC Hold 2 - Reporting SOB'
,424,'ITXC IPCO SOB'
,170,'TGB Japan - Primary SOB'
,171,'TGB Japan - Reporting SOB'
,285,'TGB Luxembourg - Primary SOB'
,286,'TGB Luxembourg - Reporting SOB'
,287,'TGB Luxembourg Holding - Primary SOB'
,288,'TGB Luxembourg Holding - Reporting SOB'
,289,'TGB Netherlands BV - Primary SOB'
,290,'TGB Netherlands BV - Reporting SOB'
,304,'TGB Netherlands Holding BV - Primary SOB'
,305,'TGB Netherlands Holding BV - Reporting SOB'
,172,'TGB Norway - Primary SOB'
,173,'TGB Norway - Reporting SOB'
,444,'TGB Poland - Primary SOB'
,445,'TGB Poland - Reporting SOB'
,344,'TGB Puerto Rico SOB'
,384,'TGB Singapore - Primary SOB'
,385,'TGB Singapore - Reporting SOB'
,68, 'TGB Spain - Primary SOB'
,69, 'TGB Spain - Reporting SOB'
,465,'TVC Teleglobe-VSNL Consolidation'
,164,'TGB United Kingdom - Primary SOB'
,165,'TGB United Kingdom - Reporting SOB'
,265,'TGB USA SOB'
,484,'VSNL International SOB (301)'
,485,'VSNL America SOB (302)'
,486,'VSNL Bermuda SOB'
,487,'VSNL Guam SOB'
,504,'VSNL Japan Primary SOB'
,505,'VSNL Japan Reporting SOB'
,506,'VSNL Singapore SOB'
,508,'VSNL Hong Kong SOB'
,509,'VSNL UK TEL - Primary SOB'
,510,'VSNL UK TEL - Reporting SOB'
,511,'VSNL France - Primary SOB'
,512,'VSNL France - Reporting SOB'
,513,'VSNL Netherlands - Primary SOB'
,514,'VSNL Netherlands - Reporting SOB'
,515,'VSNL Germany - Primary SOB'
,516,'VSNL Germany - Reporting SOB'
,517,'VSNL Belgium - Primary SOB'
,518,'VSNL Belgium - Reporting SOB'
,519,'VSNL UK LTD - Primary SOB'
,520,'VSNL UK LTD - Reporting SOB'
,521,'VSNL Spain - Primary SOB'
,522,'VSNL Spain - Reporting SOB'
,523,'VSNL Portugal INS - Primary SOB'
,524,'VSNL Portugal INS - Reporting SOB'
,525,'VSNL Portugal UNI - Primary SOB'
,526,'VSNL Portugal UNI - Reporting SOB') Sob_Name
,decode(tl.due_days,NULL,to_char(tl.fixed_date,'DD-MON-YYYY')
,to_char((inv.due_date),'DD-MON-YYYY')) Due_Date
,ib.batch_name
,v.segment1 Vendor_Number
,v.vendor_name
,ia.invoice_num
,to_char(ia.invoice_date,'DD-MON-YYYY') Invoice_Date
,ia.invoice_currency_code
,pos.po_number PO_Number
,(inv.amount_remaining) Currency_Invoice_Amount
,ia.exchange_rate
,round(inv.amount_remaining * nvl(ia.exchange_rate,1),2) USD_Invoice_Amount
,ia.description
,ia.pay_group_lookup_code
,decode(hld.holds_count,NULL,'Yes'
,hld.holds_count) Approved
from (select invoice_id
,count(invoice_id) Holds_Count
from ap_holds_all
where release_lookup_code is null
group by invoice_id) hld
,(select psa.invoice_id
,psa.due_date
,psa.gross_amount
,psa.amount_remaining
,psa.payment_method_lookup_code
,psa.payment_status_flag
from ap_payment_schedules_all psa
where psa.payment_status_flag in ('N','P')
and amount_remaining is not null) inv
,(select ida.invoice_id
,max(po.segment1) po_number
from po_headers_all po
,po_distributions_all pd
,ap_invoice_distributions_all ida
where ida.po_distribution_id = pd.po_distribution_id
and pd.po_header_id = po.po_header_id
and ida.po_distribution_id is not null
group by ida.invoice_id) pos
,ap_Terms_Lines tl
,ap_terms t
,po_vendor_sites_all vsa
,ap_batches_all ib
,ap_invoices_all ia
,po_vendors v
where ia.vendor_id = v.vendor_id
and ia.invoice_id = hld.invoice_id
and ia.terms_id = t.term_id
and t.term_id = tl.term_id
and ia.vendor_id = vsa.vendor_id
and ia.vendor_site_id = vsa.vendor_site_id
and ia.batch_id = ib.batch_id(+)
and ia.invoice_id = inv.invoice_id
and ia.invoice_id = pos.invoice_id(+)
and ia.invoice_id = decode(vsa.hold_future_payments_flag,'N',decode(vsa.hold_all_payments_flag,'N',inv.invoice_id))
and inv.amount_remaining != 0
and (inv.due_date <= &<name="Pay Through Date"
hint="Please enter a Pay Through Date (eg: 31-MAY-2007)"
type="string"
required="yes">
or tl.fixed_date <= &<name="Pay Through Date"
hint="Please enter a Pay Through Date (eg: 31-MAY-2007)"
type="string"
required="yes">)
order by (inv.due_date)

Similar Messages

  • Need scripts for fetching groups and subgroups info , script for del users

    Hi ,
    I need a script or macro which will fetch list of groups and sub groups triend forums download did not fine one.
    I need another script which will delete listed users there is a macro in forums but it doesn't suit my rquirement.
    Any one have these scripts handy with you please help me with that,
    Regards,
    Neo.

    Hi Braham,
    Thanks for your quick reply.
    Are we able to do this on two stage method
    1. grab the security groups from the share paths
    if can grab the share path from a separate txt file than copying it to the <your path> location
    so i can modify the txt file
    once run the script
    if can the output like below to a CSV file
    \\servername\foldermain\folder1group 1group 2group 3\\servername\foldermain\folder2group 1group 2group 3then i know which groups belongs to which share paththen i can remove the duplicate groups and keep the common groups to grab the users belongs to itso with the second script same as the first copy the security groups to a txt file and the out put as below.what I needs is the users full name and the samaccount name ( user id )group 1user1user2user3
    group 2user1user2user3looking forward your help on thisThank you.Thilo

  • Hi i need material for module pool and alv's.

    hi
      i need material for module pool and ALV's(not object oriented) if any one have pls do send that to my
    ID [email protected]
    thanx in advance.

    Hi
    Check the below link:
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    You can also check the transaction ABAPDOCU which gives you lot of sample programs.
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    ALV
    ABAP List Viewer
    The common features of report are column alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).
    This helps us to implement all the features mentioned very effectively.
    Using ALV, We can have three types of reports:
    1. Simple Report
    2. Block Report
    3. Hierarchical Sequential Report
    There are some function modules which will enable to produce the above reports without much effort.
    All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS.
    1. SIMPLE REPORT.
    The important function modules are
    a. Reuse_alv_list_display
    b. Reuse_alv_fieldcatalog_merge
    c. Reuse_alv_events_get
    d. Reuse_alv_commentary_write
    e. Reuse_alv_grid_display
    A. REUSE_ALV_LIST_DISPLAY : This is the function module which prints the data.
    The important parameters are :
    I. Export :
    i. I_callback_program : report id
    ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status
    iii. I_callback_user_command : routine where the function codes are handled
    iv. I_structure name : name of the dictionary table
    v. Is_layout : structure to set the layout of the report
    vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE
    vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.
    II. Tables :
    i. t_outtab : internal table with the data to be output
    B. REUSE_ALV_FIELDCATALOG_MERGE : This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.
    The Important Parameters are :
    I. Export :
    i. I_program_name : report id
    ii. I_internal_tabname : the internal output table
    iii. I_inclname : include or the report name where all the dynamic forms are handled.
    II Changing
    ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is
    declared in the type pool SLIS.
    C. REUSE_ALV_EVENTS_GET : Returns table of possible events for a list type
    Parameters :
    I. Import :
    Et_Events : The event table is returned with all possible CALLBACK events
    for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV.
    II. Export :
    I_List_type :
    0 = simple list REUSE_ALV_LIST_DISPLAY
    1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY
    2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND
    3 = hierarchical-sequential block list
    REUSE_ALV_BLOCK_LIST_HS_APPEND
    D. REUSE_ALV_COMMENTARY_WRITE : This is used in the Top-of-page event to print the headings and other comments for the list.
    Parameters :
    I. it_list_commentary : internal table with the headings of the type slis_t_listheader.
    This internal table has three fields :
    Typ : ‘H’ – header, ‘S’ – selection , ‘A’ - action
    Key : only when typ is ‘S’.
    Info : the text to be printed
    E. REUSE_ALV_GRID_DISPLAY : A new function in 4.6 version, to display the results in grid rather than as a preview.
    Parameters : same as reuse_alv_list_display
    This is an example for simple list.
    2. BLOCK REPORT
    This is used to have multiple lists continuously.
    The important functions used in this report are:
    A. REUSE_ALV_BLOCK_LIST_INIT
    B. REUSE_ALV_BLOCK_LIST_APPEND
    C. REUSE_ALV_BLOCK_LIST_HS_APPEND
    D. REUSE_ALV_BLOCK_LIST_DISPLAY
    A. REUSE_ALV_BLOCK_LIST_INIT
    Parameters:
    I. I_CALLBACK_PROGRAM
    II. I_CALLBACK_PF_STATUS_SET
    III. I_CALLBACK_USER_COMMAND
    This function module is used to set the default gui status etc.
    B. REUSE_ALV_BLOCK_LIST_APPEND
    Parameters :
    Export :
    I. is_layout : layout settings for block
    II. it_fieldcat : field catalog
    III. i_tabname : internal table name with output data
    IV. it_events : internal table with all possible events
    Tables :
    i. t_outtab : internal table with output data.
    This function module adds the data to the block.
    Repeat this function for all the different blocks to be displayed one after the other.
    C. REUSE_ALV_BLOCK_LIST_HS_APPEND
    This function module is used for hierarchical sequential blocks.
    D. REUSE_ALV_BLOCK_LIST_DISPLAY
    Parameters : All the parameters are optional.
    This function module display the list with data appended by the above function.
    Here the functions REUSE_ALV_FIELDCATALOG_MERGE, REUSE_ALV_EVENTS_GET, REUSE_ALV_COMMENTARY_WRITE can be used.
    3. Hierarchical reports :
    Hierarchical sequential list output.
    The function module is
    A. REUSE_ALV_HIERSEQ_LIST_DISPLAY
    Parameters:
    I. Export:
    i. I_CALLBACK_PROGRAM
    ii. I_CALLBACK_PF_STATUS_SET
    iii. I_CALLBACK_USER_COMMAND
    iv. IS_LAYOUT
    v. IT_FIELDCAT
    vi. IT_EVENTS
    vii. i_tabname_header : Name of the internal table in the program containing the
    output data of the highest hierarchy level.
    viii. i_tabname_item : Name of the internal table in the program containing the
    output data of the lowest hierarchy level.
    ix. is_keyinfo : This structure contains the header and item table field
    names which link the two tables (shared key).
    II. Tables
    i. t_outtab_header : Header table with data to be output
    ii. t_outtab_item : Name of the internal table in the program containing the
    output data of the lowest hierarchy level.
    slis_t_fieldcat_alv : This internal table contains the field attributes. This internal table can be populated automatically by using ‘REUSE_ALV_FIELDCATALOG_MERGE’.
    Important Attributes :
    A. col_pos : position of the column
    B. fieldname : internal fieldname
    C. tabname : internal table name
    D. ref_fieldname : fieldname (dictionary)
    E. ref_tabname : table (dictionary)
    F. key(1) : column with key-color
    G. icon(1) : icon
    H. symbol(1) : symbol
    I. checkbox(1) : checkbox
    J. just(1) : (R)ight (L)eft (C)ent.
    K. do_sum(1) : sum up
    L. no_out(1) : (O)blig.(X)no out
    M. outputlen : output length
    N. seltext_l : long key word
    O. seltext_m : middle key word
    P. seltext_s : short key word
    Q. reptext_ddic : heading (ddic)
    R. ddictxt(1) : (S)hort (M)iddle (L)ong
    S. datatype : datatype
    T. hotspot(1) : hotspot
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Go thru these programs they may help u to try on some hands on
    ALV Demo program
    BCALV_DEMO_HTML
    BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
    BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
    BCALV_GRID_DEMO Simple ALV Control Call Demo Program
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO
    BC_ALV_DEMO_HTML_D0100
    Reward points if useful
    Regards
    Anji

  • Can I uninstall Extension Manager CC, or do I need ot for CC Photoshop and Lightroom?

    Can I uninstall Extension Manager CC, or do I need ot for CC Photoshop and Lightroom?

    Thank you, "Staff" (NOT YOU CARL SUN).   But you (STAFF)  have not answered my original query.
    Here is an explanation of my original question.
    I want to uninstall Extension Manager from my CC2014 App Menu.  Is this a mistake?  Or should i not do this because I need it for my CC2014 Program, i.e , Photoshop CC 2014 NS  and Lightroom cc 2014 alone.  I have nothing else.  I want  nothing else.

  • Pkgman - a bash script for local package and PKGBUILD management

    hi all,
    here is a script which manages a local repository and lets you edit
    PKGBUILDs and other related files, automatically generates checksums,
    build packages, add them to your local repo and so on.
    it also has AUR support for submitting tarballs, leaving comments, etc.
    get it from here:
    http://sourceforge.net/projects/pkgman/
    and AUR package:
    http://aur.archlinux.org/packages.php?ID=17100
    you need abs, curl and pacman and optionally namcap and desktop-file-utils.
    RTFM online:
    http://sourceforge.net/apps/mediawiki/p … n_man_page
    first of all copy the pkgman.conf and AUR.conf files from /usr/share/pkgman to ~/.config/pkgman/  or ${XDG_CONFIG_HOME}/pkgman - if ${XDG_CONFIG_HOME} is set,
    edit these two files and then run
    pkgman --runmefirst
    pkgman doesn´t install anything. if you want it just builds the package and moves it to your local repository. install it then with pacman.
    it also has no dependency handling. there are many other tools which provide this.
    the main intention was to keep track of package versions, different PKGBUILD versions and own AUR submitted tarballs; also to keep a clean local repository and clean build directories.
    pkgman is stable now. i´m using it for months without any issues.
    however, if there are problems or feedback please post them here.
    vlad
    changelog:
    version 2.4:
           *pkgman now respects the PKGDEST and SRCDEST variables from makepkg.conf. (though it still moves the src.tar.gz and .pkg.tar.gz to package backup directory).
    version 2.5:
           *pkgman uses PKGDEST if SRCDEST not set in makepkg.conf.
    version 2.6 -> r26:
           *changed version system: version 2.6 is now r26!
           *minor changes: > pkgman uses now the $SHELL variable.
                                    > new and more comprehensible manpage description (thanks to bender02)
    version r27:
           *changed SRCDEST since it's only a cache dir. all files (pkg.tar.gz and src.tar.gz) go to PKGDEST.
    version r28:
           *added new variable ShellCommand to pkgman.conf. Default is $SHELL.
           *One might use an external application (like screen or xterm) to switch to build directory and edit files simultaneously.
    version r30:
           *minor changes. nothing crucial
    r32: *OverwriteExistingPackage isn't used anymore. one can delete it from ~/.config/pkgman/pkgman.conf.
           *minor changes
    version r33:
           *"-l|--list" also shows installed package version and available ABS/AUR PKGBUILD version for given package.
           *"-a|--abs" can now also be used with other options (like "-e")
    r39: * when backing up src.tarballs it asks whether to backup the source file or not
           * more detailed "--list" option - also shows if package is installed or not and available ABS/AUR version
           * added prompt to clean up directory after makepkg
           * when checking pkg.tar.gz also possibility to check for conflicts with files of already installed packages
           * use $PAGER instead of less
           * --help directly shows the manpage
           * --shorthelp shows a brief usage overview
           * added a custom prompt, but only when using bash (is somehow experimental - works fine here for me)
           * minor internal changes
           * pkgman also reads ~/.aurvote file for getting aur name and password. if one already uses aurvote then there is no need for the
             ~/.config/pkgman/AUR.conf file.
    r40: * new manual page & rewrite of usage function
           * both option "--flush" and "--flushall" were omitted in favor of the more versatile "--cleanup" option
           * pkgman <packagename> checks now if <packagename> is owned by user
           * backup option after each editing
           * added license
           * minor internal changes
    r41: * just small bug fixes, nothing crucial.
    r42: * more bugs fixed.
    r45: * new options added:
              >   --listversions: list local and available versions of installed packages from LocalPackages directory
              >  --getownpackages: synchronize local own packages with AUR
           * added new variable in pkgman.conf:
              > ListOutputInPager: output of, for example, "--list" or "--own" is piped into $PAGER
           * added a new optional dependency "desktop-file-utils" for validating desktop entry files
           * also supports now auto-generation of sha sums not only md5
           * internal fixes due to AUR interface changes:
              > use of json interface
              > correct parsing of package category
           * added 2 proto files (located under /usr/share/pacman):
              >  proto.desktop: a template for *.desktop files
              > PKGBUILD-lib32.proto: a template for lib32 packages for x86_64
           * some code changes and fixes
    r46: * added new option to pkgman.conf (AutoGenerateSums).
             > if AutoGenerateSums=no then pkgman asks whether to generate checksums or not.
             > if set to yes it behaves like in former versions.
    r52: * "--getownpackages" with more than 100 packages works again
           * added new option "--cachecopy":
              For each package in CacheCopyList (new variable in pkgman.conf) get existing package from pacman's cache directory - if
              CopyPkgFromCache (new variable in pkgman.conf) is set to yes - and/or create a source tarball of PKGBUILD and related files from ABS -
              if CopySrcFromABS (new variable in pkgman.conf) is set to yes - and copy them to package backup directory.
           * added new variables to pkgman.conf:
               > "CacheCopyList=file" - batch backup file, one package per line - default location is "$HOME/.config/pkgman/package.list".
               > "CopySrcFromABS=[yes|no]"
               > "CopyPkgFromCache=[yes|no]"
           * some bugfixes
           * docs completed
           * CacheCopyList should look like
    package1
    package2
    #this is a comment
    ! this too
    package3
    !package4
    r54: * renamed "--listversions" option to "--diffversions". makes more sense!
              from the man page:
                  pkgman --diffversions
                  Show differing ABS/AUR versions of installed packages from LocalPackages.
    r55: * minor changes.
    r57: * testing release
           * added a new option "--rollback":
               "pkgman <packagename> --rollback" - checks  http://arm.kh.nu for available package versions,
                                                          lets you choose one, fetches the package and
                                                          moves it to the <packagename> backup directory (if "--repoadd" is used).
    r59: * stable release
           * new option "--rollback" (see r57):
                   it checks http://arm.kh.nu (Arch Rollback Machine) for available package versions,
                   downloads chosen file and moves it to local repository (if "-r|--repoadd"  is used).
            * posting files/comments/etc to AUR should work now again.
    r65: *stable release
           * new option "-M,--meta" to create metapackages and add them and their dependencies to local repository.
              it searches for deps inside the backup directories, pacman's cache and if the packages are not available, it tries to fetch the missing
              dependencies from the Arch Rollback Machine site (http://arm.kh.nu).
    r66: * minor fixes
    r68: * some bugfixes
           * "--repoadd" and "--Reporemove" now accurately removes old packages from LocalRepository
    r69: * small bugfixes when listing packages with similar names
           * curl retries now 5 times if connection is not established
    r75: * "--cachecopy" does not try to dl sourcefiles when backing up ABS PKGBUILDs
           * some work on package splitting
           * further internal changes
    r76: * minor mistakes with "ln" purged
    r79: * mostly small changes
           * "--cleanup" now also removes uninstalled packages from LocalRepository
    r81 & r80: * added AUR v1.6.0 support (use more json)
                    * small ARM changes ("--rollback")
    r85:
          * pkgman supports pkg.tar.xz packages
          * some code rewrite, bugs purged (hopefully)
    r113:
          * pkgman now supports building split packages through makepkg.
             If you already use pkgman you need to rerun "pkgman --runmefirst" after updating.
          * new  "-t,--template" option ("pkgman <packagename> --template <alt. packagename> [--pkgbuildversion <version>] [options]").
             Useful to create a new PKGBUILD and use an existing one as a template.
          * new option: "--conf /path/to/alternate/conf/file" - Specify another configuration file.
          * pkgman now uses ${XDG_CONFIG_HOME}/pkgman or $HOME/.config/pkgman - if first not set - as the default location for its conf files.
    r116:
          * check inet conection when submitting src tarballs to AUR
          * some bugs
          * updated manpage on sf
    For further details please read the manual page.
    Last edited by DonVla (2010-04-28 11:56:59)

    I'm having some troubles with it (perhaps missing dependencies, and forgotten hardcoded dirs?):
    jan@aconcagua 8:20PM ~ % pkgman --runmefirst
    /usr/bin/pkgman: line 77: /home/jan/apps/skripte/archscripts/pkgman/share/pkgman/color.bash: No such file or directory
    /usr/bin/pkgman: line 1293: initcolor: command not found
    /usr/bin/pkgman: line 312: highlight: command not found
    /usr/bin/pkgman: line 312: error: command not found
    /usr/bin/pkgman: line 313: highlight: command not found
    /usr/bin/pkgman: line 313: error: command not found
    /usr/bin/pkgman: line 314: highlight: command not found
    /usr/bin/pkgman: line 314: error: command not found
    /usr/bin/pkgman: line 315: highlight: command not found
    /usr/bin/pkgman: line 315: error: command not found
    /usr/bin/pkgman: line 317: error: command not found
    /usr/bin/pkgman: line 318: error: command not found
    /usr/bin/pkgman: line 321: highlight: command not found
    /usr/bin/pkgman: line 321: msg: command not found
    /usr/bin/pkgman: line 329: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    touch: cannot touch `/bin/.pkgman.registered': Permission denied
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 337: msg: command not found
    curl: option --output: requires parameter
    curl: try 'curl --help' or 'curl --manual' for more information
    ^C/usr/bin/pkgman: line 209: cleanoutput: command not found
    /usr/bin/pkgman: line 209: cleanoutput: command not found
    (I terminated with ctrl-c).
    EDIT: errors resolved by correcting the path $HOME/apps/skripte/archscripts/pkgman/share/pkgman to /usr/share/pkgman in the pkgman itself.
    Last edited by bender02 (2008-05-23 01:28:58)

  • Script for validating Text fields or numeric fields

    I'm looking for a simple script that will check the entered data in a specific field.If i enter numbers in the name/last name field i should get a pop up message that entering numbers in this field are not allowed.
    (And vice versa regarding numeric fields).
    What is the script for that ?

    Hi,
    try this:
    //var reg = /^\d+$/;    // checks whether input contains ONLY digits
    var reg = /\d+/;    // checks whether input contains digits AND letters
    var check = reg.exec(xfa.resolveNode("#subform[0].#field[0]").rawValue);
    if (check == null)
        app.alert("Everything's fine!");
    else
        app.alert("Entering digits is not allowed!");
    You may want to replace
    #subform[0] with the name of the subform the field to check is located in and
    #field[0] with the name of the field to check for digits.
    Also, you may want to select any of the regular expressions, which fits best your needs. See comment in the above code-fragement for further information.
    Regards,
    Steve

  • Powershell script for security groups and users for multiple share folders

    Hi scripting team,
    I need your help with powershell script for the below queries 
    1. List out the security groups for more than one server share path and output it to a file ( csv ) 
    For eg.
    If the are are two share paths 
    \\servername\foldermain\folder1
    \\servername\foldermain\folder2
    So I needs the list of security groups for each share path
    And the output needs to be under each any every path.
    2. Grab the users belongs to main security groups and it nested groups for more than one security group and listed the users under each and every group. No need to display nested groups. Just users belongs to main group and users under nested.
    Your teams help is much appreciated 
    Thank you.
    Thilochana kumararatne

    Hi Braham,
    Thanks for your quick reply.
    Are we able to do this on two stage method
    1. grab the security groups from the share paths
    if can grab the share path from a separate txt file than copying it to the <your path> location
    so i can modify the txt file
    once run the script
    if can the output like below to a CSV file
    \\servername\foldermain\folder1group 1group 2group 3\\servername\foldermain\folder2group 1group 2group 3then i know which groups belongs to which share paththen i can remove the duplicate groups and keep the common groups to grab the users belongs to itso with the second script same as the first copy the security groups to a txt file and the out put as below.what I needs is the users full name and the samaccount name ( user id )group 1user1user2user3
    group 2user1user2user3looking forward your help on thisThank you.Thilo

  • Script for downloading(svn) and install E17

    I've been working on a script that download for the svn repository e17, compiler and install. I've made this script more as a to lear more about bash script. You can do the same thing as my script with yaourt. I hope someone might need it.
    #!/bin/bash
    # Title: Arch E17 svn #
    # Auther: Kamil MIklaszewski ([email protected]) #
    # Date: 2008-12-19 19:10 #
    # Licence: GPL #
    # This program is free software; you can redistribute it and/or modify #
    # it under the terms of the GNU General Public License as published by #
    # the Free Software Foundation; either version 2 of the License, or #
    # (at your option) any later version. #
    # This program is distributed in the hope that it will be useful, #
    # but WITHOUT ANY WARRANTY; without even the implied warranty of #
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
    # GNU General Public License for more details. #
    # You should have received a copy of the GNU General Public License #
    # along with this program; if not, write to the Free Software #
    # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
    # MA 02110-1301, USA. #
    # Version: 1.0 #
    # Description: This script was writen for Archlinux. It will download e17 #
    # from the svn repository and it will do a full installation. #
    # This script also take care of the dependency for all of the #
    # programs that are installed with e17. #
    # TODO: For version 1.0 #
    # -have the scipt use dialog #
    # -make the script more autamatic #
    # Change Log: *2008-12-19 #
    # -creation of script #
    # Function name: prep
    # Function paramiter(s): none
    # Function description: This function prepers the envirement to run
    # the rest of the script
    prep()
    #make a temporery directory and go to it
    mkdir -p ~/arch_e17_svn
    cd ~/arch_e17_svn
    #export this path to compile succesfuly
    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
    # Function name: message
    # Function paramiter(s): Word to be printed on the screen
    # Function description: This function print messages on the screen.
    message()
    #print a message to the screen
    echo -e "==>" $*
    # Function name: downloadPackage
    # Function paramiter(s): none
    # Function description: This function go to the user's home
    # directory and downloads e17 from svn repo.
    downloadPackage()
    message "Downloading " $1 " from E17 svn repository."
    #download the specifed package with less text
    svn co --quiet http://svn.enlightenment.org/svn/e/trunk/$1 $1-svn
    # Function name: generalDependencys
    # Function paramiter(s): none
    # Function description: This fuction install the general
    # dependencys.
    generalDependencys()
    message "Installing Dependencys..."
    #list of package needed to be installed
    generalDependencysList=(
    'svn'
    'm4'
    'autoconf'
    'automake'
    'libtool'
    'pkgconfig'
    'texinfo'
    'zlib'
    'libpng'
    'libjpeg'
    'freetype2'
    'xorg'
    'dbus'
    'hal'
    'pam'
    'librsvg'
    'libnotify'
    'curl'
    'openssl'
    'libungif'
    'libtiff'
    'gettext'
    'glibc'
    'glibmm'
    'doxygen'
    'giflib'
    'cairo'
    'libx11'
    'libxext'
    'libxrender'
    'fontconfig'
    'libxcb'
    'sdl'
    'mesa'
    'qt'
    'librsvg'
    'libtiff'
    'directfb'
    #install the dependencys in the list
    sudo pacman -Sq --needed ${generalDependencysList[@]}
    # Function name: installPackage
    # Function paramiter(s): The name of the package to install
    # Function description: This fuction need one paramiter that is
    # the package to configure and install.
    installPackage()
    #change directory to the program to configure and install
    cd ~/arch_e17_svn/$1-svn
    message "Configurating package " $1
    #run the autogen script that will configure and
    #make read to install this program
    ./autogen.sh
    message "Compiling package " $1
    #now compile the source file of the program
    make
    message "Installing package " $1
    #now install the program
    sudo make install
    cleanUp()
    rm -r ~/arch_e17_svn
    # MAIN #
    main()
    #preper the envirement
    prep
    #install the general dependecys using pacman
    generalDependencys
    #list of packages to download and install
    packagesList=(
    'eina'
    'eet'
    'evas'
    'ecore'
    'efreet'
    'embryo'
    'edje'
    'e_dbus'
    'e'
    #loop that gos through the list and downloads the packages
    for package in ${packagesList[@]}
    do
    downloadPackage $package
    message "Done\n"
    done
    #loop that gos through the list and installs the packages
    for package in ${packagesList[@]}
    do
    installPackage $package
    message "Done\n"
    done
    main

    pressh wrote:to not duplicate work I've already created a python script some time ago which you can use to build e17 pacman packages using the community PKGBUILDs: http://dev.archlinux.org/~ronald/e17.html
    I may extend its usage if someone sees any use for it. Either way, just thought I should drop it here.
    is that script any different from a full build through makepkg/yaourt using AUR's Pkgbuilds?
    I tried to use it but i get a list of errors similar to
    cp: impossibile creare il file normale `eina-build/eina/.svn/prop-base/NEWS.svn-
    base': Permission denied
    but if i can use yaourt, why not?
    Edit: sorry, i looked at the python source and realized that it actually just syncs abs and then runs makepkg and namcap for each package. so i guess i'll use yaourt instead (or try to understand why makepkg exits with that error)
    Last edited by pikiweb (2009-06-19 08:48:46)

  • Need script for moving files to specific directories base on csv

    Hi,
    I have a question. I have about 2000 files (pdf), which I need move to specific directories and subdirectories, which are based on csv file.
    Csv is looking like this:
    filename;directoryname;subdirectoryname;subdirectoryname;.......etc.
    I have a script for creating directories with subdirectories from csv file, but I need this script for moving files to this directories.....
    Thanks a lot for every help.
    Best Regards
    Petr, OS X Mavericks

    private function snapshotLastFrame():void
    gotoAndStop( this.totalFrames );
    _bitmapData                         = new BitmapData( stage.stageWidth, stage.stageHeight );
    _bitmap                              = new Bitmap( _bitmapData );
    _bitmapData.draw ( stage );
    saveImageJPG( _bitmapData, "test.jpg", 96 );
    public function saveImageJPG( bitmapData:BitmapData, fileName:String, quality:int ):void {
                this.jpgEncoder = new JPGEncoder( quality );
                this.fileReference = new FileReference();
                this.fileReference.save( this.jpgEncoder.encode( bitmapData ), fileName + ".jpg" );
    Keep in mind that you need a few extra libraries to be able to create a jpeg.. (AS3CoreLib) can be found at googleCode.

  • Need script for exporting images to EPS

    I need to write a script to export a whole bunch of files from Indesign CS3 to EPS files. Right now we do them one at a time...here are the steps we take that we would need included in the script...
    Select all (Control A), ungroup, convert to outlines (control-shift O), export (need to be able to say black or white or RGB) and then close the file without saving.
    and if there was anyway to loop this script for 20 files at a time that would be really helpful.
    Can any help or direct me to a website that can help.
    Thanks!
    Marissa

    Maybe this one: http://www.kahrel.plus.com/indesign/batch_convert_cs3.html
    Peter

  • Need script for Marginal Elements consists two tags

    Hi Everyone,
    I need a script for the Marginal Elements having two Paragraph tags. Object Styles, Library items are all availale for this job. My requirement is cut the two paragraph tags and put it in library items and also using object styles as well. Is it possible? Can you help for this. For more clarification i have attached that file also.
    Waiting for your reply....

    Hi Try This code.....
    main();
    function main(){
        if (app.documents.length!=0){
            if(app.libraries.length!=0){
            myStyleDialog();
            else {
                alert ("Please open the Library.");
        else {
            alert ("Please open a document and try again.");
            exit(0);
    function myStyleDialog(){
    var myLabelWidth = 120;
    var myParaStyleNames = myGetParagraphStyleNames();
    //var myObjStyleNames = myGetObjectStyleNames();
    var myDialog = app.dialogs.add({name:"Choose Styles to Place Anchor"});
    with(myDialog.dialogColumns.add()){
        with(borderPanels.add()){
            with(dialogColumns.add()){
                with(dialogRows.add()){
                    with(dialogColumns.add()){
                        staticTexts.add({staticLabel:"Choose Paragraph Style1:", minWidth:myLabelWidth});
                    with(dialogColumns.add()){
                        myParaStyleDropdown1 = dropdowns.add({stringList:myParaStyleNames, selectedIndex:0});
                  with(dialogRows.add()){
                        with(dialogColumns.add()){
                            staticTexts.add({staticLabel:"Choose Paragraph Style2:", minWidth:myLabelWidth});
                        with(dialogColumns.add()){
                            myParaStyleDropdown2 = dropdowns.add({stringList:myParaStyleNames, selectedIndex:0});
    //~                     with(dialogRows.add()){
    //~                         with(dialogColumns.add()){
    //~                             staticTexts.add({staticLabel:"Object Styles:", minWidth:myLabelWidth});
    //~                             }
    //~                         with(dialogColumns.add()){
    //~                             myObjectStyleDropdown = dropdowns.add({stringList:myObjStyleNames, selectedIndex:0});
    //~                     }
    //~         }
        myReturn = myDialog.show();
        if(myReturn == true){
             myParagraphStyle1 = myParaStyleNames[myParaStyleDropdown1.selectedIndex];
            myParagraphStyle2 = myParaStyleNames[myParaStyleDropdown2.selectedIndex];
            // myObjectStyle = myObjStyleNames[myObjectStyleDropdown.selectedIndex];
             myDialog.destroy();
          else {
          myDialog.destroy();
    function myGetParagraphStyleNames(){
        var myStyleNames = app.documents.item(0).paragraphStyles.everyItem().name;
        return myStyleNames;
    //~ function myGetObjectStyleNames(){
    //~     var myObjStyleNames = app.documents.item(0).objectStyles.everyItem().name;
    //~     return myObjStyleNames;
    //~ }
    var myDoc = app.activeDocument;
    var myStory = myDoc.stories;
    var myParas, myCount = 0;
    var myLib = app.libraries[0];
    var AnchorItemName = prompt("Enter the Library Item Name Exactly","","Anchor Item");
    for(i=0; i<myStory.length; i++)
        myParas = myStory[i].paragraphs;
        if (myParas.length>3)
            for(j=0; j<myParas.length-1; j++)
                var firstPara = myParas[j];
                var nextPara = myParas[j+1];
                var firstParaStyle = firstPara.appliedParagraphStyle.name;
                var nextParaStyle = nextPara.appliedParagraphStyle.name;
                if ((nextParaStyle == myParagraphStyle2)&&(firstParaStyle == myParagraphStyle1))
                    myText = myLib.assets.item (AnchorItemName).placeAsset (firstPara.insertionPoints[0])[0];
                    firstPara.move(LocationOptions.after, myText.insertionPoints[0]);
                    nextPara.move(LocationOptions.after, myText.insertionPoints[-1]);
                    myText.fit(FitOptions.frameToContent);
                    myCount++;
                    }//End if
            }//End of Para iteration
        }//End of If paralength>2
        }//End of story iteration
    alert(myCount + " Ocurrences Found and Processed");
    Green4ever

  • Help needed - ABAP for  function modules and routines.

    Dear BW gurus,
    Hope everyone is doing great.
    I gotta project recently and we are going live in 3 weeks.My BWLead is getting rolled out in a week and he has to make the knowledge transfer to me ASAP.The bottle-necking thing is I need to have a good idea about the function modules and routines.So I request our SND community to help me out with good ABAP documents for function modules,routines and query.
    my mail id is [email protected]
    Thanks in advance
    Have a nice day
    Regards
    sathiya

    Hello Sam,
    You can create function module in ABAP using tcode SE37.
    For more informations on ABAP:
    http://help.sap.com/saphelp_47x200/helpdata/en/c9/5472f6787f11d194c90000e8353423/frameset.htm
    Use http://help.sap.com
    and also use <b>ABAPDOCU</b> transaction.
    Check these links also...
    <b>Online PDFs:</b>
    http://easymarketplace.de/online-pdfs.php
    <b>ABAP HELP</b>
    If you check these links, you can find many example programs.
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sappoint.com/abap/
    FAQs in ABAP
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    Smart forms
    http://www.sap-basis-abap.com/sapsf001.htm
    Workflow
    <http://www.sap-img.com/workflow/sap-workflow.htm>
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Mail
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    SAP Scripts:
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    Some useful ABAP Links for learning:
    http://cma.zdnet.com/book/abap/index.htm
    http://www.sapdevelopment.co.uk/
    http://www.sap-img.com/
    http://juliet.stfx.ca/people/fac/infosys/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://www.sap-img.com/abap-function.htm
    http://www.sapgenie.com/abap/code/abap19.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    http://www.henrikfrank.dk/abapexamples/index.html
    http://sap.ittoolbox.com/documents/document.asp?i=752
    http://members.aol.com/_ht_a/skarkada/sap/
    http://sappoint.com/abap/
    http://members.tripod.com/abap4/SAP_Functions.html
    http://members.ozemail.com.au/~anmari/sap/index.html
    http://www.planetsap.com/Userexit_List.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://www.kabai.com/abaps/q.htm
    http://www.planetsap.com/Userexit_List.htm
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.sap-basis-abap.com/index.htm
    http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
    http://www.geocities.com/ResearchTriangle/1635/system.html
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
    http://www.sapfans.com/sapfans/repos/saprep.htm
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-img.com/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
    http://www.geocities.com/victorav15/sapr3/abap.html
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://abap4.tripod.com/Other_Useful_Tips.html
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://www.sap-basis-abap.com/sapmm.htm
    http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
    http://sapfans.com/
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://www.sapgenie.com/abap/index.htm
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
    http://www.thespot4sap.com/
    http://www.kabai.com/abaps/q.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
    For FAQ
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.sapgenie.com/faq/abap.htm
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    Web log for receive email and processing it through ABAP
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    For Logical database
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Useful link to websites
    http://www.hernangn.com.ar/sap.htm
    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    For posting web log,
    /people/sap.user72/blog/2005/06/28/sdn-weblogs-making-it-easier
    Dynamic Internal table -web log in sdn
    /people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Mail
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    BOM Explosion
    /people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
    BOM
    http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
    http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
    http://www.sap-basis-abap.com/sappp007.htm
    OLE
    http://www.sapgenie.com/abap/ole.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
    ALVGRID with refresh
    http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html
    For language setting and decimal separator
    /people/horst.keller/blog/2004/11/16/abap-geek-7-150-babylonian-confusion
    Oracle queries
    http://sqlzoo.net/
    To format SQL
    http://www.sqlinform.com/
    SCOT settings
    http://www.sap-img.com/basis/basis-faq.htm
    Status Icon [ALV,Table Control,Tab Strip]
    http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4
    ALV Group Heading
    http://www.sap-img.com/fu037.htm
    For multiMedia
    /people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
    Uploading LOGO in SAP
    http://www.sap-img.com/ts001.htm
    LSMW
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    http://www.consolut.de/saphelp/sap_online_help.html
    http://www.sap-img.com/
    http://www.sappoint.com/
    http://www.sapdevelopment.co.uk/
    http://www.allsaplinks.com/idoc_search.html
    Best Regards,
    Thangesh

  • Report for Validity Start and End Date in PO

    Dear All
    Is there any report where I can get PO validity start and end date which user input in addtional data header tab of PO?
    Regards
    Satish Kumar

    Hi,
    Yes, It is available standard report using T-code ME2N - Purchasing Document (PO) Per Document Number, enter the T-code and provide the following input data's are as follows.
    Scope of List                 :  ALV ( for Ms-Excel format report)
    Plant                               :   __________ to __________ (if required)
    Document Date              : ____________ to ___________ (if Required)
    Execute the report shown by default in excel format and if required PO validity start and end data, you have to select Change Layout button and open new window options screen right side field option as Validity Per.Start, Validity Period End, Commutative number field data's are selected and click <--- arrow button and then click bottom tick marked button. Now, the report shown your requirement.
    Hope, it is useful for you,
    Regards,
    K.Rajendran

  • New to server, need VPN for remote desktop and file share...

    I've set up server and have the VPN working, I think, I need to have several outside systems join the servers VPN permanently to allow for file sharing and remote desktop. I don't want the "normal" internet browsing to go through the VPN (huge slow down) I have read that a "split DNS" or "split tunnel" is what I need, then to disable "send all traffic over VPN connection" option on each remote system. I was a little confused after reading on how to do this on Leopard server (the only instructions I found) but have absolutely no idea on how to do this on Snow Leopard server (the server I set up is 10.6) any assistance would be great, thanks in advance.

    Server Admin, VPN, Settings, Client Information, Network Routing Definition.
    Here add a private network record type that matches your LAN/VPN ip.
    For example
    IP Address: 192.168.0.0
    Mask: 255.255.255.0
    Type: Private
    You can find more informations about this feature in Snow Leopard Server documentation:
    http://images.apple.com/server/macosx/docs/NetworkServices_Adminv10.6.pdf
    search for "Configuring VPN Network Routing Definitions"

  • Need driver for iPod video and Windows Vista

    I had an iPod video and it synched no problem to my computer. There was a hardware issue inside the iPod so i sent it back and got a new one. Now when I connect it to my computer, it brings up the looking for a driver window and says it can't find it. Its only been a week since it worked fine.. I don't know if there is an issue with the new iTunes or what but has anyone had any experience with this issue or can simply tell me where to directly download or find the driver?

    I too have had a problem with needing a driver for ipod. My ipod was working fine, then my computer stopped recognizing the ipod. It says it needs a driver for the ipod and I can't find one anywhere...need help..please

Maybe you are looking for

  • What is the use of additional file(s) in  sender file adapter?

    Hi experts, what is the use of  additional files parameter in sender file adapter? give me some example....... Thanks & Regards E.Ravi Chandra Reddy

  • Export data to Excel/PDF from e.g. a repeater tag?

    Hi, The repeater tag as well as the grid tag are very useful. But what if we would like to provide functionality for the user export the data shown further to Excel/PDF? I looked at http://displaytag.sourceforge.net/ which gives this possibility out

  • How can I hide or arrange alphabetically the folders that show up in 'local photos'?

    I have roughly 4000 photos and images in 150+ folders on my android tablet. Most of it is necessary presentation material that will never be opened in photoshop touch. However, when I get to the point in a presentation that I need to design something

  • Can't save PowerPoint as images with automator

    I am trying to use automator to create a set of slides from power point for a screensaver. I want the user to be able to drag the power point onto the automator App, generate an image from each slide, and save it to the 'Slideshow' folder and delete

  • Login Window in a JSP /ADF Application...

    Hi , I test the sample demo applications located in http://www.oracle.com/technology/obe/obe_as_1012/j2ee/index.html I have a question , however.... Is it possible and 'easy' to create a login window , so as the user who types in a url in his browser