How do I create a physical structure in the data dictionary ?
Hi all,
How can I create a data structure using ABAP ? (prefrebly by using a class)
I want to create a physical data dictionary structure, just like using se11 (data type -> structure).
Thanx ahead.
-Tonni
To create a dynamic table at runtime I use the code below.
DATA: gt_fcat TYPE slis_t_fieldcat_alv,
gs_fcat LIKE LINE OF gt_fcat,
gt_fieldcat TYPE lvc_t_fcat,
gs_fieldcat LIKE LINE OF gt_fieldcat.
CLEAR: gt_fieldcat, gt_fieldcat[], gs_fieldcat.
gs_fieldcat-fieldname = 'SIGN'.
gs_fieldcat-ref_field = 'XMSTU'.
gs_fieldcat-ref_table = 'T007A'.
gs_fieldcat-fix_column = space.
gs_fieldcat-no_zero = space.
APPEND gs_fieldcat TO gt_fieldcat.
gs_fieldcat-fieldname = 'OPTION'.
gs_fieldcat-ref_field = 'SEQN'.
gs_fieldcat-ref_table = 'T159W'.
gs_fieldcat-fix_column = space.
gs_fieldcat-no_zero = space.
APPEND gs_fieldcat TO gt_fieldcat.
Create a new Table
CLEAR : gt_range2.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = gt_fieldcat
IMPORTING
ep_table = gt_range2.
Create a new Line with the same structure of the table.
ASSIGN gt_range2->* TO <range>.
To create a structure like this table I use
CREATE DATA gs_range2 LIKE LINE OF <range>.
ASSIGN gs_range2->* TO <range1>.
Similar Messages
-
How can I create a month and have the dates change on each page, auto?
Hey!
I need some indesign help.
I have a section "January" and another "February" etc for the 12 months.
I have one day per page with a month as a section. Then another month as a section and one day per page etc?
I want to auto change the date on each page.
I already have page numbers....
Any suggestions would be appreciated!
T.Have you considered using CSS styled text/list menus instead of image rollovers. It isn't hard really and it's actually a much better choice for web accessibility and for search engines to find and follow your links. Here are some links to several CSS menu systems you can try:
CSS Express Drop-Down Menus (tutorial)
http://www.projectseven.com/tutorials/navigation/auto_hide/
CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus (download)
http://www.highdots.com/css-tab-designer/
List-O-Rama (DW Extension)
http://www.dmxzone.com/go?5618
CSS Menu Maker (On-Line Menu Generator)
http://www.cssmenumaker.com/
Pop-Menu Magic2 by PVII (DW extension purchase)
http://www.projectseven.com/products/menusystems/pmm2/index.htm
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
How I create a structure in the ABAP DICTIONARY?
I need a structure for a FORM, how can I create a structure in the ABAP DICTIONARY?
Thanks!!Hi Carlos,
Go to SE11(ABAP Dictionary).
Select the Data Type radio button.
Specify the name for your structure.
Note structure in customer namespace should start with Z or Y.
Press the create button.
Then in the next dialog box select the structure radio button.
Then you will get in to the structure screen.
Give a meaningful description for your structure.
Add the relevant fields and finally activate.
Regards,
Abdul -
How to add new fields or structure in the Satandard Receiver Strucutre.
Hi,
I have a requirement, that ECC to SNC . IDoc with new segment needs to be placed in the target SAP Standard Structure. How to achieve this.
Regards,
Srinivas.Hi Michal,
Thanks for your response.
Here is the complete requirement.
Customer asked to have a structure in DeliveryScheduleNotification to populate ZSEGMENT values from IDoc.
I have added new structure to the Data type in a separate SWCV and new Name Space.
Maintained Dependency with SNC.
I am not able to see any interface under my SWCV while doing Interface determination Step in ID.
Please help me.
Thanks in Advance.
sreeni
Edited by: Sreenivas Reddy on Jun 6, 2009 2:16 PM -
How can i create multiple accounts but use the same itunes?
how can i create multiple accounts but use the same itunes?
Hi iCloud is Making Me Go Crazy,
You will need to create a new Apple ID for your GameCenter and iCloud services. You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish.
Using your Apple ID for Apple services
http://support.apple.com/kb/HT4895
Frequently asked questions about Apple ID
http://support.apple.com/kb/HT5622
Cheers,
- Judy -
Each year for the past 5 years I make a family calendar and send copies to all he family members around the globe. I hate that I have to recreate all the birthdays and special occasions from scratch, and re-drag all the photos onto these dates, in the lower half of the page of each month on the new calendar. How can I create a new calendar for the current year and port all of these photos/comments into the new calendar from last years calendar, to save having to redo all this work!! I am not talking about the upper half page of the photos only...I am referring to the calendar page of each month.
Thanks in advance.
ColinWelcome to the Apple Discussions. Open iWeb so you see your original site in the left hand pane. Use the File->New Site menu option to create a new site. Give it the name you want.
Now select a page in your original site and type Command+D. That will duplicate the page. Drag the duplicate page down to the new site and rename it as needed. Do that for the other pages you need in the original site.
OT -
How can i create a new item in the app "health"?
how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.
-
How do I create a Public Group on the Calendar Server?
How do I create a Public Group on the Calendar Server?
<P>
Anyone can create Private Groups or Member Only Groups. You must be given
administrative rights to create Public Groups on the Calendar Server. The
Calendar Server Admin (SYSOP) can give anyone rights to create Public Groups by
using the uniadmrights tool.
<P>
Go to /users/unison/bin/
and run the uniadmrights
tool. Some sample syntax:
<P>
To list all users with administrative rights:<P>
% uniadmrights -ls -host yourhostname
<P>
To give John Smith, a user on node 10000, rights to administer Public Groups:<P>
% uniadmrights -e "S=Smith/G=John" -add -pgrp -n 10000
<P>
In Calendar Server 4.0, you also have the option of using the Admin Server GUI
to assign Administrative
rights (instead of using the command-line method) by going to User Management,
Administration Rights.
<P>
With the proper administrative rights, log into the Calendar Client. Go to Options,
Manage Groups to create a new group. Choose PUBLIC from the dropdown window,
add your users and/or resources and click OK to create the Public Group which
can be seen by all users on the local Calendar Server.The following is info that I found in another post that I have been trying to follow.
MrHoffman New England
Re: Configure DNS - OS X Server Next Steps
Feb 13, 2011 6:36 AM (in response to Jimbooooooo)
You're setting up internal DNS services, you referenced your ISP DNS servers and you should not have, and now those servers have no translations for your hosts. This is a common misconfiguration.
See [configuring DNS on Mac OS X Server|http://labs.hoffmanlabs.com/node/1436] for how to set up your internal DNS server.
And if there are any references to your ISP DNS servers here (within your client settings, within your server settings, your Airport settings, etc), then you're usually going to have DNS and connectivity problems. You're running a server now, so you'll be running your own services, and (particularly because of NAT here) referencing only your own DNS server(s).
You may be setting up external DNS (if and when you need that), but that should happen after you set up your internal DNS. The above article has a link to setting up external DNS, when you get around to that, if/when you need in-bound connections into your LAN. -
How do i create a mail box in the SMTP server thru a java program
How do i create a mail box in the SMTP server thru a java program. If it is possible thru a java program.pls suggest a mail server compatible for the above possibility to work.
pls help ....Please let me know if it is not at all possible to
create a user account automatically thru a program
(java) in a mail server... how does yahoo work
then..does he manually add a user to the mail
server...By talking to a web server not a mail server.
>
Is not there any mail server that will allow us to
create mailboxes for my java program.. how do the
other web account services work..
As I said mail servers do have management interfaces. You need to find one and then determine what the management interface is. -
How can I create a query with web service data control?
I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.
Hi,
This might help
*054. Search form using ADF WS Data Control and Complex input types*
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html -
How do I create a filter that bypasses the in page and goes directly to spam rather to delete?
How do I create a filter that bypasses the in page and goes directly to spam rather than to delete?
From your question I'm going to guess you are talking about Mac Mail.
If you are talking about a RULE then the "Perform the following actions:" would be to select "Move Message" to mailbox "Junk" instead of "Delete Message."
If you are talking about something else then please give more information. -
How do I create a context menu in the new CL_SALV
I like a function xx in context menu. How do I create a context menu in the CL_SALV ?
thank you!
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
TYPES: t_proc TYPE zmp_c00_pr_d,
tt_proc TYPE STANDARD TABLE OF t_proc,
tt_proces_subpr TYPE TABLE OF ltyp_proces_subpr.
CLASS-DATA: lr_context TYPE REF TO cl_gui_alv_grid,
r_selections TYPE REF TO cl_salv_selections,
lr_menu type ref to cl_ctmenu.
CLASS-METHODS: main CHANGING ct_zmp_c00_pr_d TYPE tt_proc
ct_proces_subpr TYPE tt_proces_subpr
cv_screen TYPE i.
PRIVATE SECTION.
CLASS-DATA lt_zmp_c00_pr_d TYPE TABLE OF zmp_c00_pr_d.
CLASS-DATA ls_process TYPE zmp_c00_pr_d.
CLASS-METHODS: handle_double_click
FOR EVENT double_click OF cl_salv_events_table
IMPORTING row column,
detail
IMPORTING l_objkey TYPE zmp_c00_pr_d-objkey.
ENDCLASS. "lcl_events DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD main.
DATA: lr_alv TYPE REF TO cl_salv_table,
lr_events TYPE REF TO cl_salv_events_table,
lr_columns TYPE REF TO cl_salv_columns,
lt_col_tab TYPE salv_t_column_ref.
FIELD-SYMBOLS <column> LIKE LINE OF lt_col_tab.
IF r_container IS INITIAL.
CREATE OBJECT r_container
EXPORTING
container_name = 'CONTAINER'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE i004(z_pm_tool).
ENDIF.
*Für Dynpro 1400
IF cv_screen = '1400'.
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
* list_display = IF_SALV_C_BOOL_SAP=>FALSE
r_container = r_container
IMPORTING
r_salv_table = r_alv
CHANGING
t_table = ct_proces_subpr.
CATCH cx_salv_msg .
ENDTRY.
TRY.
* zeige die Daten
r_alv->display( ).
IF sy-subrc NE 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
ENDIF.
* Für Dynpro 1100
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
* list_display = IF_SALV_C_BOOL_SAP=>FALSE
r_container = r_container
IMPORTING
r_salv_table = r_alv
CHANGING
t_table = ct_zmp_c00_pr_d .
CATCH cx_salv_msg .
ENDTRY.
TRY.
* zeige die Daten
r_alv->display( ).
IF sy-subrc NE 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
*Ereignisobjekt holen
lr_events = r_alv->get_event( ).
** get the SELECTIONS object
*r_selections = r_alv->get_selections( ).
* Interne-Tabelle füllen und an die Methode handle_double_click übergeben
LOOP AT ct_zmp_c00_pr_d INTO ls_process.
APPEND ls_process TO lt_zmp_c00_pr_d.
ENDLOOP.
* Zeiger auf Container für Kontexmenu
CREATE OBJECT lr_context
EXPORTING
i_parent = r_container.
DATA: lt_events TYPE cntl_simple_events.
CALL METHOD lr_context->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 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.
* Interne-Tabelle füllen und an die Methode handle_double_click übergeben
LOOP AT ct_zmp_c00_pr_d INTO ls_process.
APPEND ls_process TO lt_zmp_c00_pr_d.
ENDLOOP.
* Event: Add Function
SET HANDLER: on_added_function FOR lr_events.
* Event: Kontexmenu
* SET HANDLER: on_context_menu_request FOR lr_context.
* Event: Doppelklick
SET HANDLER handle_double_click FOR lr_events.
* get the SELECTIONS object
r_selections = r_alv->get_selections( ).
* Einzelne Spalte holen
lr_columns = r_alv->get_columns( ).
* Doppelklick funktioniert nur auf das Feld OBJKEY
LOOP AT lt_col_tab ASSIGNING <column>.
<column>-r_column->set_output_length( 20 ).
IF <column>-columnname = 'OBJKEY'.
<column>-r_column->set_visible( 'X' ).
ELSE.
<column>-r_column->set_visible( ' ' ).
ENDIF.
ENDLOOP.
IF lt_col_tab IS NOT INITIAL AND sy-subrc <> 0.
MESSAGE i002(z_pm_tool).
ENDIF.
ENDIF.
ENDMETHOD. "main
METHOD handle_double_click.
FIELD-SYMBOLS <fs_zmp_c00_pr_d> TYPE zmp_c00_pr_d.
READ TABLE lt_zmp_c00_pr_d INDEX row ASSIGNING <fs_zmp_c00_pr_d>. " vor dem Changing Parameter der Klasse
* READ TABLE ct_zmp_c00_pr_d INDEX row ASSIGNING <fs_zmp_c00_pr_d>.
IF sy-subrc <> 0.
RETURN.
ENDIF.
IF column = 'OBJKEY'.
lcl_event_handler=>detail( <fs_zmp_c00_pr_d>-zz_slotid_a ).
ENDIF.
ENDMETHOD. "handle_double_click
METHOD detail.
DATA: lr_alv TYPE REF TO cl_salv_table,
lt_alv_tab TYPE TABLE OF zmp_p00_sp_d.
* Subprozess holen
SELECT * FROM zmp_p00_sp_d INTO TABLE lt_alv_tab
WHERE objkey = l_objkey.
IF sy-subrc <> 0.
MESSAGE i003(z_pm_tool).
ENDIF.
TRY.
* Neu erzeugte Instanz für ALV-Tabellenobjekt holen
cl_salv_table=>factory( IMPORTING r_salv_table = lr_alv
CHANGING t_table = lt_alv_tab ).
* Ausgabe Fenster für SubScreens
lr_alv->set_screen_popup( start_column = 1
end_column = 130
start_line = 1
end_line = 10 ).
* Anzeige der Daten
lr_alv->display( ).
IF sy-subrc <> 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
ENDMETHOD. "detail
ENDCLASS."lcl_event_handler IMPLEMENTATION
Edited by: polaris1 on Dec 15, 2010 12:18 PMCan't read that jumble, but suggest you look at the excellent SALV tutorials by Rich Heilman by searching for SALV tutorial on SCN. You'll find working code and how-to for adding your own functions to SALV.
-
Hai to all,
how can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi.
as u can see in my block diagram(attached), i can use statistic to read the RMS value for the data but i cant's use it on the FFT Spectrum (mag-Phase).vi .
Thank you for helping.
Attachments:
block diagram.jpg 48 KBhafizzuddin wrote:
thank you for the opinions, for now i am not using any express Vi..
In the long run you will benefit from this. Anyway is your problem solved, or do you need more help?
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far) -
How do you create a new folder in the library folder
How do you create a new folder in the library?
In the user Library? Open Finder and select Go then press the Option key. In the list you will see your user Library folder (underneath Home). Click it to open it. Now you can add a folder inside. You can left click/hold and drag the Library icon at the top of the Finder window to your Finder Sidebar so it's always avaliable.
-
How can i create my own file from the Adobe Export PDF to Word ?
How can I create my own file from the file of the Adobe Export PDF to Wodrd?
If there is handwritten content in your PDF then ExportPDF can't convert that to word.
~Deepak
Maybe you are looking for
-
I recently added songs to my library and when I tried rewriting the song info on the ID3 Tag, I couldn't because the songs are locked or encoded. Some are encoded with iTunes v 7.5, others withe LAME3.97. I just want to organize and rewrite their tag
-
After updating to ios 7, I have tried to update my apps and I can't. I press update and put my password in, the blue circle goes round, but in a few seconds, it stops and acts as if nothing happened in the first place. Please help, as I can't play a
-
Install ELearning suite 2.5 on Windows 8.1
When I try to install El suite 2.5 on my desktop a message appears which says not enough space or permission on target folder. I have admin right and also run the exe als administrator. Disc space is nog problem al all. Does anybody know how to solve
-
Premiere cs6 does not see correct images in media browser
Hi Folks, I'm working on a project in CS6 Premiere (On an iMac with Mavericks running) and I cannot get the Media Browser to correctly see/import the still images (JPGs) I want to use. Instead, it sees all 8 images as the same image, though with diff
-
IDS signature tuning... interval questions.
Just starting out trying to tune some signatures to fit our environment, and looking for clarification on some parameters of IDS signatures. For example: 2152 - ICMP flood It uses the "Flood Host" engine with the action parameters: Limit type: percen