How to write a code for cumulative values..
Hi
Can any one proivde the Sudo code for Customer exit at Reports.
I need to write a code for when ever user input Calaender month then querry calucalate the cumulative values also.
How to write a code for cumulative values..
Example:
Customer -Sales.Quantity(CalMonth)--- Sales.quantity(Cumulative Month)
1000--223--
2200
Regards
mannev.
hi mannev,
to get an idea, search in SDN
for example
customer exit code
with hopes,
Raja Singh
Similar Messages
-
How to write a code for open new txt file in swing
hai all,
now i do one project in java.that project's GUI is Swing. But i don't known swing (basic).So how to write a code for open new txt file and "Open window " in menu item on swing.that means when i click the "New" on menu that time open a new txt file. open also like that type.
plz give me that code ! very urgent
Advance Thanks !
RSKSwing Tutorial:
http://java.sun.com/docs/books/tutorial/uiswing/index.html
Since you don't know the basic of swing read the tutorial, it is for your own good because it is useless if we provide you with a code you don't even understand and how it works.
If you want a menu read the tutorial about using menus and for opening a file read using JFileChooser.
note: don't use the word urgent because it implies that your problem is more important than others. -
How to write the code for IMPORT and export in Field exit
Hi,
Using the FB01 tcode with condition as document type (ZF) and company code
i want to substitute values should come in the next screen.
i am passin the document type and the company code in the FB01 initial screen (100) and added field exit for Cost centre.
if the Doc type ZF and company code is 0245 then the field exit shoul trigger and give the defaul cost centre value if it contain any cost centre valu it over write the existing if it is empty i will write the defauls cost centre value.
Thanks & Regards,
Nelsons......Hi,
As i have understood, if ur doc type is ZF and company code is 0245, then you want to pass the value to cost centre field in next screen.
You can use program RSMODPRF. here enter the data element of cost centre field and assign the screen no and program name (for FI docs prg name would be SAPMF05A).
After assigning program and screen no , Create the function module where u have to write an 'if' statement for assigning value to cost centre (i.e export field in FM)
the values for company code and document type can be fetched from their respective parameter ids i.e. BUK and BAR.
Regards,
Seema Jaisinghani -
How to write processing code for the Inbound IDOC to the R/3 ??
i m having a file -> XI-->R/3 scenario,
IDOC is being sent from XI to R/3,
can u guide to me to write a processing code for the Inbound IDOC to the R/3,
since i m new to ABAP and ALE technology, can we provide me any blog for doing that.......or guide me....Hi Sudeep
Simple File to Idoc scenarion blog
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
Also see the blog
<a href="/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi Steps for Posting IDOC's</a> by Ravikumar.
Configuration of IDOC adapter
http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm
Regards
Santhosh
*Reward points if useful* -
How to write the code for a panel when using treeview?
Hi,
We are developing a new plug-in in Indesign as based on treeview. we have completed the design part, but we have some doubts in coding..
One dialog widget and three panels(General, fitting, Eventsandscripts).
The .fr file:
resource GeneralPanelWidget (kGeneralPanelResourceID)
__FILE__, __LINE__,
kGeneralPanelWidgetID, // WidgetId
kPMRsrcID_None, // RsrcId
kBindNone, // Frame binding
Frame(0,0,800,500) // Frame
kTrue, // Visible
kTrue, // Enabled
kGeneralPanelTitleKey, // Panel name
StaticTextWidget
kInvalidWidgetID, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 15, 138, 35, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
ksamPrefProjectPathStringKey, // Initial text.
ksamPrefProjectPathTextEditBoxWidgetID // No associated widget
// TextEditBox Widget resource
TextEditBoxWidget
ksamPrefProjectPathTextEditBoxWidgetID, // WidgetId
kSysEditBoxPMRsrcId, // RsrcId
kBindNone, // Frame binding
Frame(140, 15, 420, 35), // Frame (l,t,r,b)
kTrue, kTrue // Visible, Enabled
0, // Widget id of nudge button (0 so we dont get one)
0, 0,// small,large nudge amount
0, // max num chars(0 = no limit)
kFalse,// is read only
kFalse,// should notify each key stroke
kFalse,// range checking enabled
kFalse,// blank entry allowed
0, // Upper bounds
0, // Lower bounds
"", // Initial text
ButtonWidget
ksamChooseProjectButtonWidgetID,
kSysButtonPMRsrcId,
kBindNone,
430, 15, 500, 35,
kTrue, kTrue,
ksamChooseBtnStringKey,
StaticTextWidget
0, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 45, 138, 65, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
ksamPrefImagePathStringKey, // Initial text.
ksamPrefImagePathTextEditBoxWidgetID // No associated widget
// TextEditBox Widget resource
TextEditBoxWidget
ksamPrefImagePathTextEditBoxWidgetID, // WidgetId
kSysEditBoxPMRsrcId, // RsrcId
kBindNone, // Frame binding
Frame(140, 45, 420, 65), // Frame (l,t,r,b)
kTrue, kTrue // Visible, Enabled
0, // Widget id of nudge button (0 so we dont get one)
0, 0,// small,large nudge amount
0, // max num chars(0 = no limit)
kFalse,// is read only
kFalse,// should notify each key stroke
kFalse,// range checking enabled
kFalse,// blank entry allowed
0, // Upper bounds
0, // Lower bounds
"", // Initial text
ButtonWidget
ksamChooseImgpathButtonWidgetID,
kSysButtonPMRsrcId,
kBindNone,
430, 45, 500, 65,
kTrue, kTrue,
ksamChooseBtnStringKey,
StaticTextWidget
0, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 75, 138, 95, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
ksamPrefMasterTempPathStringKey, // Initial text.
ksamPrefMasterTemplatePathTextEditBoxWidgetID // No associated widget
// TextEditBox Widget resource
TextEditBoxWidget
ksamPrefMasterTemplatePathTextEditBoxWidgetID, // WidgetId
kSysEditBoxPMRsrcId, // RsrcId
kBindNone, // Frame 85
Frame(140, 75, 420, 95), // Frame (l,t,r,b)
kTrue, kTrue // Visible, Enabled
0, // Widget id of nudge button (0 so we dont get one)
0, 0,// small,large nudge amount
0, // max num chars(0 = no limit)
kFalse,// is read only
kFalse,// should notify each key stroke
kFalse,// range checking enabled
kFalse,// blank entry allowed
0, // Upper bounds
0, // Lower bounds
"", // Initial text
ButtonWidget
ksamChooseMasterTempButtonWidgetID,
kSysButtonPMRsrcId,
kBindNone,
430, 75, 500, 95,
kTrue, kTrue,
ksamChooseBtnStringKey,
CheckBoxWidget
ksamShowFrameLabelCheckBoxWidgetID, // WidgetId
kSysCheckBoxPMRsrcId, // RsrcId
kBindNone,
Frame( 10, 165, 320, 185) // left, top, right, bottom
kTrue, // Visible
kTrue, // Enabled
kAlignLeft, // Alignment
ksamShowFrameLabelChkBoxTextKey // Initial text
DefaultButtonWidget
kOKButtonWidgetID, // WidgetID
kSysButtonPMRsrcId, // RsrcID
kBindNone, // Binding
320, 380, 390, 400, // Frame (l,t,r,b)
kTrue, kTrue, // Visible, Enabled
ksamPrefSaveStringKey, // Button text
CancelButtonWidget
kCancelButton_WidgetID, // WidgetID
kSysButtonPMRsrcId, // RsrcID
kBindNone, // Binding
400, 380, 470, 400, // Frame (l,t,r,b)
kTrue, kTrue, // Visible, Enabled
ksamPrefCancelStringKey, // Button name
kTrue, // Change to Reset on option-click.
This is for General panel design and we have written the code for this..but we dont know where to call this functions. we implemented this plug-in based on BasicSelectableDialog sample plug-in. please guide me to complete this code.
Thanks in Advance..Your question is not very clear. Have you gone through the PanelTreeView.sdk example in the sdk?
-
How to write the code for screen-exits
halo fellow SAPiens,
I want to add a screen for t-code AS01......for which i have created a sub-screen in the function grp (related to AS01)........now i need to link the sub-screen with the Standard SAP prgm..........i.e call the sub-screen........how can i do it...........pls send me one example for implementing menu-exits,screen exits and
Screen exits - Urgent.
screen exits
Screen exit
Please reward points if helpful... -
How can we write the code for opening the command prompt and closing the
how can we write the code in java for opening the command prompt and closing the cmd prompt from eclipse (cmd prompt should close when click on the turminate button in eclipse)
rakeshsikha wrote:
how can we write the code for opening the command prompt and closing theBy typing in Eclipse (which you seemingly have)? -
How to comment in smartform for text value in abap
how to comment in smartform for text value in abap.
i want to comment text value which is coming in output
From drag and drop option i had dropped an item text in text window and now i dont want to delete it i just want to comment it so can any one help me in commenting the text value.
Advance Thanks for your helphi
open the text element in the smartform.
on the left corner, we have text editor button.
open that and change the editor (goto-->change editor)
on the new line, give the format as comment line /*. and you can write the comments as required.
such lines doesnt reflect in the output layout.
thanks
pavan -
How to find function code for buttons on toolbar in oops alv
Hi experts,
I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALVHi Prakash,
-->First you have to set the pf status in your alv program by,
{FORM pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'FIRST'.
ENDFORM. "PF_STATUS}
-->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
i_callback_pf_status_set = 'PF_STATUS'}
*-->Then doble click on that pf status,
From the menu bar, select Extras->Adjust Template->List Viewer,
This will give you the existing statndard gui status of the program*
->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
i_callback_user_command = 'COMM'
And make a subroutine of the name 'COMM'i.e,
FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA: okcode TYPE sy-ucomm.
okcode = ucomm.
CASE okcode.
WHEN 'REF'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'MANSI'
txt1 = 'CREATED BY'
txt2 = SY-UNAME
TXT3 = ' '
TXT4 = ' '
endcase.
Hope it helps you
Regrds
Mansi -
How to write source code in smart forms?
hi friends,
can anyone can help me in writing sorcecode in smartforms r
any materail link.
if it is helpful points can b rewarded.Thanks in advance.Hi,
Check this link for
how to write source code in smart forms?
http://****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm
You can write Source Code in smartforms By Choosing Program Lines.
Check this link with Screen Shots
http://****************/Tutorials/Smartforms/PO/page1.htm
Reward All Helpfull Answers
Regards
Fareedas
Edited by: Fareeda Tabassum S on May 21, 2008 3:09 PM -
How to create transaction code for a Z-table
How to create transaction code for a Z-table?
Se93 --> then which radio button to be selected? and what is the program nam e to be givenHi Sam,
<b>Procedure to create a TCODE for ZTABLE:</b>
Create a table maintainance/View for the Z* Table.
Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
<u><i>Se93 --> then which radio button to be selected</i></u>
Select the parameter transaction as a radio button.
<u><i>what is the program nam e to be given</i></u>
no need to give any program name. Instead you have to give the transaction code name as SM30.
Pls mark the helpful answers.
Thanks
Eswar -
How to create transaction code for maintenance view
hai friends,
i hope every thing goes good.
i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
i tried and i donot know the screen number and program name and where can i give the view name.
if any one know please post in details.
thanks in advance.Hi Elam,
You need to create a "Parameter Transaction".
What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
Now save the transaction and there you have it.
Hope this helps.
Cheers,
Pat.
PS. Kindly assign Reward Points to the posts you find helpful. -
How to write Select statement for this codition
I need to check whether SGTXT contains BELNR value.
SGTXT is a text field and It should be matched with BELNR
How to write select statement for this.
Select AUGBL AUGDT into t_BSAD
from BSAD
where SGTXT should have the given BELNR Value.
Plz note : Here I cannot give as SGTXT = BELNR as coz BELNR have only 10 digits.Hi,
data temp(12).
concatenate '%' belnr '%' into temp.
Select AUGBL AUGDT into t_BSAD
from BSAD
where SGTXT like temp.
If belnr is having multiple values,just create a internal table as follows.
types : begin of ty,
belnr....
temp(12),
end of ty.
data itab_ type standard table of ty.
data wa type ty.
loop at itab into wa.
concatenate '%' wa-belnr '%' into wa-temp.
modify itab from wa index sy-tabix transporting temp.
endloop.
Change your select statement accordingly.
Kindly reward poits if it helps. -
How to write html code in narrative
Hi,
How to write html code in narrative to get following format
desc value1 Value2 totalvalue
a 10 20 30
b 20 30 50
Totalvalue 30 50 80
Total % 0.3 0.5 0.8
Can any one help guide on writing HTMl code for above table format in narrative type of display data at report level
Thank you
ManuHi Balu,
If you are using the Web Application server (WEBAs), Then you can create applications using BSP( Bussiness server pages). Which is some what luike JSP.
Or
In SE80 , Try to create internet service files uisng BHTML. In the dropdown select internet service. And then try to create the HTML templates
Thanks,
Sarayoodharan.K -
How to write sql query for counting pairs from below table??
Below is my SQL table structure.
user_id | Name | join_side | left_leg | right_leg | Parent_id
100001 Tinku Left 100002 100003 0
100002 Harish Left 100004 100005 100001
100003 Gorav Right 100006 100007 100001
100004 Prince Left 100008 NULL 100002
100005 Ajay Right NULL NULL 100002
100006 Simran Left NULL NULL 100003
100007 Raman Right NULL NULL 100003
100008 Vijay Left NULL NULL 100004
It is a binary table structure.. Every user has to add two per id under him, one is left_leg and second is right_leg... Parent_id is under which user current user is added.. Hope you will be understand..
I have to write sql query for counting pairs under id "100001". i know there will be important role of parent_id for counting pairs. * what is pair( suppose if any user contains both left_leg and right_leg id, then it is called pair.)
I know there are three pairs under id "100001" :-
1. 100002 and 100003
2. 100004 and 100005
3. 100006 and 100007
100008 will not be counted as pair because it does not have right leg..
But i dont know how to write sql query for this... Any help will be appreciated... This is my college project... And tommorow is the last date of submission.... Hope anyone will help me...
Suppose i have to count pair for id '100002'. Then there is only one pair under id '100002'. i.e 100004 and 100005Sounds like this to me
DECLARE @ID int
SET @ID = 100001--your passed value
SELECT left_leg,right_leg
FROM table
WHERE (user_id = @ID
OR parent_id = @ID)
AND left_leg IS NOT NULL
AND right_leg IS NOT NULL
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Maybe you are looking for
-
Hi, I am trying to upgrade a java tv application already working to use the high definition of the decoder, connected by HDMI to LCD screen I have tryied to use: private HScene createHScene(int width, int height) { Dimension resolution = new Dim
-
Trying to fix ipod. Process of elimination replacing parts...
HI, I'm currently trying to fix an iPod colour (4th gen). It will not boot up normally, only ever getting to the Apple logo. It shows, at different times, both the sad ipod and the folder icon. I have replaced the hard drive and the logic board. Runn
-
My messages will not let me sign in to my account
Every time i click on messages it says please sign in which i do then it comes up saying this is how others will see you on messages then i click next it says at the top verifying... And after about 15-20 seconds it takes me back to the beginning aga
-
I have a table (af:table) with a filterable column. How could I iterate through the rows after the filter was applied? Thanks in advance jleon (JDeveloper 11.1.2.4.0)
-
Apple, this is getting silly dont you think ?
How many people are having issues and cant listen to their music ? Yet no answers ? Can I get refunds for my music and take my business to a different company ? Now I can understand that it may take some time to get a fix, but at least let us know wh