Display a complex structure for edit - BUS_EI_EXTERN
Good day Everyone
I need to display a complex structure (BUS_EI_EXTERN) to a user in a BSP and allow the user to change one or more required fields of this structure. I thought about using a recersive algorithm to iterate through the structure and display the table names in a tree. When the user clicks on a node (table) they will get a list of all the attributes of the table which they can edit.
Would this be the 'easiest' route to go?
I tried to use LVC_FIELDCATALOG_MERGE to get the attributes of the structure, unfortunantly it flattens the structure, any other way i can try and go through the structure?
I dont suppose there is a nice function module that already does what i want?
Thank you for all your help.
Sincerely,
Marc
Hi,
use function DDIF_FIELDINFO_GET to get the information about any structure/table and in its parameter DFIES_TAB you get the data that you need.
Later you can build your tree with that data.
Regards
Similar Messages
-
MDX: Forming Complex "Structures" (for lack of a better term)
I'm trying to create a "structure" that contains (Customer, Date of First Purchase, Date of Last Purchase) where the last 2 items are members from the same dimension attribute. This structure will form the basis of some more complex logic...for
example, I may have another "structure" containing (Customer, Date of Event1, Date of Event2) that needs to be intersected with the first:
Intersect(
Struct1 (Customer, Date of First Purchase, Date of Last Purchase)
Struct2 (Customer, Date of Event1, Date of Event1)
One option I'm considering (since a tuple cannot contain multiple members from the same dimension attribute according to
this article) to create additional date dimensions with the same relationship to the fact tables and use LINKMEMBER.
Another option would be to create a set consisting of 2 tuples for each customer:
(Customer A, Date of First Purchase),(Customer A, Date of Last Purchase),
(Customer B, Date of First Purchase),(Customer B, Date of Last Purchase),
...and then using some FILTER/GENERATE logic to work through the remaining logic...but I'm not convinced this would be any easier than simply maintaining 2 separate sets:
(Customer A, Date of First Purchase),
(Customer B, Date of First Purchase),
(Customer A, Date of Last Purchase),
(Customer B, Date of Last Purchase),
Any suggestions/recommendations?
Is my approach way off?
BI Developer and lover of data (Blog |
Twitter)hi,
another idea: take the same attributes from different hierarchies , make pseudo hierarchies if needed.
Philip,
thanks - that is also a good idea. However, and just like with the option of creating extra role-playing date dimensions, the drawback is that it isn't "dynamic" - I would need to know ahead of time the max number of possible members from the dimension attribute
to include.
I'm essentially trying to implement complex temporal logic dealing with events in time...and while so far I've only seen the need to have 4 members from the same dimension attribute in a "structure" future requirements may call for more than that.
BI Developer and lover of data (Blog |
Twitter) -
CE CAF Business Object, Complex Structure and external service...
Hi,
I want to use a web service as remote persistence in a CAF business object(Entity service). My Problem is, that the service returns a list of objects. But it seems that in the new CE the paradigm for caf changed a little and instead of complex attributes (an attribute with a structure and cardinality 0...n) you can only create an association with another business object.
Anybody knows how to bring that together? I want to do something similar like described here:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd</a>
But using the new CE the Problem is, that I couldn't manage creating a complex attribute in an Entity which can then be used as mapping for a web service.
When I create a simple attibute and replace the type with a complex one, i can do the mapping but there is an error: "The business node has an invalid main structure"
anybody a good idea?
kind regards and thanks alot
AlexHi Alexander,
You are now able to create the Structure and set the cardinality also in NetWeaver CE. I thin the following steps will be helpful for you.
1. Create a CAF project called firstcaf.
2.Create an entity service within the project called Customer.
3. Now expand modeled.
4. Then right click on Data Types. Here you will get the option "New Structure".
5.Now select New Structure, One popup will appear then enter the Structure name called Address and click ok.
6. Now You will get your Address structure under Complex Types.
7.Double Click on Address. In right hand side you will get the Address structure for editing.
8.Now from left hand side(Existing Type) expand caf.core and add your required attribute. In right hand side (structure Field) you can edit the name of attribute. suppose for Address structure I have added two field phone and mobile (both are short text ). save it.
9. Now switch to Composite Application Explorer and expand Business Objects ->Customer -> Customer->Customer. and double click on it (Customer).
10. In right hand side expand project firstcaf ->modeled. Now you will get your structure here, In my case I will get Address structure. Now select your structure and click Add button. Structure will go to right hand side(Structure Fields).
11. If you want to change the cardinality it is very simple. Select The Structure from right hand side(Structure Fields) and in bottom side click on property. Now you will get the Cardinality field. you can change it as you like.
Thanks and Regards
Chandan -
Layout for editing database record
Hi!
I'm trying to make a JPanel display a database record for editing in a nice way, but I'm kinda stuck. Example:
Id: 10
First name: Peter
Last name: Johnson
Age: 20 and so on. The problem is that I don't know what strategy to use for the layout management, so that it looks good. I use JLabel for all labels and the Id number, since it's not editable, and JTextField s for the other data. I want the labels for the fields right aligned and the textfields left aligned "in their container", so that there is a streight line between the :s. (I hope you understand...)
Any help appreciated!
/JanThanks!
The missing link was the FlowLayout.RIGHT constant. I guess I hadn't done my homework.
Thanks for pointing that out!
/Jan -
F4 for Editable field in ALV, display Name but capture ID
Hi Friends,
I have a ALV for which i have defined a Structure, which is passed to Fieldcatlog.
I have defined a Search help - ZUSER_NAME which has following fields to display.
USERID - USR02-BNAME
FNAME
LNAME
FULLNAME
So my structure for fieldcatalog has User-id which is linked to this search help with Domain XUBNAME.
So in my report i made this User-Id as editable and F4 available, everything is working fine.
when user does a F4, its displaying Userid,Fname,Lname and complete name.upon selection and save i am capturing the id and storing in the ztable.
But now i have a requirement that when user selects a value from this search help on F4, i need to display Fullname but capture the User Id. How can i do that?
This is something similar to the one we have in BSP- key-value pair.
how to do this in ALV.
Appreciate if someone can guide me thru.
Thanks,
Simha
Edited by: Simha on Sep 6, 2008 2:24 PMhai , this is example code for editing the F4 display .. check out this
REPORT zalv_editf4display.
*Type pools for alv
TYPE-POOLS : slis.
*structure for t582a tbale
TYPES : BEGIN OF ty_table,
infty TYPE infty,
pnnnn TYPE pnnnn_d,
zrmkz TYPE dzrmkz,
zeitb TYPE dzeitb,
dname TYPE dianm,
davo TYPE davo,
davoe TYPE davoe,
END OF ty_table.
*Structure for infotype text
TYPES : BEGIN OF ty_itext,
infty TYPE infty,
itext TYPE intxt,
sprsl TYPE sprsl,
END OF ty_itext.
*Structure for output display
TYPES : BEGIN OF ty_output,
infty TYPE infty,
itext TYPE intxt,
pnnnn TYPE pnnnn_d,
zrmkz TYPE dzrmkz,
zeitb TYPE dzeitb,
dname TYPE dianm,
davo TYPE davo,
davoe TYPE davoe,
END OF ty_output.
*internal table and work area declarations
DATA : it_table TYPE STANDARD TABLE OF ty_table INITIAL SIZE 0,
it_output TYPE STANDARD TABLE OF ty_output INITIAL SIZE 0,
it_pbo TYPE STANDARD TABLE OF ty_output INITIAL SIZE 0,
it_ittext TYPE STANDARD TABLE OF ty_itext INITIAL SIZE 0,
wa_table TYPE ty_table,
wa_output TYPE ty_output,
wa_ittext TYPE ty_itext.
*Data declarations for dropdown lists for f4
DATA: it_dropdown TYPE lvc_t_drop,
ty_dropdown TYPE lvc_s_drop,
*data declaration for refreshing of alv
stable TYPE lvc_s_stbl.
*Global variable declaration
DATA: gstring TYPE c.
*Data declarations for ALV
DATA: c_ccont TYPE REF TO cl_gui_custom_container, "Custom container object
c_alvgd TYPE REF TO cl_gui_alv_grid, "ALV grid object
it_fcat TYPE lvc_t_fcat, "Field catalogue
it_layout TYPE lvc_s_layo. "Layout
*ok code declaration
DATA:
ok_code TYPE ui_func.
*initialization event
INITIALIZATION.
*start of selection event
START-OF-SELECTION.
*select the infotypes maintained
SELECT infty
pnnnn
zrmkz
zeitb
dname
davo
davoe
FROM t582a UP TO 10 ROWS
INTO CORRESPONDING FIELDS OF TABLE it_table.
*Select the infotype texts
IF it_table[] IS NOT INITIAL.
SELECT itext
infty
sprsl
FROM t582s
INTO CORRESPONDING FIELDS OF TABLE it_ittext
FOR ALL ENTRIES IN it_table
WHERE infty = it_table-infty
AND sprsl = 'E'.
ENDIF.
*Apppending the data to the internal table of ALV output
LOOP AT it_table INTO wa_table.
wa_output-infty = wa_table-infty.
wa_output-pnnnn = wa_table-pnnnn.
wa_output-zrmkz = wa_table-zrmkz.
wa_output-zeitb = wa_table-zeitb.
wa_output-dname = wa_table-dname.
wa_output-davo = wa_table-davo.
wa_output-davoe = wa_table-davoe.
For texts
READ TABLE it_ittext INTO wa_ittext WITH KEY infty = wa_table-infty.
wa_output-itext = wa_ittext-itext.
APPEND wa_output TO it_output.
CLEAR wa_output.
ENDLOOP.
Calling the ALV screen with custom container
CALL SCREEN 0600.
*On this statement double click it takes you to the screen painter SE51.
*Enter the attributes
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
PBO of the actual screen ,
Here we can give a title and customized menus
*create 2 buttons with function code 'SAVE' and 'EXIT'.
GIVE A SUITABLE TITLE
*& Module STATUS_0600 OUTPUT
text
MODULE status_0600 OUTPUT.
SET PF-STATUS 'DISP'.
SET TITLEBAR 'ALVF4'.
ENDMODULE. " STATUS_0600 OUTPUT
calling the PBO module ALV_GRID.
*& Module PBO OUTPUT
text
MODULE pbo OUTPUT.
*Creating objects of the container
CREATE OBJECT c_ccont
EXPORTING
container_name = 'CCONT'.
create object for alv grid
create object c_alvgd
exporting
i_parent = c_ccont.
SET field for ALV
PERFORM alv_build_fieldcat.
Set ALV attributes FOR LAYOUT
PERFORM alv_report_layout.
CHECK NOT c_alvgd IS INITIAL.
Call ALV GRID
CALL METHOD c_alvgd->set_table_for_first_display
EXPORTING
is_layout = it_layout
i_save = 'A'
CHANGING
it_outtab = it_output
it_fieldcatalog = it_fcat
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDMODULE. " PBO OUTPUT
*& Form alv_build_fieldcat
text
<--P_IT_FCAT text
*subroutine to build fieldcat
FORM alv_build_fieldcat.
DATA lv_fldcat TYPE lvc_s_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '1'.
lv_fldcat-fieldname = 'INFTY'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 8.
lv_fldcat-scrtext_m = 'Infotype'.
lv_fldcat-icon = 'X'.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '2'.
lv_fldcat-fieldname = 'PNNNN'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 15.
lv_fldcat-scrtext_m = 'Structure'.
lv_fldcat-icon = ''.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '3'.
lv_fldcat-fieldname = 'ITEXT'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 60.
lv_fldcat-scrtext_m = 'Description'.
lv_fldcat-icon = ''.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '5'.
lv_fldcat-fieldname = 'ZRMKZ'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 1.
lv_fldcat-scrtext_m = 'PERIOD'.
lv_fldcat-icon = ''.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '6'.
lv_fldcat-fieldname = 'ZEITB'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 5.
lv_fldcat-scrtext_m = 'Time constraint'.
lv_fldcat-edit = 'X'.
*To avail the existing F4 help these are to
*be given in the field catalogue
lv_fldcat-f4availabl = 'X'.
lv_fldcat-ref_table = 'T582A'.
lv_fldcat-ref_field = 'ZEITB'.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '7'.
lv_fldcat-fieldname = 'DNAME'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 15.
lv_fldcat-scrtext_m = 'Dialogmodule'.
lv_fldcat-icon = ''.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '8'.
lv_fldcat-fieldname = 'DAVO'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 15.
lv_fldcat-scrtext_m = 'Start'.
lv_fldcat-edit = 'X'.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
lv_fldcat-row_pos = '1'.
lv_fldcat-col_pos = '9'.
lv_fldcat-fieldname = 'DAVOE'.
lv_fldcat-tabname = 'IT_OUTPUT'.
lv_fldcat-outputlen = 15.
lv_fldcat-scrtext_m = 'End'.
lv_fldcat-icon = ''.
APPEND lv_fldcat TO it_fcat.
CLEAR lv_fldcat.
*To create drop down for the field 'DAVO'
with our own f4 help
ty_dropdown-handle = '1'.
ty_dropdown-value = ' '.
APPEND ty_dropdown TO it_dropdown.
ty_dropdown-handle = '1'.
ty_dropdown-value = '1'.
APPEND ty_dropdown TO it_dropdown.
ty_dropdown-handle = '1'.
ty_dropdown-value = '2'.
APPEND ty_dropdown TO it_dropdown.
ty_dropdown-handle = '1'.
ty_dropdown-value = '3'.
APPEND ty_dropdown TO it_dropdown.
CALL METHOD c_alvgd->set_drop_down_table
EXPORTING
it_drop_down = it_dropdown.
LOOP AT it_fcat INTO lv_fldcat.
CASE lv_fldcat-fieldname.
To assign dropdown in the fieldcataogue
WHEN 'DAVO'.
lv_fldcat-drdn_hndl = '1'.
lv_fldcat-outputlen = 15.
MODIFY it_fcat FROM lv_fldcat.
ENDCASE.
ENDLOOP.
ENDFORM. " alv_build_fieldcat
*& Form alv_report_layout
text
<--P_IT_LAYOUT text
*Subroutine for setting alv layout
FORM alv_report_layout.
it_layout-cwidth_opt = 'X'.
it_layout-col_opt = 'X'.
it_layout-zebra = 'X'.
ENDFORM. " alv_report_layout
PAI module of the screen created. In case we use an interactive ALV or
*for additional functionalities we can create OK codes
*and based on the user command we can do the coding.
*& Module PAI INPUT
text
MODULE pai INPUT.
*To change the existing values and refresh the grid
*And only values in the dropdown or in the default
*F4 can be given , else no action takes place for the dropdown
*and error is thrown for the default F4 help and font changes to red
*and on still saving, value is not changed
c_alvgd->check_changed_data( ).
*Based on the user input
*When user clicks 'SAVE;
CASE ok_code.
WHEN 'SAVE'.
*A pop up is called to confirm the saving of changed data
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'SAVING DATA'
text_question = 'Continue?'
icon_button_1 = 'icon_booking_ok'
IMPORTING
answer = gstring
EXCEPTIONS
text_not_found = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*When the User clicks 'YES'
IF ( gstring = '1' ).
MESSAGE 'Saved' TYPE 'S'.
*Now the changed data is stored in the it_pbo internal table
it_pbo = it_output.
*Subroutine to display the ALV with changed data.
PERFORM redisplay.
ELSE.
*When user clicks NO or Cancel
MESSAGE 'Not Saved' TYPE 'S'.
ENDIF.
**When the user clicks the 'EXIT; he is out
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
CLEAR: ok_code.
ENDMODULE. " PAI INPUT
*& Form REDISPLAY
text
--> p1 text
<-- p2 text
FORM redisplay .
*Cells of the alv are made non editable after entering OK to save
CALL METHOD c_alvgd->set_ready_for_input
EXPORTING
i_ready_for_input = 0.
*Row and column of the alv are refreshed after changing values
stable-row = 'X'.
stable-col = 'X'.
*REfreshed ALV display with the changed values
*This ALV is non editable and contains new values
CALL METHOD c_alvgd->refresh_table_display
EXPORTING
is_stable = stable
EXCEPTIONS
finished = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " REDISPLAY -
How to use content conversion for Complex structure
Hi All,
I want to know how to use content conversion for the following complex structure:
Data
...Details 1 to Unbound
.....Header 1 to 1
.......HF1
.......HF2
.......HF3
.......ITEM 1 to unbound
.........ITF1
.........ITF2
all are of type string.
Thanks & Regards,
Viswanath
Message was edited by: Viswanath MenteHi,
In the content conversion,
give ur
1.document name as message type
2.give ur recordstructure as Details,,Header,1,ITEM,
3.mention ur keyfield.
conversion parameter
Header.fieldFixedLength - give the field lengths
Header.fieldNames=mention all the field name
Header.keyField=enter the value of keyfield
Header.endSeparator='nl'
repeat the same for Item
regards
jithesh -
I have Adobe Photoshop and Adobe Lightroom on my MacBook Pro laptop. I bought an iMac and I'd like to move my installations to the larger display desktop for editing purposes. How can I go about transferring them?
I have the same question. It seems that Adobe is almost impossible to contact (I ended up here at the forums to ask the same question).
I will never buy another Adobe product again if I can get another program to replace it. If this is customer service then it is NON EXISTENT!
I notice that your question has not been answered and why should you have to get the information from a forum? I know of no other company that makes you do this for simple product information.
NOT HAPPY with this version of arrogant customer service (nor am I happy about renting Photoshop products into the future - it is just a money grab in my opinion). I will be voting with my feet and going elsewhere in future. -
TIFF images are displayed as thumbnails but will not open for editing
I have noticed a problem with my iPhoto 7.xx
iPhoto displays the thumbnail of TIFF files but when it is selected (for editing as an example), iPhoto displays a grey circle with a black question mark. This happens with TIFF images from any source (multiple camera, scanner, etc). The TIFF files are NOT in raw format.Open the file with Preview and do a Save As. Either change the format or keep the tiff. That should fix the files so they can be viewed normally in iPhoto. If the problem is due to an alpha channel in the file this will fix the problem.
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file. -
Change structure for list editing of functional location
What is the significance of change structure for list editing (t code il04) of functional location?
just enter the functional locations you need to create and descriptions and save
-
Error while creating Complex Structure
Hi Friends,
When I am creating a complex structure with KOMG,KONH,KONP,which are related to pricing conditions data.
But I am getting the error as "<b>Field name 'ZZEMPL1' can already exist in a subsequent system</b>" for some of the customer fields in the KOMG structure.I am unable to understand what is the subsequent system?
So please help me to solve this issue.
Regards,
Anilhi guru,
just component name as --- your field name.
where as component type as give just data element k.
no need to give tablenme-fieldname k.
component component type .
f1 matnr----
data element
thanks anji.
Moderator message: please do not use SMS speak, what does that "k" mean, short for "OK"? please get your act together, these are professional forums.
Edited by: Thomas Zloch on Nov 15, 2010 9:10 AM -
Cannot change shift due date in Repayment Structure for Final Repayment
Hi Expert,
For creating new transaction of product type 'Interest Rate Instrument' , In Repayment Structure for Flow type - Final Repayment I want to change working day from the default in "No Shift" to "Next working day" but the screen display in gray color.
In this case i have not been post any flow types to G/L account.
Do you have any ideas or the correct solution to solve my issue?
Thank you in advance,
PK
Edited by: Pleassure on Feb 23, 2012 10:32 AMHi,
This is becuase you have settled the instrument. Please reverse the settlement , the required filed will be available for change.
Brijendra -
Best practices for Edit Proxies in Final Cut Server?
We just bought Final Cut Server, and for the most part are pretty happy with the product. We are a small production facility, and primarily work with DVCPro HD footage at 720P. One feature we'd like to use would be the edit proxies feature in FCS, but they don't seem to be working for us.
_Hosting Computer_
We're using a mac mini server with snow leopard server and final cut server 1.5.
Problem
Whenever we specify in the Administrator Pane of FCS, Under Preferences and Analyze, we'd like to use a custom transcode setting for the edit proxies, keeping Frame Size, TC, and Frame rate the same, but changing the codec to h264 least quality, the effects are a different compression than expected. We tested out the compression settings using Compressor on the server, and we get the desired results:
Input: DVCPro HD 720P Quicktime 960X720 (1248 x 702) 23.98 fps
Output: H264 Quicktime 960X720 (1248 x 702) 23.98 fps
Also did the same outputs using Apple Prorez, Photo Jpeg and got the following outputs:
Output: Apple Prorez Quicktime 960X720 (1248 x 702) 23.98 fps
Output: Photo Jpeg Quicktime 960X720 (1248 x 702) 23.98 fps
(We also made new transcode settings for these compressor settings and we not able to control the compressions through FCS with these settings as well. Our target codec is H264.)
After connecting the new compression settings on the Mac Mini Server to a new transcode setting in the FCS Admin Pane, we restarted the Java Client, logged in to FCS as an FCSadmin, opened the Admin Pane, and under preferences/analyze change the edit proxy setting to the New H264 setting that worked perfectly when using Compressor. After uploading a final cut project, with one associated media file (DVCPro HD 720P Quicktime 960X720 (1248 x 702) 23.98 fps), the resulting edit proxy did not match the specification: 384 x 216, 23.98fps, TC matches source.
Also did not dynamically connect when checking out the project from FCS and selecting edit proxies and keep media with project and saving to the desktop.
Question 1:
Does anyone have any best practice transcode setting(s) to create for DVCPro HD 720P using edit proxies that dynamically connect and are smaller size than the original? H264? Photo Jpeg?
Question 2:
Why is Final Cut Server's Compressor giving a different output, when the same settings work well with just Compressor?
Question 3:
Does H264 work in creating dynamically linking edit proxies (ie, no need to reconnect)?
I can imagine this information to be very useful to the community, so any input or solutions will be greatly appreciated.
Thank you.H.264 is a puzzling choice of codec for edit proxies. H.264 is not an edit-friendly codec since it is a complex long-GOP structure and will require a ton of rendering just to play back the timeline. ProRES 422 Proxy would be a much better choice for editing. I'm afraid I can't account for the differences between Compressor and FCServer in this case, but my gut tells me the non-I-frame codec you are trying to use for edit proxies might have something to do with it. Maybe for an edit-proxy workflow to operate properly on the server-side the codec must be I-frame? Is there any reason you do not want to use ProRES 422 Proxy? They are about 1/3 the footprint of 720p24 DVCPRO-HD, which is already very efficient. For that frame rate and frame size they would be roughly half the heft of good ol' DV25.
So my answer to all three questions would be to try ProRES 422 Proxy for your edit proxies and see if everything lines up. -
To create a deep structure for dynamic internal table.
Hello
My ALV has fields which are defined dynamically during execution.
so, i did it in the following way,
Declared Field symbolds, DREF and fieldcatalog as,
FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,
<fs_dyntable>.
DATA: dref_dyntab TYPE REF TO data,
dref_dynwa TYPE REF TO data.
DATA: ts_fieldcatalog TYPE lvc_t_fcat.
DATA: wa_fieldcatalog TYPE lvc_s_fcat.
Updated Fieldcatalog dynamically as,
*function module to read segment structure
CALL FUNCTION 'SEGMENT_READ'
EXPORTING
segmenttyp = v_segment_name
TABLES
segmentstructure = ts_seg_structure
EXCEPTIONS
no_authority = 1
segment_not_existing = 2
OTHERS = 3.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN '1'.
MESSAGE e024.
STOP.
WHEN '2'.
MESSAGE e025 WITH v_segment_name.
STOP.
WHEN OTHERS.
MESSAGE e023.
ENDCASE.
ENDIF.
*FETCH FIELDS FROM STRUCTURE OF SEGMENT AND CREATE FIELDCATALOG FOR
EACH FIELD OF SEGMENT (DYNAMIC FIELD CATALOG)
LOOP AT ts_seg_structure INTO wa_seg_structure.
ADD 1 TO v_counter.
wa_fieldcatalog-fieldname = wa_seg_structure-fieldname.
wa_fieldcatalog-col_pos = v_counter.
wa_fieldcatalog-ref_table = wa_seg_structure-segtyp.
APPEND wa_fieldcatalog TO ts_fieldcatalog.
CLEAR wa_fieldcatalog.
ENDLOOP.
and generated dynamic internal table using fieldcatalog as,
*--Method to get the structure of table using fieldcatalog.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = ts_fieldcatalog
IMPORTING
*--Variable of type REF TO DATA.
ep_table = dref_dyntab.
IF sy-subrc <> 0.
MESSAGE e023.
ENDIF.
*--Dynamic internal tables required when show segments selected
IF p_selseg IS NOT INITIAL.
ASSIGN dref_dyntab->* TO <t_dyntable>.
*--Create dynamic work area and assign to FS
CREATE DATA dref_dynwa LIKE LINE OF <t_dyntable>.
ASSIGN dref_dynwa->* TO <fs_dyntable>.
And then i populated this <t_dyntable> which is being passed as data-table to method
CL_GUI_ALV_GRID => SET_TABLE_FOR_FIRST_DISPLAY
for ALV grid Display along with above used filedcatalog ts_fieldcatalog.
Things are fine till here, but now i have the requirement to edit selected rows of the ALV display..
As you might be aware, we need a field
TS_STYLEROW TYPE lvc_t_styl, (i.e, a field of type 'h' and we can say as an internal table inside an internal table or else as a deep structure)
in the output internal table <t_dyntable> to meet our requirement.
My issue is about declaring one such field of type 'h' in this dynamically created internal table ''<t_dyntable>".
I tried in the following way by adding one such field to fieldcatalog :
*Field for Styling
ADD 1 TO v_counter.
wa_fieldcatalog-fieldname = 'TS_STYLEROW'.
wa_fieldcatalog-tabname = 'TS_STYLE'.
wa_fieldcatalog-col_pos = v_counter.
wa_fieldcatalog-no_out = 'X'.
wa_fieldcatalog-inttype = 'h'. " I even mentioned this
APPEND wa_fieldcatalog TO ts_fieldcatalog.
CLEAR wa_fieldcatalog.
But this is creating a field of type 'C' in the table <t_dyntable> instead of what i was expecting
Guyz and respected,
Please advice me with the solution or ur ideas....
Note : The overall requirement is create a deep structure for dynamically generated internal table.
Your help is highly appreciated and unforgettable..!!!!!!!hi,
Dynamic append
Dynamic internal table
Dynamic internal table
dynamic columns in ALV
Variant for dynamic selection
thanks -
Complex structures in Sender File adapter
Hi Experts
I am working on XI 3.0 SP 22. How do we handle the complex structures in sender file adapter in file content conversion.
Please help me out.
Regards
HariHi,
FCC can support upto max 3 levels, find below link for more help
http://help.sap.com/saphelp_nw70/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Content Conversion ( The Key Field Problem ) -
Jsp,bc4j,Data web Bean , error : NO ROWS AVAILABLE FOR EDITING
HI
I'm developping a jsp application based on Bc4j. when trying to insert a new row with missing fields which must be not null,
in order to be able to edit the row and correct the non seized fields, I display the edit page and it works for several views. but this time when editing fields and submitting the edit form an error is raised with the message no rows available for editing.
the particularity for these views(which causes the error) is that are details for a view which is detail for an other.
can someone please suggest some solution for such a problem
thanks in advance
Ghassen
nullghassen
this is a typicall error that occurs when trying to execute the Row data tag with action "Update" and there is not row obtained through the rowkeyparam (normally MyRowKey url parameter passed from the Edit page). I don4t have sufficient information to give you an exact solution.
I don4t understand all your escenario, you spoke about "Insert new row with missing values in required fields", but if you don4t specify a right value to that fields, the insert fail.
Then you display the Edit page to edit that just inserted row, to correct (specify?) the values of that fields. The error occurs in the EditSubmit page.
The EditSubmit page execute de Row data tag, according to the implementation of Rowtag, first recover the row reference (from rowkeyparam url parameter) and then, if that row reference is null, throws the "No rows available for editing" Runtime Exception. This means that the datasource used in your EditSubmit page not include that RowKey reference (obtained from Edit page as Url parameter).
HTH
Pepe
Maybe you are looking for
-
Itunes not playing songs in sequence
hi folks - recently moved my itunes folder because i was changing backup external drives, and now when i try to play my music itunes only allows me to play one song and then stops completely. when i try to press the forward button it does not work at
-
Creating M.V on time with union all
Hi, Here i am creating a M.V and i want refresh this on time(example every day 12.00) create materialized view log on emp with primary key including new values; create materialized view log on dept with primary key including new values; create materi
-
Hi everyone, I have a scenario where the my DB is running in archivelog mode and users are making changes to DB as usual, and all of a sudden my db crashes due to some power outage or failed disks or something bad.. Now my DB is inconsistent i can't
-
How to merge multiple PDF files with its corresponding review comments and stamps, which has stored as FDF files in WebDAV server?
-
Install BI Content Process Chain 0TCT_MD_C_FULL_P01
Hello, I am installing BI content Process chain (0TCT_MD_C_FULL_P01) for BI statistics. I did the install but when I try to activate it says " Process has no predecessor" . Has anyone installed this chain and how did you do it. Can you please expalin