How to fnd SAP STANDARD program of Database table
Hi to all,
Please can anybody tell me , how to find out SAP standard program of database Tables S070 (Breakdown Statistics).
As this table contain two filelds Time To Repair and Time Between Repair , i want to knew how the standard program for the table have calculate them.
i shall be thankfull to you for this.
Regards
Pavneet Rana
Hi,
Program for table is generated dynamically for each user ID, when ever you change the selection screen in SE16 or when you are executing the table entries for first time. Usually it starts with /1BCDWB/DB followed by table name. In your case it would be /1BCDWB/DBS070.
Go to Se16, enter your table name and click enter. Once you are in selection screen, goto Menu=>system=>Status. Here you can see the program name.
Thanks,
Vinod.
Similar Messages
-
How to Debug SAP standard Program SAPMM07I
Hi All
Please tell how to debug an SAP Standard Program for MI07 T-code.
In this Transaction I would like to change the Unit of Measure filed to Alternate Unit.
Please, Help me out .. how to debug this program and how to change this field.
Thank you
Prasead KHi Myline
Thanks for your reply. My Issue is that I would like to Diplay "Difference Qty" VM07I-DIFMG and Base Unit
of Measure (ISEG-MEINS) in MI07 Tcode as Unit of Issue (MARM-AUSME) which is defined on Material Master Plant Data View.
Till Now, I did is I copied MI07 Standard Program SAPMM07I to ZSAPMM07I. And Assigned this Z program to MI07 in SE93. Now, I need to make modifcation in this Zprogram such that I display: Unit of Issue and Difference Qty fields on MI07 instead of Base unit of Measure.
Here, Base unit of measure is EA and Unit of Issue in ICS (Imperial Cases). IN MI04 we enter in ICS(unit of Issue.. which is converted to EA. and MI01 its in EA. (Base unit of Measure).
Please if this not clear.. please let me know.
Waiting for your reply.
Thanks once again.. !
Prasead K
Edited by: Prasead K on Feb 19, 2008 9:15 AM -
How to add custom fields to the sap standard program ukm_bp_display
How to add new custom fields to the sap standard program ukm_bp_display .
could u please any one help me on this?Hello Kumar,
You have to modify below structure, as this structure is providing the field catalog for output display (ALV).
Here you can see there are a lot of include structures, so if you want to add fields in the output display you can add those fileds as an append structure to any of the below mentioned structures (Like ukm_s_account, ukm_s_bp_cms_sgm etc as per your requiremnt and positon at which you need to dispaly your fields.)
DATA: BEGIN OF gt_grid_alv OCCURS 0.
partner LIKE but000-partner,
credit_sgmnt LIKE ukmbp_cms_sgm-credit_sgmnt.
INCLUDE STRUCTURE ukm_s_account.
INCLUDE STRUCTURE ukm_s_bp_cms_sgm.
DATA: credit_sgmnt_txt LIKE ukmcred_sgm0t-credit_sgmnt_txt.
Gruppe Vector
INCLUDE STRUCTURE ukm_s_bp_vector.
Gruppe OBL = Obligo
include structure UKM_S_BP_CMS_MALUSDSP_OUT.
INCLUDE STRUCTURE ukm_s_display_segment.
INCLUDE STRUCTURE ukm_s_bp_cms.
INCLUDE STRUCTURE bus000_dat.
*DATA: icon(4).
Gruppe RAST (Raster)
DATA:
rast01 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast02 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast03 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast04 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast05 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast06 LIKE ukm_s_display_segment-AMOUNT_GRID.
DATA: rast2_6 LIKE ukm_s_display_segment-AMOUNT_GRID.
"Summe raster 2 bis 6
DATA: END OF gt_grid_alv.
Another way is you can go to SE38, and you can create implicit enhancements.One enhancement point is available here in this required area. so create an implementation and add your fileds with data types.This way is also simple.
Hope this will solve yiour problems.
Regards,
Antony Thomas -
How and where does SAP standard programs update the master tables...
Hello there,
How and where does SAP standard programs update the master tables...
to be precise.. if a (any) transaction occurs the programs behind it holds the data in temporary structures.
where and when does it get updated in the master table.
can anyone tell me how it happens?
I Know that from the where used list one can find the corresponding table but most of the time it wont suffice
I am expecting a proper answer.
Santosh BHello Santosh,
you need to do some self-reading on the following topic
Updates in the SAP System (BC-CST-UP)
http://help.sap.com/saphelp_47x200/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/frameset.htm
Regards,
Siddhesh -
Runtime Error In copy Of SAP Standard Program
How do people,
I have copied a SAP standard program H99CWTR0 because I need to add an extra
column output in the report. I have made a few chnages regarding the INCLUDES
When I run the program I am getting the following runtime error:
" The structure of the COMMON PART "DRIVER_DATA_EXCHANGE"
in program "%_T01050" is different from the calling program .....
My question is that it says the error in program "%_T01050" !!
But when I enter this in SE38 it says it doesn't exist !
Any ideas???
AndyThanks mate for replying.
I'll have a look at what you suggest
Andy -
Syntax error in SAP-standard program
Hi experts,
i am facing syntax error in sap standard program.how i can solve that error .
Error in include LFKPZTOP and errro is at line 70.
please help me ASAP.
Thanx & Rgds
ZebaHello Zeba,
go to include LFKPZTOP and check in line 70.
if you are not able to solve that.
post the same line, so that we can understand what is error.
as of my checking the error is "iban is already defined in the include structure bus0bk ,
but i think it dosn't effect your programing.
Regards!
Edited by: Prasanth M on Feb 10, 2009 5:04 PM -
How to make SAP standard field as mondatory in a screen
hi all,
i need to make SAP standard field as mondatory in a screens EG31, EG34,EG71
TO DO THAT I HAVE TO USE : EXIT_SAPLE30D_002
so can anybody tell me how thatYou can use standard program RSMODPRF.
Execute this standard program without giving any input
and select the data element whatever you want to make mandatory and click on Assign prog/screen button click OK and come back.
now give required data element and execute the program again
and write the code to make that datea element mondatory.
hope it helps... -
Hi Experts,
Pls. let me know that,
How to fetch the SAP Standard Prog. built internal table into my_z_prog.?
For more explannation, pls. see my other thread with name of yestrday,
SUBMIT RFGLBALANCE WITH selection criteria, then How to get resulted itab?
thanqHi
Suppose RFGLBALANCE is your standard program and you have an internal table named I_RFGLBALANCE.
And lets say your Z program name is Z_SRINIVAS.
First find out the type of the internal table you want in your Z-program in the standard program. And declare an internal table of similar type in your Z-program.
I hope you can do this much.
Later wherever you are putting the below mentioned code.
SUBMIT RFGLBALANCE WITH selection criteria
Write the code which i have written.Obviously modify it to suit your requirement.
Please show what is not working fine so that even anyone else can help you with the problem you are facing.
Regards,
Mayank -
Do we any SAP Standard program to Send IDOC of Type CODCMT01
Do we any SAP Standard program for outbound processing for IDOC Type CODCMT01
Message was edited by: Vipin Nagpal- If it is for test purpose only, you could use transaction WE19 (Test Tool).
- As well you could write your own program and user MASTER_IDOC_DISTRIBUTE function module... but in this case you need to fill yourself the fields of the IDOC
- as well you can have a look at function group KALE...
E.g. function module K_DOCUMENT_SEND -
What are the SAP standard programs?
Hi PM Guys,
I have a question that is as below:-
We have the following Master Data:
1) Functional Location
2) Equipment
3) Equipment BOM
4) Counter
5) Catalog Profiles
6) Task List
a) General Task List
b) Equipment Task List
7) Maintenance Plans
a) Time Based
b) Performance Based
Can you tell me the SAP standard programs available for the above master data which can be used for data migration of the above master data from the flat files into SAP system.
Thanks in Advance,
Vijaya KrishnaHI
you can find the standard program while executing the T code LSMW itself.
type LSMW ,specify the description in the next screen select the <b>Standard batch or direct input</b> under the heading you can find the in the field <b>object</b> use F4 to find all the standard programs in SAP
0400 Equipment
0410 Message (IH)
0420 Confirmation (IH)
0425 Measuring point
0430 Measurement Documen
0440 Functional location
0450 Object link
0460 Maintenance plan
0470 Equipment task list
0480 FnctnlLoc.TaskList
0490 Gen.task list
regards
thyagarjan -
How to call the Standard Program in our ZPROGRAM?
Hi Frieds can you tell me the procedure how to call the Standard program
in z----
program and we have to get the data from standard one to our customer program.
Thanks in advance,
madan mohan.Hi,
*Submit report but export resultant list to memory, rather than
*it being displayed on screen
SUBMIT zreport EXPORTING LIST TO MEMORY.
Once report has finished and control has returned to calling
program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
DISPLAY_LIST to retrieve and display report.
*Example Code (Retrieving list from memory)
DATA BEGIN OF itab_list OCCURS 0.
INCLUDE STRUCTURE abaplist.
DATA END OF itab_list.
DATA: BEGIN OF vlist OCCURS 0,
filler1(01) TYPE c,
field1(06) TYPE c,
filler(08) TYPE c,
field2(10) TYPE c,
filler3(01) TYPE c,
field3(10) TYPE c,
filler4(01) TYPE c,
field4(3) TYPE c,
filler5(02) TYPE c,
field5(15) TYPE c,
filler6(02) TYPE c,
field6(30) TYPE c,
filler7(43) TYPE c,
field7(10) TYPE c,
END OF vlist.
SUBMIT zreport EXPORTING LIST TO MEMORY.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = itab_list
EXCEPTIONS
not_found = 4
OTHERS = 8.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
list_index = -1
TABLES
listasci = vlist
listobject = itab_list
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
IF sy-subrc NE '0'.
WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
ENDIF.
Regards
Sudheer -
Addition of my code in sap standard program
hi gurus,
can i add my code in the sap enhancement below in sap standard program
i want add the logic below.
ENHANCEMENT-POINT MATERIALFINDUNG_10 SPOTS ES_SAPFV45P.
$$-Start: MATERIALFINDUNG_10----
$$
ENHANCEMENT 153 OI0_COMMON_SAPFV45P. "active version
IF NOT G_OIK_SUBMAT IS INITIAL. "SOTK000026 DN
TVAK-KALSU = G_OIK_KALSU. "SOTK000026 DN
CLEAR PRODUCT_SELECTION_REKURSIV. "SOTK000026 DN
ENDIF. "SOTK000026 DN
ENDENHANCEMENT.
when i click on enhance button(shift+F4) it does not give me any place to write.
but if i click on the enhancement name i am able create one implementation. is that ok.should i add my code there.Hi Kiran,
That is not the solution I am looking at. Also the link provided within the link you provided does not work which is:
http://www.synactive.net/site/index.htm
Do let me know if you have a solution to change the standard GUI status(Not by copying nor by using the access key) either by any menu exit or something of that sort.
Regards,
Deepak. -
SAP standard program to delimits infotypes
Hi folks,
Is there any SAP standard program to <u><b>delimits</b></u> the records in HR? I mean for PA/PD infotype. Or I need to write one? I have to delimits some of the IT`s Like 194 and 185...
I found the following program to <b>delimit</b>
RPU204M0 IT 204: delimit report for FA customers
RPU510J1 Utility program to delimit P0008 after pay sclae re-creation
ThanksHi Saquib
There is one standard report called RHGRENZ2 which will delimt PD infotypes...
The report only delimits infotypes with time constraint 2 and 3. Infotypes with time constraint 0 and 1 must be delimited using the report Delimit Objects (RHGRENZ0).
Hi I don't see any Standard SAP program to delimit the infotypes that were specified in your message. I believe you may need to write small BDC program to delimit....
Thanks
Thanks
Suresh B Mannem
Message was edited by: Suresh Babu Mannem -
Modification in SAP standard programs.
Hi All
I am trying to make modification in SAP standard program by using a copy of code from the original program to my program..but facing many errors like the statement BEgin of block syntax is wrong..
i am trying to mdify the foloowing program--RFSSLD00...
Please help me and guide to make changes to this prog..
Also tell me that do we need to again create all the functiongroup and global data declarartion part.
thank u.hi,
Please note that when you copy a standard Sap Program ,make sure all the objects are copied following your compays naming conventions.
Now RFSSLD00 can be copied without any difficuly.after that compare the new copied program with the standard program. going to version mngmt->remote comparison . doing this you can get the differences
check all the includes.. and type pool declartaion and gui status etc....by going to se80
regards,
Safel -
How to update field values in a database table using module pool prg?
hi
how to update field values in a database table using module pool prg?
we created a customized table, and we put 2 push buttons in screen painter update and display.
but update is not working?
data is enter into screen fields and to internal table, but it is not updated in database table.
thanks in adv
vidyaHI,
we already used the update statement. but its not working.
plz check this.
*& Module Pool ZCUST_CALL_REC
PROGRAM ZCUST_CALL_REC.
TABLES: ZCUST_CALL_REC,ZREMARKS.
data: v_kun_low like ZCUST_CALL_REC-kunnr ,
v_kun_high like ZCUST_CALL_REC-kunnr,
v_bud_low like ZCUST_CALL_REC-budat,
v_bud_high like ZCUST_CALL_REC-budat.
ranges r_kunnr for ZCUST_CALL_REC-kunnr .
ranges r_budat for zcust_call_rec-budat.
DATA: ITAB TYPE STANDARD TABLE OF ZCUST_CALL_REC WITH HEADER LINE,
JTAB TYPE STANDARD TABLE OF ZREMARKS WITH HEADER LINE.
*data:begin of itab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of itab.
*data:begin of Jtab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of Jtab.
CONTROLS:vcontrol TYPE TABLEVIEW USING SCREEN '9001'.
CONTROLS:vcontrol1 TYPE TABLEVIEW USING SCREEN '9002'.
*start-of-selection.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'ENQUIRY'.
perform multiple_selection.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9001'.
WHEN 'UPDATE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
perform update on commit.
WHEN 'DELETE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module STATUS_9000 OUTPUT
text
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9001 INPUT
text
MODULE USER_COMMAND_9001 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
endcase.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Module STATUS_9001 OUTPUT
text
MODULE STATUS_9001 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module USER_COMMAND_9002 INPUT
text
module USER_COMMAND_9002 input.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'UPDATE'.
perform move_data.
UPDATE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE UPDATED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT UPDATED'.
ENDIF.
WHEN 'DELETE'.
perform move_data.
DELETE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE DELETED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT DELETED'.
ENDIF.
endcase.
endmodule. " USER_COMMAND_9002 INPUT
*& Module STATUS_9002 OUTPUT
text
module STATUS_9002 output.
SET PF-STATUS 'ZCUSTOMER1'.
SET TITLEBAR 'xxx'.
endmodule. " STATUS_9002 OUTPUT
*& Module update_table OUTPUT
text
module update_table output.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
endmodule. " update_table OUTPUT
***Selection Data
FORM SELECT_DATA.
SELECT mandt kunnr budat code remarks FROM zcust_call_rec INTO
table itab
WHERE kunnr IN r_kunnr AND BUDAT IN R_BUDAT.
ENDFORM.
****append vendor code
FORM APPEND_CUSTOMER_CODE.
clear r_kunnr.
clear itab.
clear r_budat.
refresh r_kunnr.
refresh itab.
refresh r_kunnr.
IF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_high
IMPORTING
OUTPUT = r_kunnr-high.
r_kunnr-option = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I003(0) WITH 'ENTER CUSTOMER NUMBER'.
CALL SCREEN '9000'.
ENDIF.
PERFORM V_BUDAT.
ENDIF.
ENDFORM.
FORM V_BUDAT.
IF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'BT'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-HIGH = v_bud_HIGH.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I002(0) WITH 'ENTER POSTING DATE'.
CALL SCREEN '9000'.
r_budat-low = ''.
r_budat-option = ''.
r_budat-sign = ''.
ENDIF.
ENDIF.
ENDFORM.
*& Form update
text
--> p1 text
<-- p2 text
form update .
commit work.
endform. " update
*& Form move_data
text
--> p1 text
<-- p2 text
form move_data .
clear itab.
refresh itab.
move-corresponding zcust_call_rec to itab.
MOVE ZCUST_CALL_REC-MANDT TO ITAB-MANDT.
MOVE ZCUST_CALL_REC-KUNNR TO ITAB-KUNNR.
MOVE ZCUST_CALL_REC-BUDAT TO ITAB-BUDAT.
MOVE ZCUST_CALL_REC-CODE TO ITAB-CODE.
MOVE ZCUST_CALL_REC-REMARKS TO ITAB-REMARKS.
APPEND ITAB.
delete itab where kunnr is initial.
endform. " move_data
thanks in adv
vidya
Maybe you are looking for
-
I recently got a black MacBook. I connect to the internet using AirPort Express. When I talk on iChat, text chatting reacts normally. As soon as a video chat is selected by me, or accepted by me, my internet connection fails. It stays down, although
-
Configuration Support, Will Pay
I am trying to set up a SOHO office web server. The server is directly connected to my CISCO 877M router. I am trying to use CISCO Configuration Professional 2.5 or CISCO Configuration Assistant to configure the router but have run into problems and
-
Software update unable to find update!
When I launched iPhoto, a dialog box popped up saying that ver 6.0.5 was available. I accepted the update now option and software update launched. It searched for updates and told me that all my software was up to date. I tried this several different
-
Port Blocker..Help
Dear All, i'm new in socket programming and i want to block my browser to browse for the internet, but i still want my antivirus ability to auto update their virus database..and i think i just block the port 80 for the www..my question is: 1. is this
-
ive been with verizon for about a year and half and am very fusterated with all my over the limits on every thing why cant verizon have like roll over minutes like cingular had i when over last month and i was charged 80.00 some dollers in overages