How to create the stack in abap
like data structures in i want to build the stackthe situation is like
in the table vekp we will accpt exidv
now for this exidv there are corresponding venum's in the vepo.
now i want to display the all elements of venum.
the venum can also contain the other venum's.
Hi Javed,
For that u have to create nested types. Here the code for that,
TYPES: BEGIN OF TY_NAME,
FNAME TYPE NAME1,
MNAME TYPE NAME1,
LNAME TYPE NAME1,
END OF TY_NAME.
TYPES: BEGIN OF TY_ADDRESS,
NAME TYPE TY_NAME,
NO TYPE I,
END OF TY_ADDRESS.
Now defin one table which has type of ty_address .
Rewards points if it useful.
Similar Messages
-
How to create the sub type field in hr abap infotype
hi ,
how to create the sub type field in hr abap infotype.
regards,
venkat.Try like this also
creating of infotype please follow these steps ...
Step 1: Create Infotypes
i. Goto Transaction PM01 To create Infotypes:
ii. Enter the Infotype Number and say create all.
iii. The following message would display:
i. PSnnnn Does not exist. How do you want to proceed?
iv. Click
v. A maintain Structure screen appears.
Fill in the short text description and the PS structure of the Infotype.
Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
vi. Once the PS Structure is created, save and activate the structure.
vii. In the initial screen of PM01, now click on .
Create a new entry for the infotype.
Fill in the values as mentioned below and save.
Infotype Characteristics:
Infotype Name of the infotype_ Short Text: __Short Description________
*General Attributes :
Time constraint = 1
Check Subtype Obligatory
Display and Selection:
Select w/ start = 3 Valid record for entered data
Select w/ end = 5 Records with valid dates within the period entered
Select w/o date = 6 Read all records
Screen header = 02 Header ID
Create w/o end = 1 Default value is 31.12.9999
Technical Data:
Single screen = 2000
List screen = 3000; List Entry Checked.
viii. In the initial screen of PM01, now click on .
Choose the infotype entry in the list.
Fill in the values as mentioned below and save.
Technical Attributes:
In tab section,
The following attribute values are given:
Applicant DB Tab = PAnnnn Infotype Name
Subtype field = SUBTY
Subtype table = T591A
Subty.text tab. = T591S
Time cnstr.tab. = T591A
Prim. /Sec. = I Infotype
Period/key date = I Interval
and .
ix. Infotype Screen Modification:
Edit Screen 2000 from PM01 for the Infotype.
ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
Click . Flow Logic will be displayed. There string coding of your own logic.
Regards
Pavan -
How to create function module in abap for VirtualProvider in bi
how to create function module in abap for VirtualProvider in bi ???????????????
can any one help me with simple example ?????????????????
Moderator message : Duplicate post locked. Read forum rules before posting.
Edited by: Vinod Kumar on Jun 15, 2011 4:40 PMHi ,
Thanks for replies about my question??.
If i am using the exit in my char relation ship how can i debugg that exit???
if i am using BPS0 how to do it???If i am using BPS_WB how to do it??
Case1.Variable (type Exit) I known how to do debugg this one in BPS0 but i'm not sure in BPS_WB??
Case2:Char Relation Ship(Type Exit) how to do in BPS0 and BPS_WB??.
Thanks. -
"How to create new client in ABAP sneek Preview "
HI ,
Can anybody tell me how to create new client in ABAP sneek preview , i had create a new client 100 and tried to enter with Cilent 100. User : SAP* , and Password : pass. But i'm unable to log into the sap system.Hello,
perhaps this will help you --> <a href="http://www.sap-img.com/bc049.htm">instructions</a>
And this quote from another thread:
<i>in SAPNW2004sSneakPreviewABAP this procedure only works if the system <b>profile parameter login/no_automatic_user_sapstar is set to 0</b> (and the system restarted after that), otherwise you will have a new client without any user thus useless ;-).</i>
Regards,
Norman -
HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP
HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP
You can Use Transaction code: RSSM
Check the following link
http://www.sap-img.com/bc042.htm
In SU20 you will have to create a CLass.
After saving this double click this and you will taken to another screen where you can create Auth Object.
You can create authorization fields in SU21 or use existing ones.
You can also do above thru tcode SE80 Edit -> Other Object. In one the tabs you will see Auth. Objects . -
How to create the funtion module with step by step
friends can u help me regarding how to create the function module very urgent,
regards
bhavaniTo create a function module, you first need to create a Function Group which will keep all the function module of same functionality.
To create a Function Group, go to SE80->Click on Workbench-Edit Object->Function Group Tab->Enter Function Group name-> Click Create.
To create a Function Module:
Go to T.Code SE37->Enter the Function name->Enter Function Group name n Short Des.-> Here you need to define Import, Export parameters with the condition. Also you can write your code in source code tab.
check this link
Converting seconds values
check the FM code. if you don't have this FM code, create it in SE37 and make use of it.
FM MONI_TIME_CONVERT
FUNCTION MONI_TIME_CONVERT.
""Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(LD_DURATION) TYPE SY-TABIX
*" EXPORTING
*" REFERENCE(LT_OUTPUT_DURATION) TYPE SWL_PM_CVH-DURATION
DATA: LD_HOUR(4) TYPE N. "
DATA: LD_MIN(4) TYPE N. "
DATA: LD_SEC(4) TYPE N. "
DATA: LD_VALUE2(2) TYPE N.
DATA: LD_VALUE3(3) TYPE N.
DATA: LD_VALUE4(4) TYPE N.
DATA: SAVE_DURATION LIKE SY-TABIX.
data: ld_minus(1).
SAVE_DURATION = LD_DURATION.
if ld_duration < 0.
save_duration = save_duration * ( -1 ).
ld_minus = true.
endif.
CLEAR LT_OUTPUT_DURATION.
IF SAVE_DURATION NE 0.
LD_HOUR = SAVE_DURATION DIV 3600.
save_duration = save_duration - ld_hour * 3600.
LD_MIN = SAVE_DURATION DIV 60.
save_duration = save_duration - ld_min * 60.
LD_SEC = SAVE_DURATION.
IF LD_HOUR LE 100.
LD_VALUE2 = LD_HOUR.
WRITE LD_VALUE2 TO LT_OUTPUT_DURATION+3(2).
ELSEIF LD_HOUR LE 1000.
LD_VALUE3 = LD_HOUR.
WRITE LD_VALUE3 TO LT_OUTPUT_DURATION+2(3).
ELSE.
LD_VALUE4 = LD_HOUR.
WRITE LD_VALUE4 TO LT_OUTPUT_DURATION(4).
ENDIF.
WRITE ':' TO LT_OUTPUT_DURATION+5.
LD_VALUE2 = LD_MIN.
WRITE LD_VALUE2 TO LT_OUTPUT_DURATION+6(2).
WRITE ':' TO LT_OUTPUT_DURATION+8.
LD_VALUE2 = LD_SEC.
WRITE LD_VALUE2 TO LT_OUTPUT_DURATION+9(2).
LT_OUTPUT_DURATION = LT_OUTPUT_DURATION+1.
if ld_minus = true.
write '-' to lt_output_duration+1(1).
endif.
ELSE.
job running or aborted
ENDIF.
ENDFUNCTION.
Eg:2
Use the following procedure to create a function module
1.From the ABAP/4 Development Workbench screen, press the Function Library button on the Application toolbar.
2.Type the name of your function module in the Function Module field. The name must begin with Y_ or Z_.
3.Press the Create button. The Function Module Create: Administration screen is shown
4.Type the name of a function group in the Function Group field. The function group name must be four characters long and must begin with Y or Z.
5.Type an S in the Application field. This field is used to indicate which function area uses the function module. Our functionality is not used by any functional area, it is simply an example, so any choice will do. (S indicates that the function module contains functionality needed by Basis.)
6.Type a description of the function module in the Short Text field. The contents of this field are seen when displaying a list of function modules.
Press the Save button on the Application toolbar.
7.If the function group does not already exist, a pop-up informs you of that fact and asks you if you want to create it. Press the Yes button to create the function group. The Create Function Group dialog box appears. Type a description in the Short Text field and press the Save button. The Create Object Catalog Entry screen appears. Press the Local Object button. You are returned to the Function Module Change: Administration screen.
8.Press the Source Code button on the Application toolbar. The Function Module Edit screen is displayed.
9.Type the source code for your function module. Do not change the system-generated comment lines under any circumstances! Your function module might fail to operate if you do.
10.Press the Save button on the Application toolbar. The message Program xxxxx saved appears in the status bar at the bottom of the window.
11.Press the Back button on the Application toolbar. You are returned to the Function Library Initial screen.
12.If you want to define import or export parameters, select the Import/Export Parameter Interface radio button. Press the Change pushbutton. You are shown the Import/Export Parameters screen (refer to Figure 19.6). Type the names of your parameters in the first column and enter any other desired characteristics for each parameter. When you are finished, press the Save button and then the Back button.
13.Finally, to activate your function module, press the Activate button on the Application toolbar of the Function Library Initial Screen.
http://www.erpgenie.com/abap/bapi/example.htm -
How to create the maps externally and import in to PI
Hello Gurus,
Please let me know how to create the maps externally and import into PI
Regards
shankarHi,
Hope these links could help you understand XSLT, JAVA nad ABAP mappings.
[http://www.riyaz.net/blog/beginners-guide-to-xslt-mapping-in-sap-pi/technology/sap/769/]
[http://www.dataxstream.com/2009/09/allow-additional-mapping-types/]
[http://www.riyaz.net/blog/sap-pi-abap-mapping-simplified/technology/sap/837/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3ARiyaznetBlog(riyaz.net)]
[http://www.riyaz.net/blog/xipi-java-mapping-demystified/technology/sap/415/]
Regards,
Prasanna. -
How to create the logical file name
Hi All,
I have requirement where i need to post the Inventory Management data. for this i need to execute std. program RM07MMBL which is having logical file name in the selection screen. but i have placed my input file in application server.
Can any one tell how to create the Logical filename which refers the physical path. I also tried <b>t-code SF01 & Table - FILENAMEC</b>I and found that we need to add an entry in this table but i really dont know how we have to do since this table cannot be maintained in SM30 also..
Help Me.
Thanks in Advance!...
Regards,
RamkumarHi Ram,
Try using FILE transaction code...
Follow these steps to create:::
Double click on Logical file Path Definition
Click on New Entries,
Give Logical file Path name as Z_LOGICAL PATH and save it
now choose this path and double click on Assignemt of Physical path to Logical path
double click on the OS name
Give some description and give some Physical path name from AL11 transaction and save it
Now Double click on Logical File Name Definition,
Click on New Entries,
Give some logical file name: Z_LOGICAL_FILENAME
Physical file: test
Data Format: BIN
Logical Path: Z_LOGICAL PATH
Hope this helps
Regards,
Phani
Message was edited by:
Sivapuram Phani Kumar -
How to create the web template
Hi BW Experts,
how to create the web template.....!
I just want to know what is the use of Web template. i want to display the report
in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
Thanks
shahina..!Hiu2026
Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
Go to All programs and select your web application designer
Select the button to create a new page in WAD
Select the chart and place in the layout
Next goto Data provider Target and select your query
Give your report name in the given data provider screen
Select your query in History/find/Favourites/Infoareas button
Select your query in this screen and click OPEN
Now we can see the data provider is assigned to the chart.
To edit the chart you have to right click on the chart
After right click on it we will find another screen where we can edit all the settings
In this screen we can find NEXT click button to change our settings
In this screen we can state the tasks (Title, units, values, range)
In this screen we can change our background /validity/color
In this screen we can add values to the chart
In this screen we can add validity/positions/order/axis types to the chart
In this screen we can change the global settings/and overview of the chart.
This screen shows that we have customized the chart successfully
After successful creation of the chart we have to save the chart
Save your chart in your favorites by giving the description and technical name in the given block.
Now execute your WAD by selecting the execute button
The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
Web Application Designer for Beginners
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
Web Application Solutions: A Designer's Guide
http://www.lukew.com/resources/webapplicationsolutions.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
Feautures of WAD in 7.0
http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6 -
How to create the Web application designer
Hello BW Guru's,
how to create the WAD... step by step procedure and where to save the report and how to excute the report.
please send as soon as possible.
Thanks
Sudhahi,
you can also refer to the following links.
http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f11a7e3-0601-0010-52a2-c3fbbdb068da
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/a8cd1f71-0a01-0010-4783-f119b6132d25?rid=/library/uuid/cea68c65-0901-0010-f5a4-fd34189d8078 [original link is broken]
hope it helps,
regards,
Parth. -
How to create the Table of Content (TOC) in WEB
Dear Sir
Please help me
How to create the Table of content (TOC) in Web Intelligence Report,
Thanks
Gnanasekarn.K
Edited by: Gnanasekaran Kandasamy on Nov 20, 2008 11:12 AMHi Gnanasekarn,
You can create TOC in webi using Open Document, You can create link on the TOC and you can connect that link to open new report .
With the help of open document you can open the specific portion of report.
So you can achive your requirement using URL reporting or Open Document.
Regards,
Chaitanya Deshpande -
How To Create The New VO in Standered Page?
Hi Gurus,
Pl z help me how to create the new Custom VO in slandered page,and how to attach that VO in custom RN in all are slandered page only.
Regards,
SriniHi Sara,
<i>1. Could you please tell me how to create the new webservice in XI?</i>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
<i>2. What tools we have to use to create it.?</i>
/people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
Altova is also a good option
<i>3. How to send the SOAP request to XI?</i>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
SAP Note 856597
An Add-on
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
Regards,
Prateek -
How to create the event in the report for jobs scheduling.
Hi Experts,
i have a requirement like as follows:
The following triggers for Batch Jobs in the SCM system will be created.i.
Background Processing Event = u201CAPO Background Processing Eventu201D. After sending the Event, write a Log Report line u201CEvent u201CAPO Background Processing Eventu201D sentu201D.
Could you please suggest me how we create the Event or which transaction ?
Please give me a steps for creating events so that based on these events we use
CALL METHOD cl_batch_event=>raise
EXPORTING
i_eventid = p_bpeve
i_server = p_server
i_ignore_incorrect_server = p_ignore
EXCEPTIONS
excpt_raise_failed = 1
excpt_server_accepts_no_events = 2
excpt_raise_forbidden = 3
excpt_unknown_event = 4
excpt_no_authority = 5
OTHERS = 6.
Right now i received message "APO Background Processing Event" is doesn't exists.
Thanks in Advance.
Puneet.Hi Puneet,
Goto transaction SM62 and in there to BckProcEvents tab. There you can create the events.
You just need to specify the name and Description of an event.
Hope this serves your purpose.
Thanks -
How to create the dynamic report
Hi,
please help me, how to create the dynamic reportHi,
Try this..
DATA: p_temp(30) TYPE c DEFAULT 'ZTEST_REPORT'.
TYPES: BEGIN OF t_abapcode occurs 0,
row(72) TYPE c,
END OF t_abapcod.
T_ABAPCODE-ROW = 'REPORT ZTEST_REPORT.'.
APPEND T_ABAPCODE.
T_ABAPCODE-ROW = 'WRITE: / ''TEST REPORT''. '.
APPEND T_ABAPCODE.
INSERT REPORT p_temp FROM it_abapcode.
SUBMIT (p_temp) AND RETURN.
DELETE REPORT p_temp.
Thanks,
naren -
How to create the custom infotypes in Campus Management
Hi,
Please help me how to create the custom infotypes in campus management.
Thanks,
Lakshmi.Hi,
Steps to create a HR Infotype:
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level)
Subtype Creation :
Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
Subty.text tab is T591S and time const tab is T591A.
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
HR related site:
http://www.sapdevelopment.co.uk/hr/hrhome.htm
Enhancement of Infotype
Check the following
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
Infotype Enhancement overview screen
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
Cheers,
vasavi.
kindly reward if helpful.
Maybe you are looking for
-
Why are only the top halves of the game screens showing in facebook and yahoo zynga games
Mafia Wars July 10, 2011 Last time I wrote there was a problem with not being able to get the bottom of the screens in New York tiers. After months of not being able to finish New York, the bottoms of the tiers allowed me to finish out that level. Ma
-
I need to send a message via socket from a C program to a Java program
Hi, I need to send a message via socket from a C program to a Java program. The message has three data: a long, an integer and a string. How can I put those three fields in a array of bytes in C? How can I extract those same three fields from an arra
-
Captivate 5: Where is the history of Caption types stored?
Hi, I recently created two image files that were meant to substitute the Text only captions for the Success/Failure outcomes for each question answered within a True/False quiz. However, for subsequent T/F qustions I cannot replace these image files
-
Exported PDF file *extremely* magenta
I have a background that is specified as a dark blue but when I export the file the blue appears as purple, and the neutral gray has a pink cast. Anyone have any idea why this would happen? Or experience this yourself?
-
Simple question: Why can I see the aperture images...
I can see the librarys from aperture in other applications , but i can't see the images. How can I solve this. thanks leonel