SAP ABAP [2020] - ABAP 7.40 - VALUE Operator
ฝัง
- เผยแพร่เมื่อ 15 ส.ค. 2020
- SAP ABAP [2020] - ABAP 7.40 - Value Operator
SAP ABAP value operator is used mostly to construct internal tables with values.
What is SAP ABAP?
ABAP is a high-level programming language created by the German software company SAP SE.
ABAP is one of the many application-specific 4th generation languages first developed in the 1980s.
It was originally the report language for SAP R/2, a platform that enabled large corporations to build mainframe business applications for materials management and financial and management accounting.
In ABAP we have basically 2 types of programs:
1)Reports
2)Module pools
The module pool program defines more complex patterns of user interaction using a collection of screens.
The term “screen” refers to the actual, physical image that the user sees.
Each screen also has a "flow logic", which refers to the ABAP code implicitly invoked by the screens, which is divided into a "PBO" (Process Before Output) and "PAI" (Process After Input) section.
Dynpro - Dynamic program - refers to the combination of the screen and its flow logic.
Introduction to ABAP module pool programming.
Module pool programs are also called dialog programs.
The module Pool programs are basically reports that are prepared for different screens and to manage the sequence of events of these screens.
In the transaction SE80, you can see all the dynpros that you have for this kind of report, add new ones, add all types of elements to the report.
In this program, we will discuss new syntaxes in ABAP 7.40
Thank you so much it is very Good Explanation
Thank you for sharing your time & knowledge 🙏
Thanks a lot, it was much needed video. Keep it up. (y)
Dude you're a really master keep going like this. Regards from Colombia
Superb
Thank you for sharing the use of Value operator video. Very Helpful
Thanku Manish :-)
Its a fantastic video...very very useful.... Pls keep upthe good
work sir thanks
Very useful video for 7.4 syntax👍..please make a series on 7.4 syntax.
Thanku Madhuri.. :-) I am planning to.. Keep watching.. :-)
You always rocks....keep posting..
Thank u Pradip for ur comment:-)
great! Tnak you!
Very Useful...Waiting for next video on ABAP 7.4...
Thanks Ganesh.. Stay tuned :-)
hey suraj !just want to say thank you for this awesome content and keep posting and spreading your knowledge
Thanks so much Shivdan.. :-)
@@SoorajSasidharanABAP Great work Suraj
@@curlsuntamed1718 Thank you :)
Very useful.. thanks
So nice of you.. Keep watching :)
5:00
TYPES: BEGIN OF ty_1,
name TYPE string,
role TYPE string,
END OF ty_1.
DATA(wa1) = VALUE ty_1( name = 'Mika' role = 'java' ).
cl_demo_output=>display( wa1 ).
please more videos with the for operator:)
Very Informative..need more videos on this about reading in Loop and also Please make BOPF video
Noted
6:35
TYPES: BEGIN OF ty_1,
name TYPE string,
role TYPE string,
END OF ty_1.
Data: wa1 TYPE ty_1.
wa1 = VALUE #( name = 'Mika'
role = 'java' ).
cl_demo_output=>display( wa1 ).
Hi apart from the syntax being new , are there any advantages from performance point of view ? Will sap make old syntax obsolete ?
Hey Sooraj...Thats a great learning video....just wanted to know how we can use binary search in read with value operator...Can you please add the syntax here pls...
Hi sir i like u r explanation
Plz if possible to increase the font size of display
It will be too good for everone.
Thanks and regards
Mohammed..
what is the differences between "read table" and "value" when we are trying to read a internal table?
21:00
TYPES: BEGIN OF ty_1,
name TYPE string,
role TYPE string,
END OF ty_1.
DATA: itab1 TYPE TABLE OF ty_1.
itab1 = VALUE #( ( name = 'Mika' role = 'abap1')
( name = 'Mika' role = 'abap2')
( name = 'Mika' role = 'abap3')
( name = 'Mika' role = 'abap4')
).
itab1 = VALUE #( base itab1 ( name = 'Mika' role = 'abap5') ).
DATA(wa_read) = VALUE #( itab1[ role = 'abap6' ] OPTIONAL ).
cl_demo_output=>display( wa_read ).
Could you please add a video to update deep structured internal table from data fetched.
Informative. Can you please create a video tutorial covering the READ Table (Table Operator) in ABAP 7.4?
I dont mean to be so offtopic but does any of you know of a method to log back into an instagram account??
I was stupid lost the account password. I would love any tips you can give me!
@Chaim Louie instablaster ;)
@Xzavier Lyle i really appreciate your reply. I found the site through google and Im in the hacking process now.
Looks like it's gonna take quite some time so I will get back to you later when my account password hopefully is recovered.
@Xzavier Lyle It did the trick and I actually got access to my account again. I am so happy!
Thanks so much you really help me out !
@Chaim Louie You are welcome =)
Can we pass the ddic custom structure in place of #
How we can use append value with table line?
For example I want to add exclude values.
rt_ exclude TYPE ui_functions
I cant use only value operator because this internal table had a initialize values so ı need append.
I am getting this error: The type "UI_FUNC" is not a structure
Do you have any idea? thank you
Can you use “for” statement in value statement
Good one.. Please make a video on line exists keyword Instead of read
Thanks and Noted.. :-)
Please make BOPF video
12:40
TYPES: BEGIN OF ty_1,
name TYPE string,
role TYPE string,
END OF ty_1.
TYPES: tt_st1 TYPE TABLE OF ty_1 WITH DEFAULT KEY.
DATA(itab1) = VALUE tt_st1( ( name = 'Mika' role = 'abap')
( name = 'Mika' role = 'abap')
( name = 'Mika' role = 'abap')
( name = 'Mika' role = 'abap')
).
cl_demo_output=>display( itab1 ).
Why are you typing your codes on the below of the video more than 3,4 times .
Can you please explain the key word LET in the value statement.
Hi John. I may make a video about it. :-)
Hi.. do you take online abap classes?
May I know if u are looking for ABAP or OO ABAP?
@@SoorajSasidharanABAP
I am looking for both..
Pls explain with one requirement.
To create and populate an internal table
TYPES: BEGIN OF ty_product,
id TYPE i,
name TYPE string,
price TYPE p DECIMALS 2,
END OF ty_product,
tt_product TYPE STANDARD TABLE OF ty_product WITH EMPTY KEY.
DATA(lt_products) = VALUE tt_product( ( id = 1 name = 'Laptop' price = '999.99' )
( id = 2 name = 'Mouse' price = '29.99' )
( id = 3 name = 'Keyboard' price = '49.99' ) ).
Can we use this dynamically?
What is the requirement?
@@SoorajSasidharanABAP like inside a loop we pass data from the looping internal table to another itab through work area. Can we do the same using value operator. What taught us here by passing only static values. Which we can use only in places like creating field catalog.
@@priyaranjannayak8791 We can do that with the help of FOR keyword.. :) You can also use value with FOR and achieve it.. :)
@@SoorajSasidharanABAP thanks. ok i'll try. You have any video for that?
17:00
TYPES: BEGIN OF ty_1,
name TYPE string,
role TYPE string,
END OF ty_1.
DATA: itab1 TYPE TABLE OF ty_1.
itab1 = VALUE #( ( name = 'Mika' role = 'abap1')
( name = 'Mika' role = 'abap2')
( name = 'Mika' role = 'abap3')
( name = 'Mika' role = 'abap4')
).
APPEND VALUE #( name = 'Mika' role = 'abap5') TO itab1.
DATA(itab2) = VALUE #( BASE itab1 ( name = 'Mika' role = 'abap6')
( name = 'Mika' role = 'abap7')
).
cl_demo_output=>display( itab2 ).