Can XML for to Update Fields in PDF be sent to PostScript Form?
Looking for a VERY hi-speed VERY hi-volume means of printing very large numbers of the Same report, but with different data for 1000s of different users. Thinking that as PDF and Postscript are both Adobe products:
a) there may be a high speed means of transforming a PDF form to a PostScript form
b) load the postscript form to a slaved printer
c) slam data packages straight to the Postscript form, as XML. Could it be possible the the same XML data structure that works for updated the PDF version of the form would work for the Postscript instantiation of same?
This should be moved to the Output Server forum but ...
Output Server accepts data files (xml ok) and produces print/pdf files as a result. You use Output Designer to design the form/report specifying an output target (printer/pdf). An application builds the data files (one per instance of the form to be produced) that get placed on the server. Central Pro then processes the data files, producing a hard copy or pdf for each one. It processes the files faster than the printer can print them.
I've not used xml files so I can't state how well they work but the "field nominated" format works just fine.
Similar Messages
-
Newbie - How can I know when someone opens a PDF I sent in an email?
I'm trying to get a simple proof of receipt when someone opens a PDF attached to an email. Any suggestions about how to do this?
Thanks try67. Consider this: I'm not trying to silently trick the receiver, either. I intend to explain to them up front that when they open the attached PDF, it will provide a signal that is the proof they have been notified. It's also okay if this isn't easy; I have IT people that can do it.
-
Hi there, I see that this thing has been appear previously on the forum but I did not reached the solution using the 3ds anout it , I need to add an f4 or a matchcode to the field 'MWSKZ' (from the table T007A) in my table I tried to add the code I've found but the help does not appears.. hope there is someone who got the patience to help me..
ThanksHi,
below is a sample programme...
*& Report BCALV_GRID_F4_HELP *
Purpose:
~~~~~~~~
This report illustrates the use of f4-Help in an alv grid control.
Background:
~~~~~~~~~~~
There a two possibilities to implement an f4-Help in the alv grid
control: one can either use standard f4-help or write one by Hand.
For the former there is nothing to do at all. This report shows how
to implement user-defined f4-help.
The user should look at the definition of classes grid_application
and lcl_event_receiver:
all the grid-specific things happen there, while the rest
of the program is concerned with dynpro programming
To check program behavior
~~~~~~~~~~~~~~~~~~~~~~~~~
For each choice it is explained in detail which functionality the
f4-help dispalys. Just try out different modes at the start-dynpro.
We also included a message signaling when datatable update actually
occurs.
Essential steps (search for '§')
~~~~~~~~~~~~~~~
First you must define and set an event handler for event onf4
of class cl_gui_alv_grid, just as with any event in the object
model. In our case, its method on_f4 of (the local) class
lcl_event_receiver (definition see below).
We set the handler in PBO-module create_object of dynpro 100.
For the easiest case where you don't want to make changes do step
1. Register all columns for which you want to define an f4-help.
1a.You can deregister columns during run-time to use standard f4-help.
1b.Or register additional columns during run-time.
2. Implement your event handler method.
3. Set attribute m_event_handled of er_event_data to avoid standard
f4-help.
If you want to allow the user to change data via f4-help you have to
4. set in the fieldcatalog the corresponding column editable (see
Documentation). It does not suffice to set the complete grid
editable.
5. Declare data and field-symbols for values to be changed.
6. Assign the values for the corresponding cells you want to edit:
you can edit any cells. Do not refresh your table!
7. If your f4-help relates to other values of your table, you must
set parameters getbefore and/or chngeafter during registration.
8. In case the column you want to define an f4-help has no standard
f4-help defined, you must set parameter F4AVAILABL in the field
catalog.
9. If you want to check the data yourself, you can register for the
events data_changed and/or data_changed_finished. For the former
you can check where the event was raised and act accordingly.
*10. Often one uses drop down boxes instead of f4-help. To do so, you
first have to extend your datatable by one field and set the
fieldcatalog parameter drdn_field accordingly.
*11. Then you have to prepare a drop down table, give it to your grid
and fill in the additional field of your datatable appropritately.
*!! If you define a drop down box for a column, you can not define an
f4-help for the same column.
REPORT BCALV_GRID_F4_HELP .
CLASS grid_appl DEFINITION
CLASS grid_appl DEFINITION.
PUBLIC SECTION.
DATA: my_grid TYPE REF TO cl_gui_alv_grid.
METHODS: constructor,
reset_table,
test_modus,
check_input
CHANGING ir_data_changed
TYPE REF TO cl_alv_changed_data_protocol.
ENDCLASS. "grid_appl
CLASS lcl_event_receiver DEFINITION
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
CLASS-METHODS: on_f4 FOR EVENT onf4 OF cl_gui_alv_grid
IMPORTING sender
e_fieldname
e_fieldvalue
es_row_no
er_event_data
et_bad_cells
e_display,
on_data_changed FOR EVENT
data_changed OF cl_gui_alv_grid
IMPORTING e_onf4
e_onf4_before
e_onf4_after
er_data_changed
sender.
PRIVATE SECTION.
TYPES: ddshretval_table TYPE TABLE OF ddshretval.
CLASS-METHODS: my_f4
IMPORTING sender TYPE REF TO cl_gui_alv_grid
et_bad_cells TYPE lvc_t_modi
es_row_no TYPE lvc_s_roid
er_event_data TYPE REF TO cl_alv_event_data
e_display TYPE c
e_fieldname TYPE lvc_fname
EXPORTING lt_f4 TYPE ddshretval_table.
ENDCLASS. "lcl_event_receiver DEFINITION
data for report and dynpro
DATA: info(80),
ok_code LIKE sy-ucomm.
data for grid
DATA: gs_layout TYPE lvc_s_layo,
gt_fieldcat TYPE lvc_t_fcat,
gs_fieldcat TYPE lvc_s_fcat.
*§10 define data table to handle drop down boxes
DATA: BEGIN OF gt_outtab OCCURS 0.
INCLUDE STRUCTURE sflight .
DATA: drop_down_handle TYPE int4. "dropdown handle for a field
DATA: END OF gt_outtab,
gs_outtab LIKE LINE OF gt_outtab.
data for event handling
DATA: gs_f4 TYPE lvc_s_f4,
gt_f4 TYPE lvc_t_f4.
data for test modus
DATA: gt_outtab_test TYPE TABLE OF spfli.
custom control and grid_application object
DATA: my_container TYPE REF TO cl_gui_custom_container,
my_application TYPE REF TO grid_appl.
Selection Screen
PARAMETERS: p_maxrow TYPE i DEFAULT 60.
SELECTION-SCREEN BEGIN OF BLOCK tab WITH FRAME TITLE text-011.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: no_inp RADIOBUTTON GROUP tab1.
SELECTION-SCREEN COMMENT 5(15) text-017.
PARAMETERS user_inp RADIOBUTTON GROUP tab1.
SELECTION-SCREEN COMMENT 25(15) text-018.
PARAMETERS drop_do RADIOBUTTON GROUP tab1.
SELECTION-SCREEN COMMENT 45(15) text-019.
PARAMETERS test_mod RADIOBUTTON GROUP tab1.
SELECTION-SCREEN COMMENT 65(15) text-013.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK tab.
SELECTION-SCREEN BEGIN OF BLOCK v WITH FRAME TITLE text-012.
PARAMETERS: check_be AS CHECKBOX,
chn_aft AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK v.
SELECTION-SCREEN BEGIN OF BLOCK w WITH FRAME TITLE text-014.
PARAMETERS: test_tab AS CHECKBOX,
exp_data AS CHECKBOX,
data_typ AS CHECKBOX,
exp_fiel AS CHECKBOX,
cons_val AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK w.
START-OF-SELECTION.
END-OF-SELECTION.
CALL SCREEN 200.
*& Form fill_data
text
--> p1 text
<-- p2 text
MODULE fill_data OUTPUT.
CASE 'X'.
WHEN drop_do.
info = text-008.
WHEN no_inp.
info = text-003.
WHEN user_inp.
IF check_be = ' '.
IF chn_aft = ' '.
info = text-006.
ELSE.
info = text-002.
ENDIF.
ELSE.
IF chn_aft = 'X'.
info = text-007.
ELSE.
info = text-005.
ENDIF.
ENDIF.
ENDCASE.
IF test_mod = 'X'.
SELECT * FROM spfli INTO TABLE gt_outtab_test UP TO p_maxrow ROWS.
info = text-015.
ELSE.
SELECT * FROM sflight INTO TABLE gt_outtab[] UP TO p_maxrow ROWS.
ENDIF.
ENDMODULE. " fill_data
MODULE exit2 INPUT *
MODULE exit2 INPUT.
CASE ok_code.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'CANCEL'.
LEAVE PROGRAM.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. "exit2 INPUT
*& Module set_status2 OUTPUT
text
MODULE set_status2 OUTPUT.
SET PF-STATUS 'MAIN200'.
SET TITLEBAR 'MAIN200'.
ENDMODULE. " set_status2 OUTPUT
*& Module create_objects OUTPUT
text
MODULE create_objects OUTPUT.
IF my_container IS INITIAL.
CREATE OBJECT my_container EXPORTING container_name = 'CONTAINER'.
CREATE OBJECT my_application.
SET HANDLER lcl_event_receiver=>on_f4 FOR ALL INSTANCES.
SET HANDLER lcl_event_receiver=>on_data_changed
FOR ALL INSTANCES.
ELSEIF test_mod = 'X'.
CALL METHOD my_application->test_modus.
ELSE.
CALL METHOD my_application->reset_table.
ENDIF.
ENDMODULE. " create_objects OUTPUT
***INCLUDE BCALV_GRID_F4_HELP_APPL .
*& Class (Implementation) grid_appl
Text
CLASS grid_appl IMPLEMENTATION.
METHOD constructor.
instantiate the grid
CREATE OBJECT my_grid
EXPORTING i_parent = my_container.
IF test_mod = 'X'.
CALL METHOD test_modus.
ELSE.
CALL METHOD reset_table.
ENDIF.
ENDMETHOD. "constructor
METHOD test_modus this method is for internal use only *
METHOD test_modus.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'SPFLI'
CHANGING
ct_fieldcat = gt_fieldcat.
LOOP AT gt_fieldcat INTO gs_fieldcat.
IF test_tab = 'X' AND gs_fieldcat-fieldname = 'CARRID'.
gs_fieldcat-edit = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
IF cons_val = 'X' AND gs_fieldcat-fieldname = 'FLTYPE'.
gs_fieldcat-edit = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
IF data_typ = 'X' AND gs_fieldcat-fieldname = 'DEPTIME'.
gs_fieldcat-edit = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
IF exp_fiel = 'X' AND gs_fieldcat-fieldname = 'DISTID'.
gs_fieldcat-edit = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
IF exp_data = 'X' AND gs_fieldcat-fieldname = 'AIRPFROM'.
gs_fieldcat-edit = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
ENDLOOP.
CALL METHOD my_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'SPFLI'
is_layout = gs_layout
CHANGING
it_outtab = gt_outtab_test
it_fieldcatalog = gt_fieldcat.
ENDMETHOD. "test_modus
METHOD reset_table *
METHOD reset_table.
prepare fieldcatalog
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'SFLIGHT'
CHANGING
ct_fieldcat = gt_fieldcat.
*§4 set those columns editable, for which user input via f4 or drop
down is allowed.
LOOP AT gt_fieldcat INTO gs_fieldcat.
IF gs_fieldcat-fieldname = 'CONNID'.
gs_fieldcat-edit = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
IF check_be = 'X' AND user_inp = 'X'
AND gs_fieldcat-fieldname = 'CARRID'.
gs_fieldcat-edit = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
*§10 Register drop down at fieldcatalog.
IF drop_do = 'X' AND gs_fieldcat-fieldname = 'PRICE'.
gs_fieldcat-edit = 'X'.
gs_fieldcat-drdn_field = 'DROP_DOWN_HANDLE'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
*§8 set parameter F4AVAILABL in the fieldcatalog if you want to define
an f4-help for a column without standard f4-help.
IF no_inp = 'X' AND gs_fieldcat-fieldname = 'PRICE'.
gs_fieldcat-f4availabl = 'X'.
MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
ENDIF.
ENDLOOP.
*§11 prepare grid for drop down.
DATA: lt_dropdown TYPE lvc_t_drop,
ls_dropdown TYPE lvc_s_drop.
ls_dropdown-handle = '1'.
ls_dropdown-value = '445'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '495'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '220'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '155'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '200'.
APPEND ls_dropdown TO lt_dropdown.
CALL METHOD my_grid->set_drop_down_table
EXPORTING
it_drop_down = lt_dropdown.
LOOP AT gt_outtab INTO gs_outtab.
IF gs_outtab-connid = '0017'.
gs_outtab-drop_down_handle = 1.
ELSEif gs_outtab-connid = '0026'..
gs_outtab-drop_down_handle = 2.
ENDIF.
MODIFY gt_outtab FROM gs_outtab INDEX sy-tabix.
ENDLOOP.
IF user_inp = 'X' OR drop_do = 'X'.
CALL METHOD my_grid->set_ready_for_input
EXPORTING
i_ready_for_input = 1.
ELSE.
CALL METHOD my_grid->set_ready_for_input
EXPORTING
i_ready_for_input = 0.
ENDIF.
set table for first display
CALL METHOD my_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'SFLIGHT'
is_layout = gs_layout
CHANGING
it_outtab = gt_outtab[]
it_fieldcatalog = gt_fieldcat.
*§1 register f4-help, if a user-defined one should be used.
*§7a set parameter getbefore if you want to use values entered
before raising event on_f4.
*§7b set parameter chngeafter if you want to use the values entered via
f4 to manipulate other values of your table.
CLEAR gt_f4.
IF user_inp = 'X'.
gs_f4-fieldname = 'CONNID'.
gs_f4-register = 'X'.
gs_f4-getbefore = check_be. "§7a
gs_f4-chngeafter = chn_aft. "§7b
APPEND gs_f4 TO gt_f4.
CALL METHOD my_grid->register_f4_for_fields
EXPORTING
it_f4 = gt_f4.
ELSEIF no_inp = 'X'.
gs_f4-fieldname = 'PRICE'.
gs_f4-register = 'X'.
APPEND gs_f4 TO gt_f4.
CALL METHOD my_grid->register_f4_for_fields
EXPORTING
it_f4 = gt_f4.
ENDIF.
ENDMETHOD. "new_table
METHOD check_input our check_data routine *
METHOD check_input.
DATA: is_cells TYPE lvc_s_modi.
LOOP AT ir_data_changed->mt_mod_cells INTO is_cells
WHERE fieldname = 'CARRID'.
IF is_cells-value CS 'aa' OR
is_cells-value CS 'lh' OR
is_cells-value CS 'sq' OR
is_cells-value CS 'ua' OR
is_cells-value CS 'az' OR
is_cells-value CS 'dl' OR
is_cells-value CS 'qf'.
ELSE.
DELETE ir_data_changed->mt_mod_cells INDEX sy-tabix.
ENDIF.
ENDLOOP.
ENDMETHOD. "check_input
ENDCLASS. "grid_appl
*& Include BCALV_GRID_F4_HELP_EVENT *
CLASS lcl_event_receiver IMPLEMENTATION.
*§2 implement an event handler method
METHOD on_f4.
DATA: ls_f4 TYPE ddshretval,
lt_f4 TYPE TABLE OF ddshretval.
*§8 you can define an f4-help for a column without standard f4-help
IF no_inp = 'X'.
MESSAGE i002($t) WITH es_row_no-row_id e_fieldvalue.
*§3 set attribute m_event_handled of er_event_data to avoid standard
f4-help.
er_event_data->m_event_handled = 'X'.
*§2 implement (a non-trivial) event handler which allows user input
ELSE.
*§5 define fields and field-symbols for data-update
FIELD-SYMBOLS: TYPE lvc_t_modi.
DATA: ls_modi TYPE lvc_s_modi.
now I call my personal f4-help
CALL METHOD my_f4
EXPORTING
sender = sender
es_row_no = es_row_no
er_event_data = er_event_data
et_bad_cells = et_bad_cells
e_display = e_display
e_fieldname = e_fieldname
IMPORTING
lt_f4 = lt_f4.
*§6 assign the cell table fieldsymbol to the dereferenced data table and
fill the table.
ASSIGN er_event_data->m_data->* TO .
ENDIF.
*§7 in case you set chngeafter (change other values of your table after
f4-help) when registering your f4-help, column 7 will change,
depending on your choice for column 2. Notice that in this case
value change in other columns just happens after f4, not after
editing the grid directly. For value change after any editing you
should use your event handler for event data_changed (see §9).
IF chn_aft = 'X'.
ls_modi-row_id = es_row_no-row_id.
ls_modi-fieldname = 'SEATSMAX'.
CASE ls_f4-fieldval.
WHEN '0017'.
ls_modi-value = 280.
WHEN '0026'.
ls_modi-value = 385.
WHEN '0064'.
ls_modi-value = 385.
WHEN '0555'.
ls_modi-value = 220.
WHEN OTHERS.
ls_modi-value = 999.
ENDCASE.
APPEND ls_modi TO m_event_handled = 'X'.
ENDIF.
ENDMETHOD. "on_f4
METHOD on_data_changed *
*§9 catch event data_changed and check where it was raised for an
appropriate action. We just have to check the case when users can
put in the airline and f4-help is used for connection id.
METHOD on_data_changed.
IF e_onf4 = ' '.
MESSAGE i014($t).
ELSE.
CASE 'X'.
WHEN e_onf4_after.
MESSAGE i016($t).
WHEN e_onf4_before.
MESSAGE i017($t).
CALL METHOD my_application->check_input
CHANGING
ir_data_changed = er_data_changed.
WHEN OTHERS.
MESSAGE i018($t).
ENDCASE.
ENDIF.
ENDMETHOD. "on_data_changed
METHOD my_f4 insert here your own f4-help *
METHOD my_f4.
DATA: wa_tab LIKE LINE OF gt_outtab,
lt_fcat TYPE lvc_t_fcat,
ls_fieldcat TYPE lvc_s_fcat,
l_tabname TYPE dd03v-tabname,
l_fieldname TYPE dd03v-fieldname,
l_help_valu TYPE help_info-fldvalue,
lt_bad_cell TYPE lvc_t_modi,
lp_wa TYPE REF TO data.
FIELD-SYMBOLS: .
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = l_tabname
fieldname = l_fieldname
display = e_display
callback_program = 'BCALV_F4'
value = l_help_valu
callback_form = 'F4'
TABLES
return_tab = lt_f4.
ENDMETHOD. "my_f4
ENDCLASS. "lcl_event_receiver IMPLEMENTATION
/code
hope this helps you.
regards,
venu -
Hi,
I know we can set the condition update field in the condition type so that, it can store accumulated values, for example, discount only upto maximum of 3000pcs.
But this is one is based on Sales Order value and not Billing value. how can I set so that it considers only the invoice quantity and not the order quantity?
If I reject the Sales Order (using reason for rejection).. the accumulated value is not deducted or reset back to zero.. it still considers the quantity of the rejected item. What should we do so that it will notI am not sure that will function, but check the customizing options behind the reason for rejection.
Another option would be to force a new price determination in the billing document (look at the copy control between the delivery note and the billing document at the item level).
Best Regards,
Franck -
I change store what I can do for use my old app ?
HI I change the store from Italy at USA what I can do for dounload update ??
thank you LuigiYou can only update an app from the same store country in which it was purchased. If you purchased it in Italy, then you must update it in the Italian iTunes Store by changing your country back to Italy:
Change iTunes Store Country on an iDevice
1. Tap Settings;
2. Tap iTunes & App Stores;
3. Tap View Apple ID;
4. Enter your user name and password;
5. Tap Country/Region;
6. Tap Change Country/Region;
7. Select the region where you will be located;
8. Tap Done.
Also, see How to Change Your iTunes Store Account Location | eHow.com. -
Can not update Term value for metadata columm field to empty
Hi ,
I have created a TermSet for Sitecollection and created Managed metadata column called Delivery linked with the Term (onsite , online, etc..) in the Term set . If i try to update the Term Value for Metadata Colum field to
blank ( e.g remove onsite so it has blank value) then click Save , it does not save the blank value it reverts back to the original value set for that metadata field. The metadata column is set "not to require to contain information"
& do not force unique value
Any idea
Thanks
mpHi,
I understand that you want to change a metadata column to be blank. I cannot reproduce your issue. I can set the managed metadata column to blank as expected. Can you reproduce this issue with another managed metadata column? Or does this happen to the only
managed metadata column?
Here are my steps to achieve this:
Open the root site of the site collection in browser.
Click Site Actions> Site Settings. Click Term Store Management under Site Administration.
Created the term store. Then create a managed metadata column to use this term store(have tested this column with both list and library).
Set "not to require to contain information" & do not force unique value &Allow fill in value& Don’t specify a default value.
Thanks,
Entan Ming
Entan Ming
TechNet Community Support -
How can we find the original XML Name of a Field
Hi All,
Just like the Reports To Field has XML Name as *[<ManagerFullName>]*
Can anyone tell me how I can find the Original XML Name for the "Reports To (Alias)" User field?.
Thanks in advance,
RoystonMy scenario is that,
When a user saves a new campaign I want to change the owner of this campaign to the user he reports to i.e(Manager Alias) Since the Owner field takes the Alias Name.
To achieve this I have created a workflow to assign that Campaign to the Manager.
Here is the Code snippet
The triggering event is : Before modified record is saved.
action is Update Field Owner with UserValue('<ManagerAlias>')
Unfortunately its not accepting the ManagerAlias field....I have tried a similar scenario with the <ManagerFullName> field and its working fine.
Thanks,
-Royston
Edited by: Royston Goveia on May 12, 2009 9:59 PM -
Creating process for multiple Date fields for update or insert in APEX
hello there,
could someone please help me?
i have a form on Apex based on view that is based on three tables and updating and inserting ok using trigger instead of.
i have a problem now as in my form i have around 75 fileds (items) incuding 30 or more date fields which could be populated or left blank or update later.
so for each date field i have two boxs; one for date, input as dd/mm/yyyy (text field) and second for time, input as 23:45. All dates will be insert or update manually by user. so as i mentioned not all date fields could be poulated at one stage.
so i have created some process and validations and all of them work fine but i came accross if date left blank then (:) giving me problem so i have done following further process for each date field. In real table all the date fields have data type date.
declare
v_my_var date; -- for first date field
str_dy VARCHAR2(10);
dt_indx date;
str_tm VARCHAR2(20);
tm_indx date;
begin
str_dy := :p4_first_date
str_tm := str_dy||' '||substr(:p8_first_date_hh,1,2)||':'||substr(:p8_first_date_HH,4,2);
dt_indx := to_date(str_tm,'DD/MM/YYYY HH24:MI');
IF str_dy is not null then
v_my_var :=dt_indx;
ELSE
v_my_var := NULL;
END IF;
update table 1 set my_date = v_my_var where d_id= :p4_d_id;
end;
above code work fine but one date field of course therefore i have to do same code for each date field with changes and initialise variable again and again for each field.
so i like to ask is there any easy way that is more professional. i was thinking about the procedure and using collection or similar but honestly not much experience on that so could some one please help me?
I will be very thankful.
KRgdsHi,
You can do the needful by re-using the code if you can give the item names as P8_DATE1, P8_DATE_hh1, P8_DATE2, P8_DATEhh2 etc..So your item name just differs by a sequence.
Now you write function which will return desired date value taking above items as input. Pass item names to this function, get session state using APEX_UTIL.GET_SESSION_STATE('item_name') API.
Now modify you code as
FOR i IN 1..30
LOOP
v_date_array[i] = f_get_date('P8_DATE'||i, 'P8_DATEhh'||i);
END LOOP;
....Now you have all date valus in array. Just write one update as follows
UPDATE TABLE1
SET date1 = my_date_array[1], date2 = my_date_array[2]..
WHERE ....Hope it helps :)
Cheers,
Hari -
Can I populate a text field in one PDF with the modification date of a different file ?
Rather convoluted problem here but I'm trying to place a text field on a PDF document that serves as the main menu page for a library of interlinked PDF documents
The complete library contains over 7,000 files and additions are added and documents changed almost daily.
We currently use batch files to open the main menu from it's shortcut and this runs a check on a sync log file (.txt) to ascertain when the last time the user synchronised with the server to get the latest copy of the files.
Between a certain time range they are told how long it has been since they sync'ed and are offered the option to sync before opening, after a prescribed timeframe they cannot enter without synchronising. We use Allways Sync to conduct the file synchronisation with our mother files on our server.
What I'd like to do is take advantage of Allways Syncs automatic synchronisation options to synchronise on log on and at prescribed idle periods there after.
This works fine but I'd like the text field on the main menu PDF to say when the last synchronisation took place - easy if the main menu is the last file modified .. just use info.modDate.
However, the main menu is rarely modified therefore I wish to import the text to populate the text field from a different file.. either by interrogating the other files modifictaion data (though I doubt Acrobat can do this) or by simply importing some text stored in another file (a .txt file?) which has previously been created by batch file commands.
Any assistance would be greatly appreciated.
Regards,
Nifty Styles
(Norfolk, England)
P.S. I'm using Acrobat 8.3.1. Professional on Windows XP (SP3).Thank you for all your help above.
Just to confirm your advice, am I right with the following conclusions? :
1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
Further to that can you just advise on the syntax for accessing the modification date of the other document.
Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
var LastSync = "C:\sync\bin\lastsync.pdf";
var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
this.getField("LastSyncDate").value = strMsg;
If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
I much appreciate your time to help me ... I'm almost there.
Kind Regards,
Nifty -
How to add extra fields in xml for BI report
Hi ,
I am trying to create a po print report .
I took oracle standard po print program , Cloned it with output as xml and based on that i am creating the layout for my po print report using xml publisher word doc tool . Now In the oracle po print rdf there is no field like requestor email,phone numbers. I want these two fields on my po print .How can i get those fields .If i see requestor portion in xml its as below
<LIST_G_ONE_REQUESTOR>
<G_ONE_REQUESTOR>
<ONE_REQUESTOR_NAME>FRANK, SCOTT</ONE_REQUESTOR_NAME>
</G_ONE_REQUESTOR>
</LIST_G_ONE_REQUESTOR>
but I want some thing like
<LIST_G_ONE_REQUESTOR>
<G_ONE_REQUESTOR>
<ONE_REQUESTOR_NAME>FRANK, SCOTT</ONE_REQUESTOR_NAME>
<ONE_REQUESTOR_PHONE>select 123456</ONE_REQUESTOR_PHONE>
<ONE_REQUESTOR_FAX>111111111</ONE_REQUESTOR_FAX>
<ONE_REQUESTOR_EMAIL>[email protected]</ONE_REQUESTOR_EMAIL>
</G_ONE_REQUESTOR>
</LIST_G_ONE_REQUESTOR>
How can I achieve this ...should I make a change in standard RDF for this or is there a way we can pull these details in xml itself ??
Please help .
Regards,
ChandraI was just think on the same line if we can manage to fetch additional fields like phone number, email address of the requestor by writing a pl/sql in xml itself .But i see that atleast the requestor name should be passed into that query in case there is a way to do it .
Hopefully the change to rdf is the option .
Thanks Srini for prompt response.
--Chandra -
A couple of weeks ago, from the file menu, in my print options was to print a web page to PDF, that facility is no longer there. does anyone know how can I set Firefox to print to PDF.
The only options I have are (1) My Canon printer, (2) Fax or (3) Microsoft XPS document writer. There is no option for PDFFirefox generally displays the printers in Windows' Printers folder (Start orb > Devices and Printers). If it is missing one of the printers listed there, could you indicate which one it is, for example, Adobe Distiller, PrimoPDF, CutePDF Writer, etc.?
If you previously had an add-on which added print-to-PDF functionality just to Firefox, perhaps it got disabled. You could check here:
orange Firefox button ''or'' classic Tools menu > Add-ons > Extensions
Also, are you really running Firefox 8.0.1? That version from last November is no longer secure and has been superseded by Firefox 11. If you browse the web widely, you should update for your security. -
Can anyone give me user exit name for create/update purchase order partners
Hello guys
Can anyone gives me user exit name for create/update purchase order partners?
Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N) by using user exit.hi,
check these exits.
Transaction Code - ME21N Create Purchase Order
Enhancement/ Business Add-in Description
Enhancement
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number -
When I try to convert my .pdf to Word, I get a sidebar that has fields for: the name of my pdf file, the type of file I want to convert to (In my case, Word), and a button that says "Convert". My problem is that the "convert to" field isn't active. I can see the words "Microsoft Word" in pale gray, but when I click on the field, nothing happens.
You have posted in the wrong forum. Try posting in the forum for the product you are trying to use.
Here is a link to a page that has links to all Adobe forums... use the drop down list to see all.
Forum links page:
https://forums.adobe.com/welcome -
Can't import XML data into my databse-connected PDF form
Hi All
Excellent forum, and thanks for all the revealing insights so far viewed, however one question.I'm using a PDF form to collect info via email in the format of XML datafiles. I also have an identical PDF which has database connectivity and that works fine. It was suggested on this forum that I could then import the XML data into my Database via the DB-connected PDF, in effect a user form and one with DB connectivity. Now, I've checked the data types and they all match, but when I import XML file, it creates a blank record in the database and none of the information is carried through. Please could someone offer guidance on what I'm doing wrong, I've been trying to figure this out for a week now?
Thanks
SteppeMaybe it's because I'm replying by email, so I'll try the forums directly;
</script>
</event>
<assist>
<toolTip>Click to delete the current record fromthe database</toolTip>
<speak priority="toolTip"/>
</assist>
</field>
<field name="Decam_Done" y="44.45mm" x="165.1mm" w="28.575mm" h="13.707mm">
<ui>
<textEdit>
<border>
<?templateDesigner StyleID aped3?>
<edge stroke="lowered"/>
</border>
<margin/>
</textEdit>
</ui>
<font typeface="Myriad Pro"/>
<margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
<para vAlign="middle"/>
<caption reserve="4.2353mm" placement="top">
<font typeface="Myriad Pro"/>
<para vAlign="middle"/>
<value>
<text>Decam_ Done</text>
</value>
</caption>
<border>
<edge/>
<corner thickness="0.175mm" join="round" radius="2mm"/>
</border>
<bind match="dataRef" ref="$.Decam_Done"/>
<validate nullTest="error"/>
</field>
<?templateDesigner expand 1?></subform>
<proto/>
<desc>
<text name="version">8.2.1.3144.1.471865.466429</text>
</desc>
<?templateDesigner expand 1?></subform>
<?templateDesigner DefaultLanguage FormCalc?>
<?templateDesigner DefaultRunAt client?>
<?acrobat JavaScript strictScoping?>
<?templateDesigner Grid show:0, snap:1, units:0, color:ff8080, origin:(0,0), interval:(125000,125000)?>
<?templateDesigner FormTargetVersion 26?>
<?templateDesigner Zoom 75?>
<?templateDesigner Rulers horizontal:1, vertical:1, guidelines:1, crosshairs:0?>
<?templateDesigner SaveTaggedPDF 1?>
<?templateDesigner SavePDFWithEmbedded -
Revision: 20873
Revision: 20873
Author: [email protected]
Date: 2011-03-16 06:35:10 -0700 (Wed, 16 Mar 2011)
Log Message:
Update description of class deserialization validators functionality in example services-config.xml for BlazeDS/trunk.
Checkintests: Not run. No code changes.
Modified Paths:
blazeds/trunk/resources/config/services-config.xmlThanks Carlo for your reply.
I have read again the link and you are correct that in using the preferred command together with localhost under POTS dial-peer, I can now select which correct path to choose for my outbound calls. I'm just not very strong with dial-peer and translation rules at the moment.
I will try this solution during the weekend and let you know. But it would have been better if there was a sample configuration for this option.
Maybe you are looking for
-
Lock Frontpanel when user takes no activity in a specified time
Hello ! I have a PanelPC with Touchscreen and want to lock the frontpanel when the user doesn't make an input for a specified time. After this time the frontpanel locks and shows a password input to unlock the frontpanel. How do i detect if the user
-
ow do I install mountain lion if I still have 10.5.8 ? Can anyone help me ?
-
Click and copy not working in 5.1.4
10.7.3, Macbook Pro, 8 gigs ram. After updating last night I now find that on most sites I am unable to click and copy text. Not all sites, it works on Wiki but for example on this page I am unable to copy "Communities" from the top of the page. No
-
HT1349 How do I get iTunes to play in my Windows Media Player ?
I cannot play my iTunes Music I have purchased, with Windows Media Player. Any suggestions they may help ???
-
[ANN] yFiles FLEX 1.0 released
yWorks is proud to announce the official 1.0 release of yFiles FLEX, a Flex™-based framework for web-based diagramming applications. yFiles FLEX allows easy integration of sophisticated diagram visualization, animation and editing functionality into