What is the exact use of statistical updates in V1,V2 and V3
Hi,
Can anyone answer me some questions.
1. what is the exact use of statistial update in V1,v2 and V3. If data is same in both document update and statistical update the why u need a second table with redundant data.
2. When BW extracts data is it recommended to extract from statistical tables or document updated tables.(i read that statistical updation is tailored for reporting)
3. Is V3 applicable only when BW extracts data from R/3.
4.In case of V3 the initialization of updates are done from BW side or R/3 side. i mean is there any relationship between scheduling of dataloading using an infopackage in BW and the V3 process taking place in R/3
1. First one has to understand that R3 is OLTP system purely used for transactin processing while BW is used for OLAP ie reporting purpose only. At a table level if we do not have a redundant second table the R3 system will be over loaded when the OLTP & the OLAP systems access the same table for their respective purposes. So we have to take data from the document table with a time lag and put into the statistical tables so that BW will get the data as and when required.
2. This question is related to 1 and the above answers both.
3. V3 is a generic process and is used for data extraction from the R3 transaction tables and can be used for any system as such.
4. Both the processes are independent of each other and there is no relationship.
Hope this helps
Cheers
Viva
Assign points if this helps.
Similar Messages
-
Doubt : What is the Exact use of Product/SWCV in an integration process?
Hi XI Gurus,
The XI Documentation(Regarding SWCV) says "All design work is organised By SWCV.This makes sense, as interface logically belongs to a Software component Version"
DOUBT 1 :
What is the Exact Use/Role of Product/SWCV in an integration process? - Is it ONLY for DOCUMENTATION purpose? ie., to just understand the underlying Software used ? OR DOES it have a Technical say in the way the Business System behaves ?.
DOUBT 2 :
What will happen if I create a junk Product(I mean something Meaningless), a junk SWCV BUT while creating a Technical System(I choose Type as WEB AS) BASED on the Junk Product/SWCV ,I give VALID hostname etc...I then create a Business System with data valid data .
Now i have created a TS & BS with Valid HOSTNAME & CLIENT etc. BUT based on the junk Product/Junk SWCV.
NOW in integration dir.,will i be able to configure this Business System as Service for Sending IDOCS/FILE(or anything for that matter)?
If It will work then That means The product/SWCV IS ONLY for documentation purpose.Please rply in detail !
DOUBT 3:
When I import the junk SWCV INTO the IntegrationRepository
& choose import of RFC/IDCOC & give valid connection details to a SAP System , Will it import the RFC Regardless of the Junk SWCV I am using ??
DOUBT 4 :
Business System A(Sender) : SAP R/3(For Example)
Business System B(Receiver) : APO (For Example)
ASSUMPTION : Business system A & B have DIFFERENT SWCV.
Now Which Business System's SWCV do I import in my Integration Repository ?The Sender's or Reciever's ?
and Why ??
It would be great if anyone can help me out.
Thanks,
Arunhi arun..
>>>>>DOUBT 3:
When I import the junk SWCV INTO the IntegrationRepository
& choose import of RFC/IDCOC & give valid connection details to a SAP System , Will it import the RFC Regardless
yes....
>>>>DOUBT 4 :
Business System A(Sender) : SAP R/3(For Example)
Business System B(Receiver) : APO (For Example)
ASSUMPTION : Business system A & B have DIFFERENT SWCV.
Now Which Business System's SWCV do I import in my Integration Repository ?The Sender's or Reciever's ?
and Why ??
...generally, u import only ofr Sender business system cos tht is the system wher u have defined all the objects for the scenario...
and integration process for Receiver is defined..
>>>DOUBT 1 :
What is the Exact Use/Role of Product/SWCV in an integration process? - Is it ONLY for DOCUMENTATION purpose? ie., to just understand the underlying Software used ? OR DOES it have a Technical say in the way the Business System behaves
the product defines the name genaerllly, the SWCV definesd within the product...there can be many SWC in an product...so an SWC is the smallest component in an product...
>>>>>DOUBT 2 :
What will happen if I create a junk Product(I mean something Meaningless), a junk SWCV BUT while creating a Technical System(I choose Type as WEB AS) BASED on the Junk Product/SWCV ,I give VALID hostname etc...I then create a Business System with data valid data .
Now i have created a TS & BS with Valid HOSTNAME & CLIENT etc. BUT based on the junk Product/Junk SWCV.
NOW in integration dir.,will i be able to configure this Business System as Service for Sending IDOCS/FILE(or anything for that matter)?
If It will work then..
...YOU WILL BE ABLE TO.....
REGARDS...
hope it helps...
vishal -
What is the exact use of Sequence container
Hi all,
I am intermediate in SSIS package,i am not understanding what is the exact use of Sequence container ?
I am preparing for interview(3 years exp), if experts dont mind can you pls share some tips and questions to clear the interview ?
pls
thanksHi SelvakumarSubramaniam,
This blog delivers a good summary of the benefits we can get by using Sequence Container:
Easier debugging by allowing you to disable groups of tasks to focus package debugging on one subset of the package control flow.
Managing multiple tasks in one location by setting properties on a Sequence Container instead of setting properties on the individual tasks.
Provides scope for variables that a group of related tasks and containers use.
Create a transaction around all the components inside the container.
Here are some other good resources:
http://www.phpring.com/sequence-container-in-ssis/
http://sql-developers.blogspot.com/2010/06/sequence-container-in-ssis.html
Regards,
Mike Yin
TechNet Community Support -
What are dyanmic internal tables and what s the exact use of forall entries
what are dyanmic internal tables and what s the exact use of forall entries?
hi,
<u><b>dynamic internal table.</b></u>
http://searchsap.techtarget.com/tip/1,289483,sid21_gci912390,00.html
http://www.sap-img.com/ab030.htm
<u><b>
FOR ALL ENTRIES</b></u> is an effective way of doing away with using JOIN on two tables.
You can check the below code -
SELECT BUKRS BELNR GJAHR AUGDT
FROM BSEG
INTO TABLE I_BSEG
WHERE BUKRS = ....
SELECT BUKRS BELNR BLART BLDAT
FROM BKPF
INTO TABLE I_BKPF
FOR ALL ENTRIES IN I_BSEG
WHERE BUKRS = I_BSEG-BUKRS
AND BELNR = I_BSEG-BELNR
AND BLDAT IN SO_BLDAT.
*******************************8
look another example
what is the use of FOR ALL ENTRIES
1. INNER JOIN
DBTAB1 <----
> DBTAB2
It is used to JOIN two DATABASE tables
having some COMMON fields.
2. Whereas
For All Entries,
DBTAB1 <----
> ITAB1
is not at all related to two DATABASE tables.
It is related to INTERNAL table.
3. If we want to fetch data
from some DBTABLE1
but we want to fetch
for only some records
which are contained in some internal table,
then we use for alll entries.
1. simple example of for all entries.
2. NOTE THAT
In for all entries,
it is NOT necessary to use TWO DBTABLES.
(as against JOIN)
3. use this program (just copy paste)
it will fetch data
from T001
FOR ONLY TWO COMPANIES (as mentioned in itab)
4
REPORT abc.
DATA : BEGIN OF itab OCCURS 0,
bukrs LIKE t001-bukrs,
END OF itab.
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
itab-bukrs = '1000'.
APPEND itab.
itab-bukrs = '1100'.
APPEND itab.
SELECT * FROM t001
INTO TABLE t001
FOR ALL ENTRIES IN itab
WHERE bukrs = itab-bukrs.
LOOP AT t001.
WRITE :/ t001-bukrs.
ENDLOOP.
Hope this helps!
Regards,
Anver -
What's the exact use of GNS(Grid Naming Server) ???
Hi,
I have doubt that what's the use of GNS ? What's the logic behind GNS ? Can we use DNS in stead of GNS ( I assume that probably we can use DNS in place of GNS as GNS is sub domain of DNS ). The last question : Can we use GPNP without GNS ?
Regards,
Dheeraj VaishIt means that GNS is sub-domain of DNS and DNS delegates the request to GNS. Now As per me :
1. We can directly use DNS (if we don't want to use GPnP and only want to use SCAN using DHCP and DNS), what would be drawback (cons) in this method for not using GNS .
2. We can not use GPnP withous setting us GNS (Please correct me if I am wrong). So DHCP, DNS,GNS all are mandatory for GPnP .
Kindly suggest.
Regards,
Dheeraj vaish -
Hi guys,
I have created a copy of the AdventureWorks2012 DB called AdventureWorks2012_new on the same instance.
I have created the following trigger below but my friend who is a DBA told me that this is not correct and I should be using the inserted table when creating this trigger. I would like AdventureWorks2012_new DB to be updating/inserting/deleting data from
the same tables that have been updated/inserted/deleted in the AdventureWorks2012 DB. How exactly should I do this for all the tables in the whole database ? What I have written below is just for one of the tables, is there a quicker way to do it for all tables
in this DB so that it performs the actions mentioned above, automatically ? Help would be greatly appreciated so I can understand how this works, thanks
CREATE TRIGGER [HumanResources].[tr_HumanResources_AfterUpdate]
ON [AdventureWorks2012].[HumanResources].[Department]
AFTER UPDATE
AS
BEGIN
SET NOCOUNT ON;
UPDATE AdventureWorks2012_new.HumanResources.Department
SET Name = t2.Name,
GroupName = t2.GroupName,
ModifiedDate = t2.ModifiedDate
FROM AdventureWorks2012.HumanResources.Department AS t2
INNER JOIN AdventureWorks2012_new.HumanResources.Department AS t1
ON t2.DepartmentID = t1.DepartmentID
ENDFor insert it's easy:
CREATE TRIGGER [HumanResources].[tr_HumanResources_AfterInsert]
ON [AdventureWorks2012].[HumanResources].[Department]
AFTER INSERT
AS
BEGIN
SET NOCOUNT ON;
Insert INTO AdventureWorks2012_new.HumanResources.Department
(DepartmentID, Name, GroupName, ModifiedDate)
SELECT DepartmentID, Name, GroupName, ModifiedDate
FROM Inserted;
END
I didn't verify column names, so you may need to make sure to use correct column names for that table.
Setting replication is a bit advanced topic although BOL is clear and you may start here
http://technet.microsoft.com/en-us/library/ms151198.aspx
If it will be complicated for you, you can ask extra questions in the MSDN Replication forum.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
What is the exact use of 'Day Balance' and 'Period Balance'??
Hi All,
Can any body give me a detail and exact description about 'Day Balance' and 'Period Balance' fields used under 'Base Emtitlement' subtree option of V_T559L.
Thanks,
Swapnil
PS : Points will be rewarded for helpful answers...!1. First one has to understand that R3 is OLTP system purely used for transactin processing while BW is used for OLAP ie reporting purpose only. At a table level if we do not have a redundant second table the R3 system will be over loaded when the OLTP & the OLAP systems access the same table for their respective purposes. So we have to take data from the document table with a time lag and put into the statistical tables so that BW will get the data as and when required.
2. This question is related to 1 and the above answers both.
3. V3 is a generic process and is used for data extraction from the R3 transaction tables and can be used for any system as such.
4. Both the processes are independent of each other and there is no relationship.
Hope this helps
Cheers
Viva
Assign points if this helps. -
What is the exact use of STRUTS frame work??
Hi every one,
I'm new to this STRUTS frame work. Can any one explain me in detail (if possible with an example) about,, why we need to use STRUTS framework as we have already JSP's.
For example if we want to move from one JSP to another JSP, it is quite easy to move to the page with out any other extra logic. Where as comes to the point of STRUTS, we need to write, JSP form, Form-bean class, Action Class, configure our STRUTS XML file, if validation needed validation xml files. Is it not looking cumbersome to process?
Please help me to recover from this...
Expecting reply from many of you..
Thanx in advance.
Srirammeetshriram wrote:
Hi every one,
I'm new to this STRUTS frame work. Can any one explain me in detail (if possible with an example) about,, why we need to use STRUTS framework as we have already JSP's. Struts is a web MVC-2 framework.
For example if we want to move from one JSP to another JSP, it is quite easy to move to the page with out any other extra logic. No, there's logic, and it's embedded into the page.
It's fine for one page to another, but when you have a substantial application that has tens or hundreds of JSPs it's much harder to manage.
Where as comes to the point of STRUTS, we need to write, JSP form, Form-bean class, Action Class, configure our STRUTS XML file, if validation needed validation xml files. Is it not looking cumbersome to process?
Extra complexity does cost you something. Ask yourself what it's buying you: better layering, more configuration and less code, validation, etc.
% -
What is the exact procedure of SNOTE implementation(step by step)
Hello Friends,
I have 2 system landscape (DEV/QAS and PRD)
DEV.100/QAS.200 are in one system and PRD is as separate system..
Now want to implement SNOTE in two system landscape.
If you implement SNOTE, is it implemented in all clients..????
Above two systems are Solution Manager 4.0. SP16.
Please give me step by step...
regards,
gandalf.If i want to implement SNOTE, i need SAP transport layer ..????
Because my DEV/QAS are in same system and PRD is separate system....
If DEV client /QAS client are in same system and PRD is separate system, you need SAP transport layer. for this two system landscape ??????????????????????
What is the exact use SAP transport layer
( i know that SAP transport layer is used only for SAP standard objects and also it is configured between DEV system and QAS system, if both systems are different)
IF DEV/QAS are in same system there is no need of configuring SAP transport layer between DEV client and QAS client.
Please advice.
regards,
gandalf. -
Lightroom says "Develop module is disabled. Please renew your membership to reactivate the D m." I updated Lightroom this week and have used it after the update. I also have a paid subscription until november. What's up?
Online Chat Now button near the bottom for Activation and Deactivation problems may help
http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html -
My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!
Hi,
You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
You can find a sample scripts if you google around.
What do you mean "how to map any API to our staging table" ?
You should do at least the following mapping (which column(s) in the staging table will provide these information):
- the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
- the value set values and description
Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do... -
What is the exact way of doing BDC ?????
I know when the input is minimal we have to use CALL TRANSACTION method in BDC and when we have batch of input files we have to use BDC Recording.
My question is what is the exact way of doing BDC.
Could any one please tell me the exact way of doing BDC Recording Process.
I appreciate your help.
Thanks for your Time.
Shiv.Hello Sivaramu,
Call transcation can handle only one Trasaction(Tcode).
Session method can handle multiple transcations.
Before getting started with the Recording process...we have to know the transcation code. We do recording to record the screen number, screen values, Button values(OK codes) ...etc
For example...while recording we create a record using some t-code (Say MM01) ...Now, we will create a materail master record using the Recording process.
Let us see the process of recoding a single record with MM01 using SHDB(A tool used to record the details of T-code)
Go through these steps for recording by using SHDB.
How to use recording :
Go to SHDB
--> Click on New Recording
--> Provide any name in Recording , For ex: Z_CHAITU
--> Provide the Transaction name as MM01
--> Select the update mode as Synchrounous or Asynchrounus method
--> Click on Start Recording button.
--> It will display MM01 screen .type the appropriate
information in it.
--> Type the Material no as : 4567E (Any no, But there should b 1 Character in it)
--> Type Checmical Industry in INDUSTRY SECTOR
--> Type COUPONS in MATERIAL TYPE
--> Now click on Select Views button.
--> Select BASIC DATA 1
--> Click on Ok button
--> Under Basic data tab under Material, it will display the Material number.
--> Type the short description and Provide EA as Base Unit Of Measure
--> CLICK ON BACK AND IT WILL ASK U TO SAVE THE DATA, CLICK ON YES
--> Again click on Back, it will ask if u wish to save the changes to record entries.
-> Click on Yes
--> Now, u will be in Initial screen
--> Select the record and Click on Program button
--> Now, provide any program name
--> Now, select Transfer from recording
--> Click on Tick mark
--> Give some short description
--> Type as Executable
--> Click on Source Code button
--> Automatically the code will appear in SE 38 program.
U can try these steps with any T-code by knowing the Mandatory fields in it.
---> *Now by following all the above steps ur done with the recording process to create a single record in MAterail master (MM01). Now, we use the same recording process and put this recording under Loop in report program.*
So that, it will follow the same steps automatically to create materail master records from the flat file. If you have 10 records in flat file(Note pad) then it will do the same process for 10 times to upload 10 records from the flat file using the recoding process that we have done by using the SHDB
If you want then i will provide you with the sample program to upload the data for MK01 using Call transcation and Session method.
Call transcation method for MK01:
U can try these steps with any T-code by knowing the Mandatory fields in it.
& TITLE : BDC FOR MK01
*& DESCR : UPLOAD THE DATA THROUGH FLAT FILE
*& TRANSPORT : DOLK901203
*& VERSION : V1
*& DATE : 17th , JAN , 2008
report Z24_BDC_MK01
no standard page heading line-size 255.
*& DECLARATIONS OF STRUCTURE FOR MK01
TYPES : BEGIN OF TY_MK01 ,
KTOKK TYPE RF02K-KTOKK ,
NAME1 TYPE LFA1-NAME1 ,
SORTL TYPE LFA1-SORTL ,
PSTLZ TYPE LFA1-PSTLZ ,
LAND1 TYPE LFA1-LAND1 ,
END OF TY_MK01 .
*& DECLARATION OF INTERNAL TABLE
DATA : T_MK01 TYPE STANDARD TABLE OF TY_MK01 INITIAL SIZE 0 ,
T_BDCDATA TYPE STANDARD TABLE OF BDCDATA INITIAL SIZE 0 ,
T_BDCMSGCOLL TYPE STANDARD TABLE OF BDCMSGCOLL INITIAL SIZE 0 ,
T_ERROR TYPE STANDARD TABLE OF TY_MK01 INITIAL SIZE 0 ,
*& DECLARATION OF WORK AREA
W_MK01 TYPE TY_MK01 ,
W_BDCDATA TYPE BDCDATA ,
W_BDCMSGCOLL TYPE BDCMSGCOLL .
*& DECLARATION OF SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME .
PARAMETERS : P_FILE TYPE FILENAME .
SELECTION-SCREEN END OF BLOCK B1 .
*& DECLARATION OF START-OF-SELECTION
START-OF-SELECTION .
PERFORM SUB_UPLOAD_DATA .
PERFORM SUB_POPULATE_BDC .
PERFORM SUB_ERROR_REC .
*include bdcrecx1.
*& Form SUB_UPLOAD_DATA
text
form SUB_UPLOAD_DATA .
DATA : L_FILE TYPE STRING .
L_FILE = P_FILE .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = L_FILE
HAS_FIELD_SEPARATOR = 'X'
tables
data_tab = T_MK01 .
endform. " SUB_UPLOAD_DATA
*& Form SUB_POPULATE_BDC
text
form SUB_POPULATE_BDC .
LOOP AT T_MK01 INTO W_MK01 .
DATA : L_MSG TYPE STRING .
REFRESH T_BDCDATA .
perform bdc_dynpro using 'SAPMF02K' '0107'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-KTOKK'
W_MK01-KTOKK.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-LAND1'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFA1-NAME1'
W_MK01-NAME1.
perform bdc_field using 'LFA1-SORTL'
W_MK01-SORTL.
perform bdc_field using 'LFA1-PSTLZ'
W_MK01-PSTLZ.
perform bdc_field using 'LFA1-LAND1'
W_MK01-LAND1.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-LIFNR'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
CALL TRANSACTION 'MK01' USING T_BDCDATA MODE 'N' MESSAGES INTO T_BDCMSGCOLL .
IF SY-SUBRC <> 0 .
APPEND W_MK01 TO T_ERROR .
ENDIF .
CLEAR W_BDCMSGCOLL .
READ TABLE T_BDCMSGCOLL INTO W_BDCMSGCOLL INDEX 1 .
CLEAR L_MSG .
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = W_BDCMSGCOLL-MSGID
LANG = SY-LANGU
NO = W_BDCMSGCOLL-MSGNR
V1 = W_BDCMSGCOLL-MSGV1
V2 = W_BDCMSGCOLL-MSGV2
V3 = W_BDCMSGCOLL-MSGV3
V4 = W_BDCMSGCOLL-MSGV4
IMPORTING
MSG = L_MSG
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
IF sy-subrc = 0.
WRITE : / 'MESSAGE FOR ' , W_MK01-KTOKK ,'-------' , L_MSG .
ENDIF.
ENDLOOP .
endform. " SUB_POPULATE_BDC
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR W_BDCDATA.
W_BDCDATA-PROGRAM = PROGRAM.
W_BDCDATA-DYNPRO = DYNPRO.
W_BDCDATA-DYNBEGIN = 'X'.
APPEND W_BDCDATA TO T_BDCDATA .
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
CLEAR W_BDCDATA.
W_BDCDATA-FNAM = FNAM.
W_BDCDATA-FVAL = FVAL.
APPEND W_BDCDATA TO T_BDCDATA .
ENDFORM.
*& Form SUB_ERROR_REC
text
--> p1 text
<-- p2 text
form SUB_ERROR_REC .
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:/ERRORS OF MK01.TXT'
WRITE_FIELD_SEPARATOR = 'X'
tables
data_tab = T_ERROR .
endform. " SUB_ERROR_REC
Session Method for MK01:
*& PURPOSE : This BDC report is used to upload all the vendor master
*& data in to SAP using SESSION METHOD with handling the errors
report Y035_SESSION_METHOD
no standard page heading line-size 255.
*& Structure declaration
*Structure Declaration for source internal table
TYPES : BEGIN OF TY_UPLOAD,
LIFNR TYPE RF02K-LIFNR,
EKORG TYPE RF02K-EKORG,
KTOKK TYPE RF02K-KTOKK,
NAME1 TYPE LFA1-NAME1,
SORTL TYPE LFA1-SORTL,
LAND1 TYPE LFA1-LAND1,
SPRAS TYPE LFA1-SPRAS,
WAERS TYPE LFM1-WAERS,
END OF TY_UPLOAD.
*& Internal Table declaration
*Internal Table Declaration for source table
DATA : T_UPLOAD TYPE STANDARD TABLE OF TY_UPLOAD INITIAL SIZE 0,
*Internal Table Declaration for bdcdata
T_BDCDATA TYPE STANDARD TABLE OF BDCDATA INITIAL SIZE 0,
*Internal table declaration for BDCMSGCOLL (To handle the errors)
T_BDCMSG TYPE STANDARD TABLE OF BDCMSGCOLL,
*Internal table declaration for reprocess the errors
T_ERRORS TYPE STANDARD TABLE OF TY_UPLOAD INITIAL SIZE 0,
*& Workarea declaration
*Work area delaration for source table
W_UPLOAD TYPE TY_UPLOAD,
*Work area delaration for bdcdata
W_BDCDATA TYPE BDCDATA,
*Work area delaration for BDCMSGCOLL
W_BDCMSG TYPE BDCMSGCOLL.
*& Selection screen declaration
*Selection Screen declaration
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS : P_FLNAME TYPE FILENAME.
SELECTION-SCREEN END OF BLOCK B1.
*& Start of selection declaration
*Start of selection declaration
START-OF-SELECTION.
*Upload the data
PERFORM SUB_UPLOAD_DATA.
*Populate the BDC data
PERFORM SUB_POPULATE_BDC.
*Process the error records
PERFORM SUB_ERROR_RECORD.
*include bdcrecx1.
*& Form SUB_UPLOAD_DATA
This subroutine is used to upload the data
FORM SUB_UPLOAD_DATA .
DATA : L_FLNAME TYPE STRING.
L_FLNAME = P_FLNAME.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = L_FLNAME
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = T_UPLOAD.
ENDFORM. " SUB_UPLOAD_DATA
*& Form SUB_POPULATE_BDC
This subroutine is used to populate the BDC data
FORM SUB_POPULATE_BDC .
DATA : L_MSG TYPE STRING.
*To oper a sesion in SE35
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = 'MAMA_SESSION'
USER = SY-UNAME
KEEP = 'X'
HOLDDATE = '20080129'
PROG = SY-CPROG.
LOOP AT T_UPLOAD INTO W_UPLOAD.
REFRESH T_BDCDATA.
perform bdc_dynpro using 'SAPMF02K' '0107'.
perform bdc_field using 'BDC_CURSOR' 'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RF02K-LIFNR' W_UPLOAD-LIFNR.
perform bdc_field using 'RF02K-EKORG' W_UPLOAD-EKORG.
perform bdc_field using 'RF02K-KTOKK' W_UPLOAD-KTOKK.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR' 'LFA1-SPRAS'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'LFA1-NAME1' W_UPLOAD-NAME1.
perform bdc_field using 'LFA1-SORTL' W_UPLOAD-SORTL.
perform bdc_field using 'LFA1-LAND1' W_UPLOAD-LAND1.
perform bdc_field using 'LFA1-SPRAS' W_UPLOAD-SPRAS.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR' 'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_dynpro using 'SAPMF02K' '0310'.
perform bdc_field using 'BDC_CURSOR' 'LFM1-WAERS'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'LFM1-WAERS' W_UPLOAD-WAERS.
perform bdc_dynpro using 'SAPMF02K' '0320'.
perform bdc_field using 'BDC_CURSOR' 'RF02K-LIFNR'.
perform bdc_field using 'BDC_OKCODE' '=ENTR'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE' '=YES'.
*Transfer data to the session
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'MK01'
TABLES
dynprotab = T_BDCDATA.
ENDLOOP.
*To close the session
CALL FUNCTION 'BDC_CLOSE_GROUP'.
ENDFORM. " SUB_POPULATE_BDC
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR W_BDCDATA.
W_BDCDATA-PROGRAM = PROGRAM.
W_BDCDATA-DYNPRO = DYNPRO.
W_BDCDATA-DYNBEGIN = 'X'.
APPEND W_BDCDATA TO T_BDCDATA.
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
CLEAR W_BDCDATA.
W_BDCDATA-FNAM = FNAM.
W_BDCDATA-FVAL = FVAL.
APPEND W_BDCDATA TO T_BDCDATA.
ENDFORM.
*& Form SUB_ERROR_RECORD
This subroutine is used to process the error records
in to a file T_ERRORS
FORM SUB_ERROR_RECORD .
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = 'C:\MAMA_ERRORS.TXT'
WRITE_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = T_ERRORS.
ENDFORM. " SUB_ERROR_RECORD
Hope the Explonation and information I had provided will resolve your issue.
Reward points if information is very Helpful.
Have a great day!
Regards,
Krishna Chaitanya
Edited by: Krishna Chaitanya on Apr 7, 2008 4:59 AM -
What is the exact name of the cable I need to connect my old hard drive from my macbook pro, which has been removed from the computer, to my new macbook pro? I need to transfere files from the old hard drive to the new computer.
No eSATA to USB. Just a SATA/IDE to USB adapter. Google SATA/IDE to USB adapter and you will get tons of links to buy them. Most likely your local computer electronics store has them, although they might be more expensive buying locally than online.
I have several. You can get either USB 2, which what I recommend, or USB 3. USB is backward compatible so a USB 3 adapter will work on a USB 2 port and a USB 2 adapter will work on a USB 3 port. Backward compatible in both directions.
I suggest a USB 2 type because there have been some problems with certain USB 3 devices, the USB 3 interface used isn't all that good in those certain devices. USB 3 is still fairly new where as USB 2 has been around for over 10 years.
synghem wrote:
Thank you LowLuster,
At the apple store they said I needed an esata to usb wire. But looking at wires on line has been confusing. Is sata the same as esata? How do I know if I need a usb 3 or usb 2? -
What is the exact description of "in the same network"
Hi where,
in my household i use my devices (Mac, iphone, apple tv, etc) on different floors. if the device support ethernet (ex. apple tv) i use ethernet, because of less radio radiation and more speed.
Often "wake on Lan" for my mac based itunes library not working. The same for itunes wlan syncing and other feature (remote on iphone or connect "computer" on apple tv) . In the most help descriptions i read "the devices have to be in the same network". I tried different configuration:
1) connect my mac via gbit ethernet : problems persists
2) connect my mac via wlan: the problem persists, sometimes it works ,sometimes not. Additional, some application are slow (stream etc.), that normal, because gbit ethernet ping gives <10 ms, wlan ping gives <100 ms.
I "played" with some technical parameters, like radio channel on my airport to reduces possible inferences etc., but no luck
3) connect both ethernet and wlan: the problem seems to be solved, but i "feel" some trouble about the two activated interfaces to the same system (some freeze, who i blame to the double interface, perhaps)
So, what means "in the same network" exactly. Bind to the same hub? in the same WLAN network ? What is the idea behind that? Why not bridging bonjour and wake on lan?
thxfor the second question
import java.util.*;
import java.text.*;
public class Test{
public static void main(String[] args) {
DateFormat df = new SimpleDateFormat ("HH.mm");
System.out.println (df.format (new Date()));
}Running this program at 22:03 (10:03 pm):
C:\Temp>java -cp . Test
22.03 -
Hi Experts,
After Looking into the forums many days I had a small conclusion about forums,
SAP Forums are better place I have seen for getting a goo dhelp & Knowledge...
Why can't we make it a BEST Place.
This is just a small doubt which I would like to clear myself first,
I have seen many users In the forums asking for a Basic Questions
When cleared, But still they want to have a Spoon feeding with a Sample Code.
When Sample Code Given they will provide the original code and requests for Modifications.
These always looks to me as crazy.
I have seen somelong time agin by moderators posting that In SCN there will be no SPOON FEEDING.
I am not sure whether if still this Rule AVAILABLE or NOT.
Ok if the task is really difficult let them ask again and again,
And it was not replied, let them repost, I agree with them.
And How about a User Registered in SDN very long back and asking for a silly question in below thread,
[Sendin Email to the recipent list -Need correct FM |Getting the address from shipto partner of Bil. item not directly from C.ma]
This is one more example, really funny, The thread poster needs the solution at any cost, he doesn't require and Suggetions,,, {He Only needs Solution}
[Radio Buttons |Radio Buttons;
[Turning Off Debugger |Turning Off Debugger;
[Regarding Amount in words|Regarding Amount in words;
There are 100's of threads like this....Everyone knows this facts.
Check this who answered this one and who replied correct answer, who copied, finally who was rewarded...!
[how to validate POsting period |Re: how to validate POsting period]
Now My Real Problem is....!
User is always intelligent, Only the weakness is in Contributor, trying to help them,..,
And I openly say that Someone requesting for basic help is not DUMB, But the Contributor replying forgets
the basic rules " Why Contributing ?"
According to me It's not the Requestor to see Rules & Requlations before posting the threads,
But its responsibilty for the Contributing person to see th Rules & Requlations before replying the threads,
If we follow the rules and stand on a single word or rule or anything there will be Good Result.
Major Problem is in US not anyone else.
Example Some one saying search in the forum,,, then please no replies after that...
But we are very pity hearted again we post the solution,,,
But it is not at all enough(for cintribtor's)... they will copy the solution and post again by slight Modifications,
And Some users are having 500,600,700,800 Posts with 0 points, registered long long back.
They are completly dependent on forums,,, As they goto office and as they eat, The same they open forums and ask Queries...
They will never realize what they are doing,, and we will never let them improve better...
Finally Lets Discuss About this and Correct & Suggest me if I am wrong,
Is my thoughts are going in the right way or not I am not even sure... Please Aslo Correct me if I did any mistakes.
Thanks & regards,
Dileep .C
Edited by: Dileep Kumar Chinnaiah on Apr 29, 2009 12:33 PM
Title Changed Form
"What to do when someone asking for Basic Questions" to "What Are the Exact Basic rules for Replying a Threads...... "Hi Stephen,
Very useful Information,
First tell me a little something about my self...
After completion of my certification(as a fresher) I was down the streets hunting the job,
with the insufficient knowledge and being a non-experienced person, I never got one.
And mean while when I got my "S-UserID", I used to be proud, To say frankly, I registerd in SDN & SAP all at a time, without even knowing what I can do there..,
When I got a job afterwords I was doing the job and never seen SDN page for many months,
when I came to know that of we have doubts we can post at SDN. then started requesting help,
I posted only a little, I didnot got the proper response. on that day I decided,
still there are some places where we cannot get help on time and there will be people waiting to get help,
Why cant I put some of my efforts to help others.
Then I searched some topic by Topic in SDN topic by Topic I used to read threads just for knowledge.
when I feel my self comfort for contributing, I started contibuting...!
If you haven't read it, take a look first, so you can understand where things are now.
I dont know where things are now. But these in this thread I mentioned clearly what I seen from the day I started contributing.
I searched with the terms of 'Rules for replying', The results are not as I expected, and this link has subject as
"O SDN, where art thou?" So it dosent hit my in the list.
Like everybody until a certain stage I am also rushing for points.
But I most cases I never tried to copy paste answers. If I done some then that is just to point it myself some day,
I have no hopes or no intrest on the points...! This was discussed with Rob & Matt, at my inital contribution where my points are 36.
From that day till date I have changed a lot to myself.
Everyone cannot change like me because they are not like me & And I dont even expect that...!
I will be online almost 6-8Hrs a day, Not even getting intrest to see the forums just because of the co-contributors.
My only point is I am just requesting to a co-contributor,
Clearly In a example : Lets say contributor has replied to a thread, and if you know that is a correct solution,
please dont reply any more, If you have a better solution than that, then only reply,
Even there is one reply in the thread not a matter, if correct answer leave that query.
If still error persists, Show up with your Idea's...
Dont let down the contributor, by copying his reply and editing and pasting(edit only if incorrect).
I am just looking for this one exactly to circulate between ourselfs.
For this we a little support from moderators to circulate(may be as a rule or may be as a mail to them)
You may say again how many mails we have to send, It dosent matter, one mail to one person one time,
and +ve factors will show up definetly.
A real contributor always understand what I am talking about, but some one who hunts for points will never.
I am really sorry if I am troubling with my doubts & requests,
If so, Pleae forgive me,,
Thanks & regards,
Dileep .C
Maybe you are looking for
-
How can I duplex print in Word for MAC?
Although duplex printing works in PREVIEW, I cannot access it in WORD for MAC
-
Running XP Pro, 2ghz proc, 2 gig ram. Removed Google Desktop Deinstalled every Adobe product Disabled Virus and Spyware Ran CS3 cleanup Generic crash message: Adobe Setup has encountered a problem and needs to close. We are sorry for the inconvenienc
-
Casting char * to jbytearray
Hi all, I had a urgent problem on casting char * to jbytearray. Can anyone help me out? Thank you very much in advance. Assume I have char * which has the content I want to cast into jbytearray, then return this jbytearray to java applicaiton. I did
-
I can not download the current update, 7.0.2 to my ipad 2. There is no error message it just fails to install. I have tried to download it several times with no success. Also I have tried a restart and that has not made any difference.
-
FIXED! DON'T REPLY