Can any Explain the below Routine???
FORM compute_key_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS8ZAR0509
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/VZ19AR05Q3T-/BIC/ZCPUDT
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
result value of the routine
RESULT = COMM_STRUCTURE-calday.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
What is the question.. please be clear about the question before posting it..
post the question as if you are going to read it . (put yourself in other's shoe)
Thanks,
Kamesh Bathla
Similar Messages
-
Can any explain the following: Background; my company uses google business app to host our email and calander. Ok, I just set up a iCal event and invited 3 people. 1 internal claims he never got but it showed on his daughters iPod and she does not email.
Hello binbingogoABC,
Shopping on BestBuy.com should be easy and fun and not fraught with the kind of trouble that you describe. I regret very much that this has been your experience.
Using the information you provided when you signed up for Best Buy Unboxed I was able to locate your cancelled orders. I have requested more information from my back-office partners. As soon as I have additional details about your situation, I will reply again to this message. In the interim, I'm sorry that I must impose upon your patience.
I'm very grateful that you wrote to us with your concerns.
Sincerely, -
.can anybody explain the bdc with help of an example
i am new to bdc .can anybody explain the bdc with help of an example
Hi,
BDC is method to transfer legacy data into R3 system.
Data transfer can be done in any one method below:
BDC
LSMW
Direct Input method
BAPI
Of these BDC is subdivided into 2 types,
Call Transaction and Session method (TCode: SM35)
Let me give the sample prg for Call Transaction method.
tables ZMATMASTER.
DATA : itab like TABLE OF ZMATMASTER WITH KEY DESCRIPTION with header line.
DATA : IT_BDC LIKE TABLE OF BDCDATA WITH HEADER LINE.
DATA : IT_MSG LIKE TABLE OF BDCMSGCOLL WITH HEADER LINE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\Material.txt'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = '#'
TABLES
DATA_TAB = itab.
LOOP AT ITAB.
PERFORM BDC_HEADER USING 'ZFILE_DOWNLOAD' 9001.
PERFORM BDC_DATA USING 'BDC_OKCODE' 'SAVE'.
PERFORM BDC_DATA USING 'ZMATMASTER-MNO' ITAB-MNO.
PERFORM BDC_DATA USING 'ZMATMASTER-DESCRIPTION' ITAB-DESCRIPTION.
PERFORM BDC_DATA USING 'ZMATMASTER-PLANT' ITAB-PLANT.
PERFORM BDC_DATA USING 'ZMATMASTER-SLOC' ITAB-SLOC.
PERFORM BDC_DATA USING 'ZMATMASTER-ROL' ITAB-ROL.
PERFORM BDC_DATA USING 'ZMATMASTER-UOM' ITAB-UOM.
PERFORM BDC_DATA USING 'ZMATMASTER-PRICE' ITAB-PRICE.
PERFORM BDC_DATA USING 'ZMATMASTER-DDAYS' ITAB-DDAYS.
PERFORM BDC_DATA USING 'ZMATMASTER-FLOT' ITAB-FLOT.
ENDLOOP.
CALL TRANSACTION 'ZTRANSCODES'
USING IT_BDC
MODE 'A'
UPDATE 'S'
MESSAGES INTO IT_MSG.
FORM BDC_HEADER USING PROGRAMNAME SCREENNO.
IT_BDC-PROGRAM = PROGRAMNAME.
IT_BDC-DYNPRO = SCREENNO.
IT_BDC-DYNBEGIN = 'X'.
APPEND IT_BDC.
ENDFORM.
FORM BDC_DATA USING FNAME FVALUE.
CLEAR IT_BDC.
IT_BDC-FNAM = FNAME.
IT_BDC-FVAL = FVALUE.
APPEND IT_BDC.
ENDFORM.
In session method, log file can be viewed.
Foll. is the example for session method.
REPORT ZBDC_BATCH1 .
TABLES: ZEMPREC.
DATA : BEGIN OF STR1,
EMPNO(3),
EMPNAME(15),
SALARY(9),
DOJ(10),
END OF STR1.
DATA: FNAME(100) TYPE C VALUE 'C:\EMPLOYEE.TXT.,
DATA : BDCITAB LIKE TABLE OF BDCDATA WITH HEADER LINE,
MSGITAB LIKE TABLE OF BDCMSGCOLL WITH HEADER LINE.
OPEN DATASET: FNAME FOR INPUT IN TEXT MODE ENCODING DEFAULT.
perform open_group.
DO .
READ DATASET FNAME INTO STR1.
IF SY-SUBRC <> 0 .
EXIT.
ENDIF.
perform bdc_dynpro using 'ZBDC_BATCH' '9000'.
perform bdc_field using 'ZEMPREC-EMPNO'
STR1-EMPNO.
perform bdc_field using 'ZEMPREC-EMPNAME'
STR1-EMPNAME.
perform bdc_field using 'ZEMPREC-SALARY'
STR1-SALARY.
perform bdc_field using 'ZEMPREC-DOJ'
STR1-DOJ.
ENDDO.
CLOSE DATASET FNAME.
perform bdc_transaction using 'ZTCODE'.
perform close_group.
CLOSE DATASET FNAME1.
CALL TRANSACTION 'SM35'.
FORM open_group
FORM open_group .
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = 'sample'
HOLDDATE = SY-DATUM
KEEP = 'X'
USER = SY-UNAME.
ENDFORM. "open_group
FORM bdc_transaction
--> TCODE
form bdc_transaction USING TCODE.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'ZTCODE'
TABLES
DYNPROTAB = BDCITAB.
ENDFORM. "bdc_transaction
FORM close_group
FORM close_group.
CALL FUNCTION 'BDC_CLOSE_GROUP'.
ENDFORM. "close_group
FORM BDC_DYNPRO
--> PROGRAM
--> SCREEN
FORM BDC_DYNPRO USING PROGRAM SCREEN.
CLEAR BDCITAB.
BDCITAB-PROGRAM = PROGRAM.
BDCITAB-DYNPRO = SCREEN.
BDCITAB-DYNBEGIN = 'X'.
APPEND BDCITAB.
ENDFORM. "BDC_DYNPRO
FORM BDC_FIELD
--> FNAM
--> FVAL
FORM BDC_FIELD USING FNAM FVAL.
CLEAR BDCITAB.
BDCITAB-FNAM = FNAM.
BDCITAB-FVAL = FVAL.
APPEND BDCITAB.
ENDFORM. "BDC_FIELD
Hope now u get an idea abt BDC.
Regards,
Router -
Someone once said admitting you don't know something is the first step on the road to knowledge....or something like that
Can someone explain the hyperthreading setting in the CMOS Setup - mine is set to 5x, which I think is correct for my cpu - Venice 3500+, but I don't really know what it does. What does that setting affect? I think it was 4x by default, until I loaded optimal settings, and it went to 5x.....HT = Hyper Transport
Q: What is HyperTransport™ technology?
A: HyperTransport™ technology is a new high speed, high performance point-to-point link for interconnecting integrated circuits on a motherboard. It can be significantly faster than a PCI bus for an equivalent number of pins. HyperTransport was previously codenamed Lightning Data Transport, or LDT. HyperTransport technology was invented by AMD and perfected with the help of several partners throughout the industry. It is primarily targeted for the IT and Telecomm industries, but any application where high speed, low latency and scalability is necessary can potentially take advantage of HyperTransport technology. HyperTransport technology was invented in order to unleash the tremendous power of the AMD microprocessors. HyperTransport is planned to bring the computation experience to a new level.
Hyperthreading Technology used by Intel. -
Can anyone explain the functionality of FM f4ut_parameter_get_values ?
Can anyone explain the functionality of FM f4ut_parameter_get_values ?
This is used in search help to retrive values from screen.This doesnt seem to work for mehi,
check this
F4UT_PARAMETER_VALUE_GET
Short Text
Standard search help exit for determining contents of a srch help par.
FunctionalityBy calling this module in a search help exit, you can find out the current contents of a search help parameter . To do this, you must pass the name of the parameter in PARAMETER.
You must distinguish between the parameter contents that are used in the selection process of the input help process and the parameter contents that are determined by the selection process and the user selection.
Parameter contents that are used in the selection process are default values of search help parameters, values that are included in the input help process by attaching the search help to the screen from field contents of the screen or its module pool, and possibly complex restrictions made by the user in the dialog box for restricting value. Such parameter contents can also be included in the input help process by the search help exit itself.
The contents of the specified parameter used in the selection process are stored as complex restrictions in SELOPT_TAB after the call. If exactly one value is defined by these complex restrictions (for example if the restrictions have exactly one row and if SIGN = 'I' and OPTION = 'EQ' for this row), this unique value can be found in VALUE.
Parameter contents that are determined by selection process and user selection are the parameter contents that are shown in the dialog box for displaying the hit list or returned on the screen. They are managed by the F4 processor in RECORD_TAB.
This module enables you to transfer the information about the specified parameters from RECORD_TAB to RESULTS_TAB in edited form.
Pass the name of the field of RESULTS_TAB that should contain the contents of the parameter to the function module in parameter FIELDNAME. If the row type of RESULTS_TAB is elementary, pass the value '*' in FIELDNAME. The rest of RESULTS_TAB is not changed. The values are copied row by row. By removing rows at the end or by adding intiial rows you can make sure that RESULTS_TAB has exactly as many rows as RECOD_TAB.
Example
You can find an example of the second kind of use of the module in the search help exit SAPBC_GLOBAL_F4_SFLIGHT of search help SFLIGHT.
Both types of use can be found in the search help exit SAPBC_GLOBAL_F4_SFLIGHT_MIN_FR of search help SFLIGHT_MIN_FREE .
Notes
1. Parameters OFF_RESULT and LEN_RESULT should not be used any more since there are basic problems when using UNICODE. The contents of these parameter are still analyzed when parameter FILEDNAME is initial for compatibility reasons.
2. Only the dialog box for restricting values can normally produce complex restrictions for a parameter.
3. If VALUE has the value SPACE, this means that either there are complex restrictions for the parameter or the unique contents are SPACE. SELOPT_TAB must be evaluated in order to determine which of these is the case.
4. If the search help does not have any parameter with the given name, the exception PARAMETER_UNKNOWN is triggered.
5. Only parameter contents for the search help displayed in the hit list or the EXPORT parameters of the search help are first managed in RECORD_TAB. If the specified parameter does not satisfy one of these conditions and if parameter RESULTS_TAB is specified in the call, the exception PARAMETER_UNKNOWN can also be triggered. This is not true, however, if results were already entered for the parameter with function module F4UT_PARAMETER_RESULTS_PUT or if space was reserved for the parameter in RECORD_TAB with function module F4UT_PARAMETER_ALLOCATE. The parameter therefore should only be defined if information about the parameter contents are really required.
6. The header lines of the specified parameter are also transferred from RECORD_TAB to RESULTS_TAB.
7. The other parameters of this module must be defined as the parameters of the search help exit having the same name, but they are not changed by this module.
8. RESULTS_TAB should be a standard table.
9. The contents of the specified parameter in RECORD_TAB are copied to the specified field of table RESULTS_TAB with a MOVE of the correct type. If this is not possible, the target field is assigned the initial value.
10. If RESULTS_TAB has no field with the name specified by FIELDNAME, only the number of rows of RESULTS_TAB is adjusted to those of RECORD_TAB as described.
Parameters
PARAMETER
OFF_RESULT
LEN_RESULT
FIELDNAME
VALUE
SHLP
CALLCONTROL
SHLP_TAB
RECORD_TAB
SELOPT_TAB
RESULTS_TAB
Exceptions
PARAMETER_UNKNOWN
Function Group
SF4U
if helpful reward some points.
with regards,
Suresh Aluri. -
Can anyone explain the advantage of iPod vs iPad over Kobo Vox for reading iBooks?
Can anyone explain the advantage of iPod vs iPad over Kobo Vox for reading iBooks?
Thank you Alan and know you are right. I really can do all I need with my netbook and ereader and do not need the ipad. I think I just wanted something new and felt I may enjoy using it a lttle more than the netook. But it would be a waste just to buy one when I donlt acutally need it And, donl't think it is worth the extra money for me the get the 4g wireless capability since I doubt I would really need it often.
I may treat myself to the Ipad for the color, touchpad and fun to use but it is very expensive considering how little it will do for me no more than the things I want it for. It woudl be and expensive luxuray, I can do without. I actually need t learn how to use more of the function avaiable first. Maybe I should take up playing games and learning to take digital pictures so I can at least load them. If I could learn to do that and take a decent picture, I could start selling back all the "stuff" I have purchased on ebay. haha - I do have a nice doll collection, I would like to sell. I just do not have room for anything else. That was the primary purpose for the Kindle Ereader I bought and enjoy so much,
But, I will hold onto the thought for a while and see how it goes and what other comments I get, If I think I cannot live without it, then I will have to rethink which one to buy, I coud get the 32 g if I did not have to pay for the 4g wireless. And, if I knew I could get help to teach me how to use and enjoy all the functions, I would give it more serious consideration. My granddaugther got one for Christmas and that was what got me interested in it. I love the size of the screen and it had good color and was fast. She even had an application where she could write her notes and it would convert into typed words. That was a neat feature, If you could print it?
But thanks again for your comments and I will check later to see I get any other feedback.
Sunny:) -
Can anyone explain the use of PhantomReference
Can anyone explain the use of PhantomReference( if possible by an example..).
Payment request is a noted document and as such does not pass any accounting entry. For effecting a payment to a
Against the payment request you can effect the down payment. Suppose u have completly automated payment system and if you want to effect a down payment, you can do it only by payment request.
Payment requests can be controlled through workflow for proper autorization. -
Hi Iam new to hana I would like to learn the BW powered by HANA can any provide the documents.and I have gone through transports in hana what is meant by delivery unit?
Hi Sravan,
Views do not store any data in HANA
All data resides in tables
To know how to join tables in Views, watch videos on SAP HANA Academy | SAP HANA
For BW on HANA check:
Blog: BW 7.4 on HANA in a Nutshell | SAP HANA
SAP BW 7.4 SP5 on SAP HANA Overview and Roadmap
Also follow BW on HANA Space on SCN SAP BW Powered by SAP HANA
If you want to learn about HANA , check my blog:
Want to learn SAP HANA?Where to Start?Certification?
To know more about BW on HANA,check below blog for links to BW on HANA Materials:
HANA Reference for Developers - Links and SAP Notes(Part-2) Updated 04.12.2013
Regards,
Vivek -
I'am a first time mac user, can any explain to me how to transfer file i.e. iTunes ,pictures, other files.
Select a file you want to transfer and drag it to the desired destination.
If you need help with the basics of OS X you can:
Select Mac Help (or Help Center) from the Finder's Help menu and enter a search keyword. For your question you might search for "copy," "file copy," or "drag and drop" for example.
See Apple - Support - Mac 101
Visit the Apple website where you will find additional information and tutorials on how to use OS X. -
How can i write the below code using "For all entries"
Hi
How can we write the below code using "for all entries" and need to avoid joins...
Please help
SELECT aaufnr aobjnr aauart atxjcd a~pspel
agstrp awerks carbpl cwerks
INTO TABLE t_caufv
FROM caufv AS a
INNER JOIN afih AS b
ON aaufnr = baufnr
INNER JOIN crhd AS c
ON bgewrk = cobjid
AND c~objty = 'D'
WHERE ( a~pspel = space
OR a~txjcd = space
OR NOT a~objnr IN
( select OBJNR from COBRB AS e
WHERE objnr = a~objnr ) )
AND a~werks IN s_plant
AND a~auart IN s_wtype
AND NOT a~objnr IN
( select OBJNR from JEST AS d
WHERE objnr = a~objnr
AND ( dstat = 'A0081'OR dstat = 'A0018' )
AND d~inact 'X' ).
Reward points for all helpfull answers
Thanks
Ammi.Hi,
SELECT objnr objid aufnr
from afih
into table t_afih.
SELECT objnr
from JEST
into table t_JEST
where stat = 'A0045'
OR stat = 'A0046'
AND inact 'X'.
SELECT objnr
from COBRB
into table t_cobrb.
SELECT arbpl werks objid objty
from crhd
INTO table it_crhd
FOR ALL ENTRIES IN it_afih
WHERE objty eq 'D'
AND gewrk = it_afih-objid.
SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
FROM caufv
INTO table t_caufv
FOR ALL ENTRIES IN it_afih
WHERE aufnr = it_afih-aufnr
And pspel = ' '
AND txjcd = ' '
ANd objnr ne it_crhd-objnr
AND auart in s_wtype
AND werks in s_plant.
AND objnr ne it_jest-objnr.
dont use NE in the select statements, it may effect performance also. Instead use if statements inside
loops.
loop at t_caufv.
read table it_chrd............
if t_caufv-objnr ne it_chrd-objnr.
read table it_jest..........
if if t_caufv-objnr ne it_jest-objnr.
(proceed further).
endif.
endif.
endloop.
hope this helps.
Reward if useful.
Regards,
Anu -
Can someone explain the use of a hashtable in java?
can someone explain the use of a hashtable in java?
Hashtable allows us to store values along with keys.
One other advantage is, it provides Synchronised methods.
Hope you got it. -
Can anyone explain the function BAPI_PROJECT_GETINFO
Hi
Can anyone explain the function BAPI_PROJECT_GETINFO.
Can anyone explain the import and export parameters of this function module.
What is the logic.
I'm getting the output as 'No data record exists'.
This is immediately required.Please help me.
Thanking you
Chandrika.hi
good
go trhough this
Short text
Read detailed information for work breakdown structures
Functionality
You use this method to read detailed information about project definitions and the WBS elements of certain projects from the system.
Notes
Enter the project definitions and/or the WBS elements, which you want detailed information about, in the parameter PROJECT_DEFINITION or I_WBS_ELEMENT_TABLE respectively.
If you only enter project definitions, the details of all the WBS that belong to the project definitions are read including the hierarchy. If you explicitly enter WBS elements, only these are read.
Messages are returned in Return parameters. For information about the return values and their meaning, see the parameter documentation.
Parameter
PROJECT_DEFINITION
WITH_ACTIVITIES
WITH_MILESTONES
WITH_SUBTREE
E_PROJECT_DEFINITION
RETURN
I_WBS_ELEMENT_TABLE
E_WBS_ELEMENT_TABLE
E_WBS_MILESTONE_TABLE
E_WBS_HIERARCHIE_TABLE
E_ACTIVITY_TABLE
E_MESSAGE_TABLE
thanks
mrutyun^ -
Can anybody explain the difference REDOLG vs ARCHIVE log files
can anybody explain the difference REDOLG vs ARCHIVE log files?
and the relation between redolog files and redolog buffers?
thanx in advanceChanges made to the database are recorded in the Redo log buffer. This Buffer contains Redo records or entries, which are a description of changes made to the database.
The Redo Logs are critical in order to recover the database or to reconstruct data files and undo segments after a system crash or hardware failure.
Each Oracle instance has only one log writer process (LGWR). The log writer operates in the background and writes all records from the Redo log buffer to the Redo log files. When the database operates in Archivelog mode, the redo logs are are archived before overwritten. -
Can anyone explain the main differences between CRM 2007 and CRM 7?.
Can anyone explain the main differences between CRM 2007 and CRM 7?.
Does CRM 2007 use the WebUI?.
JasonMy fault for not putting my question forward correctly.
I have worked with CRM 7 a few times now, but my experience has jumped me from CRM 5 straight to CRM 7, having never touched CRM 2007.
I now have an opening to work on CRM 2007 so I was intrigued to know what it physically looked like. I assume it does not use the WebUI interface?.
Jas -
Can someone explain the difference between width, maxWidth, explicitWidth, explicitMaxWidth of the UI component? I read the API and I have no idea what do they mean.
Width is the current width. ExplicitWidth is set if you give an component
an explicit width vs a temporary width via setActualSize.
MaxWidth and minWidth factor in either the measuredMax/MinWidth or one set
explicitly.
Maybe you are looking for
-
Error in configuring Richfaces in JDeveloper 11g
Error in installing/configuring Richfaces in JDev 11g - while I try to add a jsp, I get the following error, can you please help? Error: Feb 20, 2010 1:53:54 PM javax.enterprise.resource.webcontainer.jsf.taglib WARNING: Can't leverage base class java
-
When I change the folder for deleted files will files sent there be deleted as well?
Hello! I selected the tick at forwarding mails. And I also checked (✓) for deleting those mails. In addition I selected to send deleted e-mails to a new folder. Now the name of the new folder is behind the bin symbol (). Will mails in the new folder
-
Im trying to recursively draw in right angles like binary trees sorta in levels. So each time i click the NEXT button it will add anew row of trees below the last. Having problems trying to figur ei tot though. It should look like this... http://memb
-
Generating an event with ABAP Progrm
Kudos SDN: Is there any way to generate an 'Event' using ABAP Progam.? Thanks in advance, Pidugu
-
Adobe Premiere Pro Startup Error - Preference Folder
We keep getting this error every time we try and open up Premiere CC 2014 (See attached image) We are on a MacPro5,1 (Mid 2010), OSX 10.7.5, Dual Quad-core Intel 2.4 GHz, 36GB RAM, 1GB ATI Radeon HD 5770, latest CC 2014 installed on computer. Photosh