Code for getting several characters from a field in SQ02
Hello Exports,Please assist me with the next code.I'm creating a query and need to get from MARA - MATNR field only 4 characters string.For example the value in the field : 123456789 and I need the...
View ArticleMy CDS view self study tutorial - Part 5 how to create CDS view which...
How is navigation implemented among CDS viewsHow to test navigationHow the navigation is implemented in ABAP sidePart1 - how to test odata service generated by CDS viewPart2 - what objects are...
View ArticlePrint a Barcode in smartforms
Dear all, How to print a barcode like the below picture in smartforms? Number is merged with lines of barcode. Thanks,Dai Nguyen Quang.
View ArticleSAP error "Select a view for processing the asset"
Hello Experts. I have a requirement in which Branch Head of particular branches should be able to transfer asset to the employees in their branches.However these branch heads should not have authority...
View ArticleExpection occured in communication framework
I am new to use web services . here i am trying to consume service form external . but we are getting the error like ''Expection occured in communication framework : error in HTTP framework...
View Articlehow to know structure of internal table used in ASSIGN statement..
hello all, for a particular exit i am using the following statements, field-symbols : <fs1> type any.field-symbols : <fs2> type any. ASSIGN ('(SAPLCJWB)L_PRPS') to <fs1>.ASSIGN...
View ArticleMost elegant way to check if select-option has a single value.
Hiya, I need to check if a select option (sl_vbeln) holds a single document.I've come up with the following code but I wanted to know if there was a more elegant way to code this: select-options:...
View ArticleSynatx Error for POS and LEN data in ABAP coding
Hi, I am writing this small code in ABAP editor. I am facing a syntactical error of Filed Type 'I' does not permit a sub field access. Please explain this error type and also explain how to clear this...
View ArticleSwitch to ABAP OO
Hi, we consider to switch to ABAP OO but the team has only theoretical knowledge and no practical skills in objectoriented development. Especially we are completely noobs in objectoriented design. We...
View ArticleProgram not calling subroutine
Hi friends, I'm doing simple alv I dont know where i have made mistake in my program below. Issue is ListHeader is not displaying marked in bold. Please correct my coding it will helpful. REPORT...
View ArticleDetermine class name used for calling a static method
Hi all, I know static methods cannot be redefined, but they can be called using a subclass as the 'calling class name'. Is it possible to determine the object type used for calling a static method?...
View ArticleConvert svg to png
Hello, I want to to convert an svg file to png using abap.Any help please Thank you
View ArticleCan I use REGEX to remove last character in a file
I have a file on the sap server which looks something like this: 0001#Text#gfdkgh#0002#more#ljjpoir#0003#then#ljddpoiw# I want a program to remove the last hash character from each line. I can read...
View ArticleImplicit commit does not seem to trigger update task function module?
Hi all, I have a module which updates certain logging information in a DB-table. This logging needs to happen always, even when the program itself does no other DB-updates. In order to avoid dumps...
View ArticleFS10N Screen Level Display Issue!
Hi experts, I am facing a problem while clearing the open items against the GL account. i.e., The value is not appearing in the screen level. FYI, While using standard(F-03) to clear the open items,...
View ArticleSM30 Events: Refresh Maintenance Screen after DB Update
Hello All, Before posting my query I have already gone through the other posts form SCN related to the same. Since I could not get the exact answer I'm posting this question. My scenario is simple as...
View ArticleCL_IGS_IMAGE_CONVERTER : svg to png ?
Hello, Does CL_IGS_IMAGE_CONVERTER support conversion from svg to png?If not, is there any other class in abap which support this conversion? Thank you
View ArticleHide Text field in PDF Adobe form
Hi Good day, i have text field where it has 50 lines in the text field. i want to hide this TEXT FIELD based on a condition ex : If PowerOn = 'X' Display TEXT FIELD. eleseif POWERON = '...
View ArticleRestrict file size of document in FB03
Hi Freinds,I have requirement where to restric the file size entered by the user not more than 5 MB ? how can werestrict from abap is there any way . I have searched in SDN i coulnt get . Is this...
View ArticleUntick/Enable "do not display screen" In Transaction Variant
Hi Experts, Can guide me how to enable "do not display screen" in transaction variant as screenshot below?
View Article