Pluggin for abap code editor
Hi All,
I was wondering is there anyway we could create a pluggin for our existing code editor in abap ?
I have absolutely no idea about how could i do that. If there are any links or tutorials you can help me with, it would be of great help
Thanks & Best Regards,
Prateek
Hi,
Look at Create your own New Editor for BOR objects - ABAP Development - SCN Wiki
Regards,
Jarek
Similar Messages
-
from where i can download the new ABAP Code Editor.
thx in advancehi
check the link.
I think if you want the new editor, you should let sap know that your company wants it and they will install it i guess..
i'm not sure..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/acfcf5e6-0b01-0010-97ac-ad3e6020a584.
Cheers
Alfred
Reward with points for helpful answers. -
Customizing Code Templates for the Code Editor
Our customer wants to have a standerd code edit environment for developers using Jdveloper. Therefore, there is a need to customize the Code Template for the Code Editor. The question is once after it is customized, whether it is possible to export the template to the Jdveloper setup for all the developers, and if yes, then how to? Thanks!
Just distribute the java.tpl file from the <jdev_install>\jdev\system9.0.x.x directory. That should do the trick.
Sascha -
N4S: Web Dynpro for ABAP layout editor not working
Have problem in Layout editor in Web Dynpro for ABAP
I have installed NW04S Testdrive on 64bit Linux and able to login.
SE80 is working alright.
Next I create a Web Dynpro Comp. / Intf. and create a component.
I double click on the View name "V_Default" . The Layout editor opens on the right side. Change into Edit Mode.
The "View Elements" panel on the left side of layout editor is missing. This is where we select the various elements like "Textview" etc.
Even the right click on the "ROOTUIELEMENTCONTAINER" to insert elements using context menu does not work.
In summary I am not able to add any element in WD4A Layout screen.
Is there any special plugin required to be installed?
How to solve this problem?you cannot develope Webdynpro for ABAP using ECC5
This is available with netweaver 2004s (WAS7.0) for which ramp up is going on right now and the general availability is expected sometime around 1st quarter for 2006.
Regards
Raja -
Syntax helper for ABAP code?
Please, I would like to ask any of you ABAP developers with some expirience...is there any tool (inside or outside the Workbench) that can color the syntax of ABAP code... (the way it is done in some other IDEs like Visual Studio, JBuilder or even Ultra Edit...) ???
There are some IDE external of SAP that do that. But .. I try it and don't like that.
Ex : http://www.sapedit.com/
Wait for next release, there will be some new stuff.
Frédéric -
Possi. for ABAP code instead of JAVA Script for creating searachhelp in BSP
Hi Consultants i have a doubt that is there a possibility to use ABAP coding in BSP object for creating search help
instead of JAVA Script if so please reply me with the procedure or else with some sample coding.Hi Consultants i have a doubt that is there a possibility to use ABAP coding in BSP object for creating search help
instead of JAVA Script if so please reply me with the procedure or else with some sample coding. -
Missing toolbar in WebDynpro for ABAP Layout Editor
Hello all .
when creating a view on the layout screen, I have the toolbar missing (the one with the favorites, Active components, Adobe and so on... ).
Did anyone experience that problem? How can I make this toolbar shown?
Thanks,
Helena.Hello Thomas,
thanks for this info. So with the EHP the WYSWIG UI Element will be part of the standard UIs?
Which EHP do you mean because we're doing currently an RampUp with SAP EHP3 for ERP 6.0?
So you mean Basis Netweaver EHP? don't you?
Edited by: Steffen Epple on May 21, 2008 8:16 AM -
hi,
i need to reload the master data without FM, i put the comments on fm and relaod the data, now i having a problem, loading process is slow now as compair to before, when i was using with FM.i checked the manage of infoObject, it is show 1123455 records in "transfer" column and 0 record in "added" column, below is the start routine,
Please help me to fix that problem
IF NOT DATAPAK[] IS INITIAL.
LOOP AT DATAPAK INTO S_DATAPAK.
CLEAR V_INDEX.
V_INDEX = SY-TABIX.
IF S_DATAPAK-/BIC/ABRETPRI CO ' 0123456789.'.
CLEAR: V_AMOUNT, V_PRC.
V_AMOUNT = S_DATAPAK-/BIC/ABRETPRI.
CALL FUNCTION 'RSAR_CURRENCY_CONVERT'
EXPORTING
I_CURRENCY = S_DATAPAK-CURRENCY
CHANGING
C_AMOUNT = V_AMOUNT.
V_PRC = V_AMOUNT.
S_DATAPAK-/BIC/ABRETPRI = V_PRC.
ENDIF.
IF S_DATAPAK-/BIC/ABBLNKFLG IS INITIAL.
S_DATAPAK-/BIC/ABBLNKFLG = 'N'.
ENDIF.
TRANSLATE S_DATAPAK-/BIC/ABSZRANGE TO UPPER CASE
IF S_DATAPAK-CURRENCY IS INITIAL.
S_DATAPAK-CURRENCY = S_DATAPAK-WHLPRCCURR.
MODIFY DATAPAK FROM S_DATAPAK INDEX V_INDEX TRANSPORTING
/BIC/ABRETPRI /BIC/ABWHLPRCE /BIC/ABBLNKFLG
ENDIF.
*ENDLOOP.
ENDIF
ThanksYou need not use start routine to achieve this. Instead you can write transfer routines/formulas for those fields in UR.
-
Dual Nature for Abap code.
Hi,
Requirment is
For a Material,
Orders required quantity
components for that material
their requirment.
my program takes material and orders from RESB table.
to get components i am looping through header table using Function module -'CS_BOM_EXPL_MAT_V2'.
If i do the debugginf i am able to see that data is going properly to internal table. but when i execute, Components data is missing.
Any body can help me in this?
What might be the cause?
Regards,
Lijo JosephREPORT zpp_cut_mat_issue LINE-SIZE 130 LINE-COUNT 65(3) "LINE-COUNT 90(3)
NO STANDARD PAGE HEADING .
*Tables
TABLES : resb,makt,marc,mara,aufk.
DATA: l_bdmng LIKE resb-bdmng.
*Inputs
*PARAMETERS :
*Lead Production Order No.
P_AUFNR LIKE AFPO-AUFNR OBLIGATORY.
SELECT-OPTIONS :
*From No. to No.
s_matnr FOR resb-matnr ,
s_bdter FOR resb-bdter , "
s_ekgrp FOR marc-ekgrp,
s_mtyp FOR mara-extwg NO-EXTENSION NO INTERVALS ," TYPE C OBLIGATORY.
s_aufnr FOR resb-aufnr, "production order
s_dispo FOR marc-dispo, "MRP type
s_erdat FOR aufk-erdat, "prdn order creation date
s_werks for resb-werks.
*Raw Material /Assembly
RANGES : r_resb FOR afko-rsnum.
*Constants
*Type Pools
TYPE-POOLS : cs01.
*Data Declaration
DATA :
ismast TYPE cs01_mastb OCCURS 0 WITH HEADER LINE,
topmat TYPE cstmat OCCURS 0 WITH HEADER LINE,
stb TYPE stpox OCCURS 0 WITH HEADER LINE,
matcat TYPE cscmat OCCURS 0 WITH HEADER LINE,
dstst TYPE csdata-xfeld.
START-OF-SELECTION.
DATA it_resb LIKE resb OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_resb OCCURS 0,
matnr LIKE resb-matnr,
aufnr LIKE resb-aufnr,
bdmng LIKE resb-bdmng,
meins LIKE resb-meins,
bdter LIKE resb-bdter,
werks LIKE resb-werks,
pmatnr LIKE afpo-matnr,
pmaktx LIKE makt-maktx,
sbmng LIKE afko-sbmng,
baugr LIKE resb-baugr,
END OF it_resb.
*Variables
DATA l_lead_aufnr LIKE afpo-aufnr.
DATA l_pmatnr LIKE afpo-matnr.
DATA l_sbmng LIKE afko-sbmng.
DATA l_sbmeh LIKE afko-sbmeh.
DATA l_slno TYPE i.
data l_labst like mard-labst.
SELECT aufnr matnr werks bdmng meins bdter baugr INTO CORRESPONDING FIELDS OF TABLE it_resb FROM resb
WHERE aufnr IN s_aufnr AND matnr IN s_matnr and werks in s_werks
ORDER BY baugr.
IF sy-subrc <> 0.
MESSAGE 'No Values Found' TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
DELETE it_resb WHERE aufnr = space.
LOOP AT it_resb.
SELECT SINGLE lead_aufnr sbmng sbmeh INTO (l_lead_aufnr,l_sbmng,l_sbmeh) FROM afko WHERE aufnr = it_resb-aufnr.
SELECT SINGLE matnr INTO it_resb-pmatnr FROM afpo WHERE aufnr = l_lead_aufnr.
SELECT SINGLE maktx INTO it_resb-pmaktx FROM makt WHERE matnr = it_resb-pmatnr.
MODIFY it_resb TRANSPORTING pmatnr pmaktx.
ENDLOOP.
SORT it_resb BY matnr baugr pmatnr .
LOOP AT it_resb.
ON CHANGE OF it_resb-matnr.
FORMAT COLOR COL_HEADING ON.
WRITE:/ sy-uline.
WRITE:/ sy-vline,it_resb-matnr,it_resb-baugr,it_resb-meins,sy-uline.
FORMAT COLOR OFF.
l_slno = 1.
ENDON.
WRITE:/1 sy-vline,2(3) l_slno,sy-vline,(12) it_resb-aufnr,sy-vline,it_resb-bdmng,it_resb-meins,it_resb-baugr,it_resb-pmaktx.
l_slno = l_slno + 1.
AT END OF matnr .
READ TABLE it_resb INDEX sy-tabix.
SUM.
l_bdmng = it_resb-bdmng.
WRITE:/ sy-uline.
FORMAT COLOR COL_TOTAL ON.
WRITE:/ 'Total:',l_bdmng.
FORMAT COLOR OFF.
PERFORM bom_explode .
ENDAT.
ENDLOOP.
*& Form bom_explode
text
--> p1 text
<-- p2 text
FORM bom_explode .
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
aufsw = ' '
aumng = 0
capid = 'PP01'
datuv = sy-datum
ehndl = '1'
emeng = it_resb-bdmng
mktls = 'X'
mehrs = 'X'
mtnrv = it_resb-matnr
stpst = 0
svwvo = 'X'
werks = it_resb-werks
vrsvo = 'X'
IMPORTING
topmat = topmat
dstst = dstst
TABLES
stb = stb
matcat = matcat
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE:/ sy-uline.
LOOP AT stb.
WRITE:/ stb-idnrk,stb-menge,stb-meins,stb-mnglg,stb-meins,l_labst.
ENDLOOP.
WRITE:/ sy-uline.
SKIP 1.
ENDIF.
ENDFORM. " bom_explode
TOP-OF-PAGE.
CALL FUNCTION 'ZCA_REPORT_HEADER'
EXPORTING
hdval = 'Cutting List For Stores'
rpsize = 130
plant = 'BLR'.
COMMIT WORK. -
Hi All,
I have requirement to write code for date range.
Characterstic = Run-Out Date, it was created reference to 0Date.
Requirement is data should load depends on Run-Out Date 7 days old and 14 days future.
Logic is -7 days old >= Run_out date <= 14 days future.
please let me know how I need to proceed with ABAP code for this requirement.
Thanks.
Please do not ask for ABAP code here. Its not a training forum
Edited by: Pravender on Aug 18, 2011 1:46 AM>
Sree vignesh wrote:
> Hi,
> In the select option we have a field month range as
> SELECT-OPTION : FROM 01.2007 TO 01.2009 " Let say Ur Selection option is SO_MONTH
> but now i need to add the DMBTR field considering the month range in the SELECT OPTION i.e., only FROM 01.2007 TO 01.2009 i mean without 2006 data.
>
> LOOP AT LT_DATA WHERE month in SO_MONTH. " Here add a Where condition
> ls_output-matnr = lt_data-belnr.
> ls_output-werks = lt_data-bukrs.
> ls_output-lgort = lt_data-dmbtr.
>
> COLLECT ls_output INTO lt_output .
>
> ENDLOOP.
>
> please help with code .
>
> thanks in advance.
Regards,
Suneel G -
ATP control in ABAP code, product allocation
Hello,
Scenario is like this:
I am creating sales order for 10 PC of material. Material is fully available on unrestricted stock but product allocation is allowing me to use only 3 PC of material.
Question:
I am searching for ABAP code which tells me what is the reason of 'incomplete' availability control?
So in other words I would like to know (in ABAP) whether the quantity is blocked due to the product allocation or due to the stock shortage.
Regards,
PiotrHi,
Please check the below code, MODULE should be in between Loop and End loop.
PROCESS BEFORE OUTPUT.
LOOP AT ITAB WITH CONTROL EMPTABLE CURSOR EMPTABLE-CURRENT_LINE.
MODULE STATUS_0001.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0001.
LOOP AT ITAB.
ENDLOOP.
Thanks,
Sriram. -
ABAP Code to delete old PSA requests
Hi Friends,
I have a requirement where I am loading two different types of data through two different InfoPackages. Both the InfoPackages are scheduled to load data daily to a DataSource. Now the issue is I have to delete data every day from PSA, related to just one InfoPackage before I load data and leave the data coming from other InfoPackage as it is in the PSA.
In other words I want to delete PSA data based on an InfoPackage. I am not sure if we have a standard SAP program to achieve this or it involves custom ABAP code.
Any help will be appreciated.Hi
two info packages are loading data from from same source system or same source system..?
If this 2 info packages are loading from different source systems, then you can achieve this using "Delete PSA" process type.In this process type we can delete PSA based on source system.
If 2 info packages are loading from same source system, then we need to look for ABAP program.
check the below document for ABAP Code
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00be6ce4-aa1c-2e10-df81-856c1ffec357?QuickLink=index&overridelayout=true
how to create delete PSA process type in PC
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
Regards,
Venkatesh -
Any good books for abap coding
Hi..
Any one can tell me the good books on routines,user exists,mailny for abap code used in BW.Sap press books also.I dont known the abap.if any docs is ther please sent me to my mail id:[email protected] simens or reliance material.will assign points.
Advance Thanks,
MadhaviHi Madhavi,
First check the link in below then your email
<a href="http://www.sap-press.com/library.cfm?account=&library=H1968">The ABAP Collection</a>
Regards, -
Hi all,
Please give me some information for abap code standards using in it companies.Hi
Normally company or client specific.
Mostly used common are
Modification history should be there..
for local variables l_variable
Internal tables i_ vbak etc....
any report shud start with z_modulename_programname -
Hi,
I want a code formatter for ABAP code which will look afte proper alignment of every staement as well as indentation according to my requirements. Pretty printer was used but the format is not as expected.
Can anyone help.?Hi,
Im afraid there is no other tool than Pretty printer available, so unless you want to write you own tool for formatting the source code, you'll have to stick to the Pretty printer
Personally I find the Pretty printer Indentation and Keyword uppercase quite sufficient, and I don't see much point in having some special formatting - the next developer might use the Pretty printer on your code and your formatting is gone anyway...
regards,
Stano
Maybe you are looking for
-
Ipad Won't Sync Photo PT2!
Just upgraded my Ipad today, it seems that all is well. Except, my photos won't sync. When trying to sync photos (and only photos) it says '"XXXX's iPad" cannot be synced because file cannot be found' i've tried the following to make it work. 1) turn
-
Best approach for setting up iCloud for a child
Hi, I have bought my son an iPad Air for his birthday. We already have an iMac in the house which is shared by us all, with each person having their own login. My original question was going to be how I can create an iCloud login for him. I tried cre
-
Best Practice for Hyperion Planning : Essbase or Dataform for Adhoc Analysi
Hi, with Hyperion Planning, you are able to start an Adhoc Analysis from an Hyperion Planning Dataform or from an Essbase cube? What is the best way / pro / contra ? thanks in advance .... I 've juste notice that when you delete the dataform the Retr
-
How to configure database for the entity bean in j2sdkee 1.3.1. I like to use the SQLServer as the EIS, Please give me instuctions about the changes that have to be made in the config folder. Can i do the same work with Cloudscape Server,how to selec
-
I have been using JDeveloper for only a couple of weeks, mainly for UML design, and my first impression is that this is not a very mature functionality in JDeveloper... I have some questions I hope someone can help me with: 1. The navigation tree in