Trapping line no of a statement in se38 abap editor
Hello Everyone,
I want to trap the line number of a perticular statement [ say wrire : 'arnab' ] in SE38 Abap editor, so that I can go back[ GO TO as in C programming ] the same statement as and when needed.Pls providec me with possible source code.
Thanks in advance.
Arnab
hi arnab,
pls see the below links
INTERFACES - 46k
Re: Deadline Branch not working - 83k
http://interviewhelper.blogspot.com/2007_09_01_archive.html
www.faqts.com/knowledge_base/index.phtml/fid/1 - 141k
thanks
karthik
Similar Messages
-
AP Line-Item Report for State Auditors
Dear Members,
I am preparing one Report named AP Line-Item Report for State Auditors and i need the following fields in my report.
Check Number PAYR-CHECT
Voucher Number BSEG-BELNR
Check Date PAYR-ZALDT
Voucher Date BKPF-BUDAT
Vendor Number LFA1-LIFNR
Vendor Name ADRC-NAME1
Vendor Street Address ADRC-STREET
Vendor City ADRC-CITY1
Vendor State ADRC-REGIO
Vendor Zip Code ADRC-POST_CODE1
General Ledger Acct No BSEG-HKONT
Purchase Order Number BSEG-EBELN
Tax Status Code BSEG-MWSKZ
Taxable Amount BSEG-HWBAS
Exempt Amount BSEG-MWSTS
Tax BSEG-MWSTS
Tax Accrued BSEG-MWSTS
Total Invoice BSEG-DMBTR
I am new to FI.So I request some one please let me know which datasources contain the above fields and which CUBE is best suited for this.
Thanks in Advance for help and quick reply is much much appreciated.
Best Regards
RC0VENDOR_ATTR - Vendor Master Data Attributes
0FI_AP_51 - Check Register Line Items
0FI_AP_4 - Accounts Payable Line Items
It should be noted, however, that this won't get you everything that you need, so you may have to create enhance one or more of these DataSources and create User Exit ABAP code to get the required data. Also, the 0FI_AP_51 DataSource isn't available if your source system isn't ECC6 EHP3 or higher. If your source system is less than that, you're going to have to create a generic DataSource for the data from the PAYR table. -
Table to see the link between line items on bank statement to customer invo
table to see the link between line items on bank statement to customer invoices
Hi,
There is no link from VBRP to BSEG directly.
This is because the data in BSEG is posted to various accounts and the VBRP is usually for a Sales Order or Delivery.
However there is a link from BKPF to VBRK and VBRK is linked to VBRP.
BKPF-AWKEY has the the Invoice number VBRK-VBELN
Hope this helps.
regards,
Advait -
How to create statement templates in ABAP?
In ABAP editor, when I go to pattern-> Other pattern and specify zpattern, then the following statements should be inserted in my code
Changed by .......: Your Name
Date..............: Current Date
Requested By......:
Reference Document: SR......
Description.......: .................................................
Basically, my question is how do I create zpattern and insert these statements?Hi
check out this link it has a example
for Dynamic Patterns
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1086690,00.html
if you want to create a new patter n
SE38-> Name of the program-> change/Display->UTILITIES>
MORE UTILITIES-->EDIT PATTERN>CREATE PATTERN
And define your pattern style
Regards
Pavan
Edited by: Pavan Bhamidipati on Jul 16, 2008 8:25 AM -
Increase the line size in ABAP Editor
Hai experts,
I write ABAP code one line upto 73 charcters only in ABAP editor, how to increase the line size in ABAP editor.
please its urgent.
thanks and regards
sitaramHi,
Go to se38.
then in menu -> Utilities->setting.
In that Go to ABAP Editor Tab ->>>>Editor tab.
then uncheck the Downwards-Comp Lne Length.
regards,
Santosh Thorat -
How to enforce 72 chars/line in ABAP editor?
Hello,
While trying to transport a custom function module from 6.4 to 4.6C, I came to realize that 4.6C chops source lines after 72 characters.
Is there a way to force a "word wrap" in 6.4 ABAP editor so that the code become compatible with 4.6C?
Or, is there a way to force 4.6C to accept ABAP lines longer than 72 characters?
Thank you in advance for your help.
PeterIn SE38, in the menu, 'Utilities>Settings>ABAP Editor tab-->Editor tab', you will see a check box at the bottom of the screen 'Default line length(72)'. Check that.
-
Commenting a Line in ABAP Editor when using SAP GUI for java
Hi,
In ABAP editor we can highlight the line which are to be comment and use cmd+< sign to comment those lines. What will be the command to be used to achieve the same functionality when using SAP GUI for JAVA on an iMac.Hello Kedar,
please check with SAP GUI for Java 7.20 rev 5 before submitting a bug report.
Also please verify, that cmd-< and cmd-> are not assigned as "Keyboard Shortcuts" in the "Keyboard" control panel of "System Preferences".
Bug reports can be submitted with the [SAP Message Wizard|http://service.sap.com/message], for SAP GUI for Java please use component BC-FES-JAV.
Best regards
Rolf-Martin -
Throw statement equivalent in ABAP Objects
Hi All,
I am trying to raise an exception and use a throw statement after catch inside try endtry in ABAP objects. Later i understood that there is no throw statement defined in ABAP objects. Could anyone help me out to understand the equivalent throw statement in ABAP and how to use in raise exception. I am pasting my code below for reference.
try.
CATCH Zxx_EXCEPTION into err.
write:/ err->local_text.
message err->LOCAL_TEXT type 'I'.
if err->local_text = ZIF_XXXX~BUSOBJLOCKED.
throw CX_AI_APPLICATION_FAULT.
endtry.
Thanks
DenoHello Deno
The TRY/CATCH logic of ABAP-OO is pretty much the same like in Java. Instead of throwing exception we have to raise them.
Method execute somewhere raise an exception of class zcx_myexception.
method execute.
if ( condition = abap_true ).
else.
RAISE EXCEPTION TYPE zcx_myexception
EXPORTING
textid = ...
<parameter> = ...
endif.
endmethod.
TRY.
call method go->execute( ).
CATCH zcx_myexception INTO lo_error.
* Do error handling
ENDTRY.
If the method that calls go->execute does not surround the method call by TRY/CATCH then it must define the exception class in its interface and, thereby, propagate the exception to the next higher level calling method.
Regards
Uwe -
Pretty Printer ONLY for selected lines in ABAP editor?
Hi,
I have done SETTINGS(Menu----Utilities) in PRETTY PRINTER in my ABAP editor that, all KEY WORDS shuld b in UPPER CASE.
Say, I hv written code(in raw format, not yet pressed the PRETTY PRITER) like below,
ABAP Code Line_1
ABAP Code Line_2
ABAP Code Line_3
ABAP Code Line_4
ABAP Code Line_5
I want to hv pretty printer format for Line 3 and Line 5 ONLY!! I do not want to hv it for other lines, so, I high lighted(selected) those lines (3 and 5) and pressed pretty printer, but, am getting the pretty printer format for all the rest of the code as a single shot!!
So, pls. let me know that, How I can get the pretty printer format ONLY for the lines, for which I wished(selected by high lighting)?
And also let me know, How Can I do automatic(not manually) indentation for my code as a part of pretty printer? Actually, I tried but, am not getting even though I checled the check box intendation in SETTINGS!!
Thank youHi ,
Preety printer will work on all the code that is avaliable in window,
In case. if you want to do partial , copy your code in seperate window and do Pretty Printer for it.
Refer http://help.sap.com/saphelp_nw04/helpdata/en/d1/801ad6454211d189710000e8322d00/frameset.htm for other queries.
Edited by: Harsh Bhalla on Nov 27, 2009 9:17 AM -
Getting Line Space in between statements
Hi ,
Line1<?field1?>
Line2<?field2?>
Line3<?xdoxslt:ifelse(Field3!='',field4,field5)?>
Line4<?Filed6?>
During runtime in RTF template getting space in between lines.In above statement at line 3 getting space if field3 is not null and field 4 is Null.
Output in RTF template as below:
field1(value)
field2(Vlaue)
SPACE
field6(value)
Please advice how to avoid spaces if the value is null in ifelse statement.
tried byusing @inlines in ifelse.. getting error message.. will @inlines support in ifelse statement.
Thanks
-GhantaHi
Tried following statment but i am getting space inbetween lines if Contactaddress is Null.
<?if@inlines:(ContactFirstLastName!=''and ContactAddress!='') or PrimaryAccountAddr!=''?><?xdoxslt:ifelse(ContactFirstLastName!='',ContactAddress,PrimaryAccountAddr)?><?end if?>
Is anything wrong in above statement.
Thanks
-Sri -
How to extract compiled stored procedure without line break for long statement
After I compiled stored procedure which contains long statement, the statement would cut into 2 rows into dba_source.
However, when I extract the codes from dba_source table, the source couldn't be compiled successfully because of
the broken lines.
For example, the following statement would be broken into 2 rows like this:
(line 1) gv_Message := 'Interface Description: Interface with Training '|| 'and Development Intran
(line 2) et (Evaluation Statistic Details)';That's very strange. What did you originally compile it with (sql*plus, toad, etc...)? I was able to compile a procedure with the maximum line length (2499 characters see error SP2-0027) and there is no split. Is the procedure in a VALID state with that line break? Honestly, this seems very odd, possibly even a bug here somewhere.
Richard -
Trapping line number/source file where exception occured
Hi,
How can we trap the line number where an exception was thrown and then store this information in a local data object? The line number appears in the stack trace but the only methods i can find for extracting info from the stack trace seem to write onto a file and not a local object.
Appreciate any suggestions
-NikhilJDK 1.4 adds a getStackTrace() method to class Throwable. getStackTrace() returns an array of StackTraceElement objects, from which you can get file name/line number info and more.
prior to JDK 1.4, your best bet would be to do a printStackTrace() to a StringWriter, and parse the resultant string. however, i believe the stack trace format is not platform-independent, so if you're writing something that will be run on different VMs, beware. -
Blank lines in create user statement
Hi everyone,
DataModeler still has problems with blank lines in statements. My "create user" statements look like
CREATE USER HTTPUSR
IDENTIFIED BY httpusr
DEFAULT TABLESPACE HTTP_BIG
TEMPORARY TABLESPACE TEMP
QUOTA UNLIMITED ON HTTP_BIG
QUOTA UNLIMITED ON HTTP_LOG
QUOTA UNLIMITED ON HTTP_SMALL
ACCOUNT LOCK
and fail. I have to remove the blank lines manually.
Is this a known bug or a new one?Bug 14248076 resolved for DM 3.1.2.704 and DM 3.2.0.720
-
NOT WORKING - VZ On-line Bill Pay and Statement viewing
I have tried ever since I signed up for one time bill pay - 1st of June 2013 to access my data and tried to paid on line. EVERY time it said access not available. I thought I made a payment on 8/5/2013 for July 1, 2013 due date and then I was told last night over the phone that the payment never came out of my bank acct. For the last 6 weeks I have tried to get in access all and always the same note: Access not available at this time. I tried to pay the Aug 1, 2013 DUE date for the last 3 weeks. Same answer. I called last night and was given two tel numbers to call for bill pay and getting my account up to date AND a number for e-center about my on-line account and the VZ issues. Did not call them yet since past 6pm. I did try again to get on line after making payment over the phone and VZ allowed me to see my statements and view all. WHY did VZ finally let me do this after all of my attempts for the last 6 weeks? This on going issue needs to get fixed. I even did over FIREFOX and it still did not work until today after 6pm. This needs to be reported to VZ TECHNICIANS PLEASE. See what they can do.
endoshore, exactly what does the bank say is the problem on your end? It's just probably that the bank doesn't want to support Mac. Did they say that their site should work with Mac? Do you have an Intel-based Mac?
-
Setting DIO lines to high impedance state
I would like to programmatically set my digital I/O lines on my DAQCard 6533 to a high impedance state using LabView. The manual states that the line drivers automatically set to high impedance on power-up or computer reset but I would like to change states within the program.
Hi,
Unfortunately there are no NI-DAQ driver calls to set your digital lines to high-impedance. You would probably need to use register-level programming to accomplish this.
DAQ Register-Level Programming Resources
http://digital.ni.com/public.nsf/websearch/B08F4125A9325B3F862565CC0073E68F?OpenDocument
Hope that helps. Have a good day.
Ron
Maybe you are looking for
-
How to find out what was imported from a dump file
Hi. I got the dump file from a group and they told me to import it. Import job went successfully without errors as following: Import: Release 9.2.0.6.0 - Production on Mon Oct 16 20:53:12 2006 Copyright (c) 1982, 2002, Oracle Corporation. All rights
-
Verity unstable and permissions errors
Our scheduled task to purge/reindex stopped working. Verity deleted the collections that it was supposed to index. The ws folder filled up. I followed the instructions in the TechNote below to clear the ws. After recreating collections that Verity de
-
T400 Flickering Screen problem
I am having a problem where my computer screen keeps flickering, especially during start up and afterwards. It doesnt matter whether it is plugged in or not. It is similar to this video, http://www.youtube.com/watch?v=9MOv_NsFqpQ&noredirect=1 I took
-
For a while now I have had a pretty big issue... Any application that needs to wake my Mac (for example, Awaken for alarms and EyeTV3 for recordings) just won't. This applies to ANY and ALL apps that need to wake it up. This obviously is a system wid
-
Web service call from a ReadWriteBackingMap
We are thinking of making a web service call from a ReadWriteBackingMap <cachestore-scheme> <class-scheme> <class-name> We will extend ReadWriteBackingMap class and override load() method to make a call to a web service. This cache will be read only