Ad Hoc Estimate in cProjects
Hello everybody,
Reading the SAP help on the topic my understanding is that one can execute ECP for a cProjects before an acount assignment exists for that project. Do I understand it coorectly? If Yes, then how do I get the "AD HOC ESTIMATE" button or link activated.
As of now I can only see change Easy Cost Planning object link for a WBS (under Services) only after I have assigned the PS Project to my cProject.
I maintained a costing variant for ECP Ad Hoc Estimate - in the ERP system under "Settings for Easy Cost Planning".
Here is what SAP help says:
"You are on the Accounting tab page, have costed the simulation or project (Cost button) and saved it.
__Choose Ad Hoc Cost Estimate.__The Change <name of project>: Easy Cost Planning screen appears."
Thank you,
Lacramioara
This solved my problem; The formatting is lost, but basically it says you need to configure the ECP costing variant using PADH not PS06....I hope it helps!
L.
Define Costing Variant- Ad Hoc Cost Estimate
Use
The costing variant in this Config. Guide is used for Easy Cost Planning that will be used to create the basis for a quotation created by using sales pricing.
In Easy Cost Planning, the costing variant determines the following:
The Purpose of the cost estimate (Costing type)
The prices that are selected to valuate the costing items (valuation variant)
For internal orders, work breakdown structure elements, and ad hoc cost estimates, the dates that apply to the cost estimate (date control)
Procedure
1. Access the activity using one of the following navigation options:
Transaction Code
IKKZ
IMG Menu
Customizing: Controlling -> Product Cost Controlling -> Product Cost Planning ->Ad Hoc Cost Estimate à Define Costing Variants
2. In screen u201CChange View u201CCosting Variantsu201D: Detailsu201D choose and you will enter screen u201CChange View u201CCosting Variantsu201D: Overviewu201D and choose
Field name
Tab
User action and values
Note
Costing Variant
YSP1
Text
SP: Ad Hoc Cost Estimate
Costing Type
Control
26 Ad Hoc Cost Estimate
Valuation Variant
Control
012 Base Planning object
Data Control
Control
PS02 Easy Cost Planning (PS)
3. Define Strategy Sequence for Activity Types in screen u201CChange View u201CCosting Variantsu201D: Detailu201D à tab Control à à Tab Activity/Types/Processes
Field name
Tab
User action and values
Note
Strategy Seq.
Activity/Types/Processes
2 Plan Price as Average of All Fiscal Year Periods
CO Version Plan/Actual
Activity/Types/Processes
0
You can also create YSP1 by coping Standard Cost Estimate: PADH copied into and
change Costing Variant Date Control from PC04 to PS02
4. To save your entries choose
Similar Messages
-
How to create Quotation from Ad hoc cost estimation of cProjects?
Hi Guruu2019s
Please help me in resolving the issue given below. I am able to get ad hoc cost estimation results in accounting screen, but not able to create a Quotation from Ad hoc cost estimation of cProjects.
I am here with providing necessary steps to be followed. But these buttons are not available in my accounting screen.
Prerequisites
A reference quotation has been linked to the project under Structure Object Links. An ad hoc cost estimate has been created for the project.
Procedure
1. Choose the Accounting tab.
2. Choose link Ad Hoc Cost Estimate.
3. Enter client, user and password to log on to SAP ECC.
The client, user and password must be entered if Single Sign On is not activated
4. On the Ad Hoc Cost Estimate screen, choose .
5. On the Easy Cost Planning screen, choose .
6. Choose .
7. Choose Yes when you are prompted with u201CDo you really want to create the quotation?u201D
8. Write down the Quotation number :_______________
9. Choose .
Result
Quotation in SAP ERP has been created.
Please respond to this at the earliest. Points are given for your reply. I would be great if any one provides step by step procedure for IMG activities. Thanks in advance.
Thanks & Regards
Suresh. JHi Suresh,
maybe you find the following link also useful:
[http://help.sap.com/saphelp_ppm400/helpdata/en/index.htm]
Navigation: Collaboration Projects -> Accounting Integration -> Preliminary Costing and Quotation Creation -> Ad Hoc Cost Estimate for cProjects or Sales Pricing for cProjects
From the page:
The cost planning function is executed by Easy Cost Planning (ECP). The cost estimate is always created at project level and is always single-level. The organizational data relevant to costing (controlling area, company code, and master cost center for the derivation of the activity type under which the allocation is reported) is derived from the HR organizational unit specified in the project definition. The costs are calculated based on the rates for the resource, project role, or task. For more information, see Costing Logic.
The revenues are calculated automatically if you have selected the option Use Cost/Revenue Rates from cProjects or Use Sales Pricing in SAP ERP as the revenue calculation type for the project type that you are using for the project. You make this selection in Customizing for Collaboration Projects, by choosing Connection to External Systems -> Accounting Integration -> Make General Settings. With the last option, the revenues are calculated with the dynamic item processor (DIP). For more information, see Sales Pricing for cProjects. Then you can also call up sales pricing from within the ad hoc cost estimate.
You can archive the ad hoc cost estimate in SAP ECC (archiving object CO_ECP) if the project has the status To Be Archived.
Technically, the ad hoc cost estimate is saved in SAP ECC with reference to the cProjects project number. When the project is transferred, it is recosted and the cost estimate stored for the account assignment object.
Hoping this helps...
Best regards,
Thomas -
Hello Experts
My organization is planning to use Ad Hoc Cost Estimation feature for new finish goods items. Can any one share if you have any explanation document with screen shot of whole process? I have already gone through SAP help.
Thnaks
AnkitHi Suresh,
maybe you find the following link also useful:
[http://help.sap.com/saphelp_ppm400/helpdata/en/index.htm]
Navigation: Collaboration Projects -> Accounting Integration -> Preliminary Costing and Quotation Creation -> Ad Hoc Cost Estimate for cProjects or Sales Pricing for cProjects
From the page:
The cost planning function is executed by Easy Cost Planning (ECP). The cost estimate is always created at project level and is always single-level. The organizational data relevant to costing (controlling area, company code, and master cost center for the derivation of the activity type under which the allocation is reported) is derived from the HR organizational unit specified in the project definition. The costs are calculated based on the rates for the resource, project role, or task. For more information, see Costing Logic.
The revenues are calculated automatically if you have selected the option Use Cost/Revenue Rates from cProjects or Use Sales Pricing in SAP ERP as the revenue calculation type for the project type that you are using for the project. You make this selection in Customizing for Collaboration Projects, by choosing Connection to External Systems -> Accounting Integration -> Make General Settings. With the last option, the revenues are calculated with the dynamic item processor (DIP). For more information, see Sales Pricing for cProjects. Then you can also call up sales pricing from within the ad hoc cost estimate.
You can archive the ad hoc cost estimate in SAP ECC (archiving object CO_ECP) if the project has the status To Be Archived.
Technically, the ad hoc cost estimate is saved in SAP ECC with reference to the cProjects project number. When the project is transferred, it is recosted and the cost estimate stored for the account assignment object.
Hoping this helps...
Best regards,
Thomas -
Hi friends....
Presently I am working on client server on cProjects 4.0 with ECC6.
I have done all the settings for account integration but I am getting following error:
Syntax error in program CL_COSTING_COMPONENT==========CP .
Can any one help me on the same.
Also I am getting error of " No costing data available" . Is it related to the above problem????
Can anyone help me on the same???
Regards,
Niraj SikligarHi Niraj,
During the call of Easy Cost Planning, it results in a termination with dump:
Exception condition 'INTERNAL_ERROR' was raised
The termination occurs in ABAP program 'CL_COSTING_COMPONENT==========CP' in 'ADD_TO_PRICE_LINE'.
<b>In particular, this termination can occur when you change ad hoc cost estimates in Transaction CKECP.</b>
Other terms
CL_COSTING_COMPONENT, ADD_TO_PRICE_LINE, INTERNAL_ERROR, ECP, ECPE
Reason and Prerequisites
<b>The problem is related to a program error in Note 682713</b>. from this you get more help to solve the problem
reward the pionts if help full
thanks
sunil
null -
Material Cost Planning in cProjects (4.0)
Hi Gurus
I'm new to cProjects and PS.
My project has a Phase which I created as a "Material Acquisition Phase". Effectively I need to source Materials for my Project and would like to record this in cProjects.
Is it possible to record the planned cost for this Material in cProjects or is this only possible in PS.
The phase has a WBS Element attached to it.
If it is possible, what are the steps required to make it work.
Many Thanks in advance
PandurangaHi Panduranga,
In cproject, you cannot Plan for Material Purchase. cproject is a estimation tool where in we can estimate the resource cost on role-based.
Through Cproject and PS integration, you can get the same task "Material acquistion" in both cproject as well as in PS.
In PS only, we can plan value for material acquistion where the value will take from Material master same will not happen in cproject as it doesnot have link to R/3 Marial master.
Hope you understood the concept clearly.
Thanks and Regards
Vetrivelan -
I've finished planning a project in cProject:
- Cotrolling method: WBS, Auto, Task base
- Schedule
- Assign resource
- a PS is created & assigned automatically
- Status: released-transfered-assigned. (But status showed in dashboard is Released-Transfered)
In cProject page: Accounting -> costing - calculate. cost of project is calculated correctly. But I used CJ41 to view Cost Plan. but all values are 0.
I don't known what should I do more. please help
Thank you very much.
[email protected]
Long Nguyen.
P/S
when click on calculate button I got a erro message
<i>Error occurred in accounting - check the costing in the ERP system
Message no. DPR_FIN_GECCO026
Diagnosis
Errors occurred in costing in the ERP system.
Procedure
Check the costing log for costing in the ERP system:
Call costing:
If it is preliminary costing, the hyperlink for calling the ad hoccost estimate can be found in the Costing view.
If it is costing for an account assignment object (after transfer), the hyperlink for calling Easy Cost Planning can be found in the Services view.
In costing, choose Revaluate All Items . The costing log is then generated with the error messages.
Procedure for System Administration
This message has the number DPR_FIN_GECCO026.</i>
Message was edited by:
Long NguyenHi
See this help data
http://help.sap.com/saphelp_cpro31/helpdata/en/c5/923e4045796913e10000000a1550b0/frameset.htm -
Hello Guys,
Can someone explain what is project version and its functionality. Can this be controlled with status flow of Projects. For example, In status flow, when PM changes to Update status an new version of project shoud be created.
Can this be possible in cProjects as standard functionality.
Thanks in advance...
Regards,
VJThere are two types of versions in project management
1. Project versions: Typically used for reporting the state of a project at a given time. Yes it is possible to automatically generate a version based trigger on a project.
2. Simulation version : this is typically used to simulate a project. At times the cost planning, effort estimates needs to be determined which can be done using simulation versions -
Fields for creation of BP in cProjects front-end are read-only
Hi everyone,
I'm a beginner in SAP-Development/Customizing so I hope this question isn't too easy
I can't create a Business Partner using the cProjects front-end (Ressources > Staffing) because the necessary fields and buttons are read-only... (> web-Dynpro Component: DPR_ROL_STAFF; View-Info: VI_SEARCH_CREATE)
I'm using CPRXRPM 450_700 patch 0006
The field-control is standard-SAP (0SAP).
My user-account has all cProject-roles + SAP-ALL
I assume i can change the behaviour of these fields in the Field Control but I can't identify which is the corresponding Object Category to apply the changes.
- Is there a documentation which field belongs to which Object Category in Field Control?
- Or can somebody tell me a procedure to find it out on my own?
Thanks in advanceHi,
generally it is recommended to use transaction BP or ALE distribution to get the business partner be created.
If you would like to create the BP in web UI directly, the user must have the Structural Authorization, see customizing path:
Collaboration Projects -> Resource Management -> Organizational Management.
It is very HR related topic, you may contact a HR consultant to know more details about it.
Kind regard,
Zhenbo -
Error while opening the projects in cProjects
Hi,
I am encountering a problem while opening the already created projects in cProjects. The error type is
The following error text was processed in the system DVR : Type conflict when calling a function module.
The error occurred on the application server and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_DPR_OBL_PROXY~LOAD_OBJECT_LINKS of program CL_DPR_OLR3_EASYDMS===========CP
Method: IF_CGPL_ASSIGNMENT_PERSISTENCY~FETCH of program CL_DPR_OBL_PERSISTENCY========CP
Method: LOAD of program CL_CGPL_ASSIGNMENTS===========CP
Method: LOAD of program CL_CGPL_PROJECTS==============CP
Method: LOAD of program CL_CGPL_ENTITIES==============CP
Method: LOAD_PROJECTS of program CL_DPR_APPL_OBJECT_MANAGER====CP
Method: LOAD_OBJECTS_OF_OBJECT_TYPE of program CL_DPR_BAPI_SERVICES==========CP
I request you all to help me out solve this issue if you know.
Regards
Nachimuthu RameshHi Vivek,
Thanks for responding to my question. I made changes as per your suggestion and now I am not getting the error message whatever I forwarded. But I am getting another error message 'You require authorization to display Project`. Pls help me out to solve this issue.
Thanking you
Regards,
N.Ramesh -
Error while saving project in cProjects
Hello,
I am getting following error while saving a project in cProjects-
Access via 'NULL' object reference not possible.
Details of the error are given below-
Can somebody please help me resolve this error?
Thanks and regards,
Milind Dumbre
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in procedure "FINALIZE_OBJECT_BEFORE_SAVE" "(METHOD)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "LR_CALC").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.Hi Milind,
You may check the settings by navigating to the following path
IMG --> Collaboration Projects --> Connection to external systems --> Accounting Integration
--> Define Object Links for Accounting Integration.
Check if the RFC destination has been correctly maintained. You may check the correctness of the RFC settings via SM59.
Let me know if this helps.
Regards,
Vivek Pandey -
Material Cost estimate modification
Hi Experts
I want to modified this report and add cost estimate value from MBEW (field is STPRS) for each material to this report. I have used the table MBEW but unable to locate where to start.
Can anyone have a look and comment on this report
REPORT command_extract .
*CLASS cl_gui_control DEFINITION LOAD.
*CLASS cl_gui_frontend_services DEFINITION LOAD.
Tables
TABLES:
kna1,
knb1,
knvv,
mara,
mast, "JPC20061107
marc,
makt,
sscrfields.
CONSTANTS: BEGIN OF gc_status,
acc TYPE zcrstat1 VALUE ' ACC',
hol TYPE zcrstat1 VALUE ' HOL',
sto TYPE zcrstat1 VALUE ' STO',
ok TYPE zcrstat1 VALUE ' OK',
hold TYPE zcrstat1 VALUE 'HOLD',
END OF gc_status.
CONSTANTS: BEGIN OF gc_reason,
000 TYPE zreason VALUE '000',
001 TYPE zreason VALUE '001',
002 TYPE zreason VALUE '002',
003 TYPE zreason VALUE '003',
004 TYPE zreason VALUE '004',
005 TYPE zreason VALUE '005',
006 TYPE zreason VALUE '006',
007 TYPE zreason VALUE '007',
008 TYPE zreason VALUE '008',
010 TYPE zreason VALUE '010',
011 TYPE zreason VALUE '011',
021 TYPE zreason VALUE '021',
022 TYPE zreason VALUE '022',
023 TYPE zreason VALUE '023',
024 TYPE zreason VALUE '024',
025 TYPE zreason VALUE '025',
026 TYPE zreason VALUE '026',
999 TYPE zreason VALUE '999',
END OF gc_reason.
TYPES: BEGIN OF ty_kna1_fields,
kunnr TYPE kna1-kunnr,
sperr TYPE kna1-sperr,
aufsd TYPE kna1-aufsd,
lifsd TYPE kna1-lifsd,
faksd TYPE kna1-faksd,
loevm TYPE kna1-loevm,
END OF ty_kna1_fields.
TYPES: BEGIN OF ty_knb1_fields,
kunnr TYPE knb1-kunnr,
bukrs TYPE knb1-bukrs,
sperr TYPE knb1-sperr,
loevm TYPE knb1-loevm,
END OF ty_knb1_fields.
TYPES: BEGIN OF ty_knvv_fields,
kunnr TYPE knvv-kunnr,
vkorg TYPE knvv-vkorg,
vtweg TYPE knvv-vtweg,
spart TYPE knvv-spart,
aufsd TYPE knvv-aufsd,
lifsd TYPE knvv-lifsd,
faksd TYPE knvv-faksd,
END OF ty_knvv_fields.
TYPES: BEGIN OF ty_knkk_fields,
kunnr TYPE knkk-kunnr,
kkber TYPE knkk-kkber,
ctlpc TYPE knkk-ctlpc,
crblb TYPE knkk-crblb,
knkli TYPE knkk-knkli,
klimk TYPE knkk-klimk,
skfor TYPE knkk-skfor,
ssobl TYPE knkk-ssobl,
END OF ty_knkk_fields.
TYPES: BEGIN OF ty_cust_stat_output,
kunnr(10) TYPE c, "Customer #
stat(4) TYPE c, "Customer status
END OF ty_cust_stat_output.
TYPES:
BEGIN OF ty_customers,
kunnr(10) TYPE c, " Customer #
div1(1) TYPE c, " Pipe delimiter
name1(32) TYPE c, " Customer name
div2(1) TYPE c, " Pipe delimiter
altkn(8) TYPE c, " Old Customer #
div3(1) TYPE c, " Pipe delimiter
stras(30) TYPE c, " Street
div4(1) TYPE c, " Pipe delimiter
ort01(20) TYPE c, " City
div5(1) TYPE c, " Pipe delimiter
regio(3) TYPE c, " State
div6(1) TYPE c, " Pipe delimiter
pstlz(4) TYPE c, " Postcode
div7(1) TYPE c, " Pipe delimiter
telf1(14) TYPE c, " Phone 1
div8(1) TYPE c, " Pipe delimiter
telf2(14) TYPE c, " Phone 2
div9(1) TYPE c, " Pipe delimiter
erdat(10) TYPE c, " date
div10(1) TYPE c, " Pipe delimiter
splant(2) TYPE c, " plant
div11(1) TYPE c, " Pipe delimiter
END OF ty_customers,
it_ty_customers TYPE ty_customers OCCURS 0,
BEGIN OF ty_custstat,
kunnr(11) TYPE c, " Customer #
company(2) TYPE c, " #
status(3) TYPE c, " acc,cod,hol,
END OF ty_custstat,
it_ty_custstat TYPE ty_custstat OCCURS 0.
TYPES:
BEGIN OF ty_materialm,
matnr(12) TYPE c, " Material #
maktx2(40) TYPE c, " Command sales desc.
maktx(16) TYPE c, " Basic description
extwg(6) TYPE c, " External Material Group
flag1(1) TYPE c, "
flag2(1) TYPE c, "
flag3(1) TYPE c, "
flag4(1) TYPE c, "
END OF ty_materialm,
it_ty_materialm TYPE ty_materialm OCCURS 0,
BEGIN OF ty_materialp,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " plant
batch(1) TYPE c, " download to batch
END OF ty_materialp,
it_ty_materialp TYPE ty_materialp OCCURS 0.
TYPES:
BEGIN OF ty_bom,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " Plant
posnr(3) TYPE c, " position
idnrk(12) TYPE c, " BOM material #
menge(10) TYPE c, " Quantity
meins(3) TYPE c, " Unit of Measure
END OF ty_bom,
it_ty_bom TYPE ty_bom OCCURS 0,
*Start of block of changes for JPC20061107
BEGIN OF ty_bom_sapfmt,
matnr TYPE MAST-MATNR, " Material #
werks TYPE MAST-WERKS, " Plant
posnr TYPE STPO-POSNR, " position
idnrk TYPE STPO-IDNRK, " BOM material #
menge TYPE STPO-MENGE, " Quantity
meins TYPE STPO-MEINS, " Unit of Measure
potx1 TYPE STPO-POTX1, " Text description for BOM
END OF ty_bom_sapfmt.
BEGIN OF ty_bomlist,
matnr LIKE mast-matnr, " Material #
stlnr LIKE mast-stlnr, " BOM #
posnr LIKE stpo-posnr, " BOM item#
idnrk LIKE stpo-idnrk, " BOM material #
menge LIKE stpo-menge, " BOM material qty
meins LIKE stpo-meins, " BOM material uom
END OF ty_bomlist,
it_ty_bomlist TYPE ty_bomlist OCCURS 0.
*Ending block of changes for JPC20061107
Selection screen definition
SELECTION-SCREEN: BEGIN OF BLOCK gen WITH FRAME TITLE text-001.
PARAMETERS:
p_dir like rlgrap-filename obligatory, " extract directory
p_ccust TYPE c DEFAULT ' ' AS CHECKBOX, " Check box customers
p_cmatm TYPE c DEFAULT ' ' AS CHECKBOX, " Check box Materials
p_cbom TYPE c DEFAULT ' ' AS CHECKBOX, " Check box BOMs
p_ccst TYPE c DEFAULT ' ' AS CHECKBOX. " Check box credit stat
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-006.
PARAMETERS:
p_gui RADIOBUTTON GROUP rg1 USER-COMMAND u01,
p_svr RADIOBUTTON GROUP rg1 DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK a.
SELECTION-SCREEN: END OF BLOCK gen.
SELECTION-SCREEN: BEGIN OF BLOCK cust WITH FRAME TITLE text-002.
PARAMETERS:
p_dcust LIKE filepath-pathintern DEFAULT 'Z_COMMAND_CUST_EXTRACT',
p_fcust LIKE rlgrap-filename,
p_dcomp LIKE knb1-bukrs,
p_dsale LIKE knvv-vkorg,
p_dwerk(3) TYPE c.
SELECTION-SCREEN: END OF BLOCK cust.
SELECTION-SCREEN: BEGIN OF BLOCK matnr WITH FRAME TITLE text-003.
PARAMETERS:
p_dmatm LIKE filepath-pathintern
DEFAULT 'Z_COMMAND_MATERIAL_EXTRACT',
p_fmatm LIKE rlgrap-filename,
p_fmatp LIKE rlgrap-filename,
p_dwerks LIKE marc-werks,
p_dspras LIKE makt-spras,
p_dbatch(1) TYPE c,
p_dflag1(1) TYPE c,
p_dflag2(1) TYPE c,
p_dflag3(1) TYPE c,
p_dflag4(1) TYPE c.
SELECT-OPTIONS:
s_dextwg FOR mara-extwg.
SELECTION-SCREEN: END OF BLOCK matnr.
SELECTION-SCREEN: BEGIN OF BLOCK bom WITH FRAME TITLE text-004.
PARAMETERS:
p_dbom LIKE filepath-pathintern DEFAULT 'Z_COMMAND_BOM_EXTRACT',
p_fbom LIKE rlgrap-filename.
p_bwerks LIKE mast-werks. "Made a select-optoin JPC20061107
SELECT-OPTIONS:
s_bmatnr FOR MARA-MATNR, "JPC20061107
s_bwerks FOR MAST-WERKS no-extension no intervals, "JPC20061107
s_bextwg FOR mara-extwg.
SELECTION-SCREEN: END OF BLOCK bom.
SELECTION-SCREEN: BEGIN OF BLOCK ccst WITH FRAME TITLE text-005.
PARAMETERS:
p_dccst LIKE filepath-pathintern
DEFAULT 'Z_COMMAND_CUST_STAT_EXTRACT',
p_fccst LIKE rlgrap-filename,
p_fccst2 LIKE rlgrap-filename,
p_fccstl LIKE rlgrap-filename.
SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-007.
PARAMETERS: p_csall RADIOBUTTON GROUP gp2.
PARAMETERS: p_csdlt RADIOBUTTON GROUP gp2 DEFAULT 'X'.
PARAMETERS: p_append RADIOBUTTON GROUP GP3 DEFAULT 'X', "Append files output to server for cust credit data ?
p_owrite RADIOBUTTON GROUP GP3.
SELECTION-SCREEN END OF BLOCK b.
SELECT-OPTIONS:
s_kunnr FOR kna1-kunnr.
SELECTION-SCREEN: END OF BLOCK ccst.
DATA: clsdir TYPE REF TO cl_gui_frontend_services.
DATA: strfolder TYPE string.
DATA: folderln TYPE i.
DATA: gva_error(1) TYPE c VALUE ' '.
Initial procedure on START ***************
INITIALIZATION.
p_fcust = 'CUST.prn'.
p_fmatm = 'MATM.prn'.
p_fmatp = 'MATP.prn'.
p_fbom = 'BOM.prn'.
p_fccst = 'CCSTAT.prn'.
p_fccst2 = 'CCSTATC.prn'.
p_fccstl = 'CCSTATL.prn'.
s_dextwg-option = 'BT'.
s_dextwg-low = '1'.
s_dextwg-high = '8'.
APPEND s_dextwg.
s_bextwg-option = 'BT'.
s_bextwg-low = '1'.
s_bextwg-high = '1'.
APPEND s_bextwg.
AT SELECTION-SCREEN.
IF p_ccust EQ 'X' AND ( p_fcust IS INITIAL OR p_dcust IS INITIAL ).
MESSAGE s000(zppu)
WITH 'You must specify the file details for the customer data'.
gva_error = 'X'.
ENDIF.
IF p_cmatm EQ 'X' AND ( p_fmatm IS INITIAL OR
p_fmatp IS INITIAL OR
p_dmatm IS INITIAL ).
MESSAGE s001(zppu)
WITH 'You must specify the file details for the material data'.
gva_error = 'X'.
ENDIF.
IF p_cbom EQ 'X' AND ( p_fbom IS INITIAL OR p_dbom IS INITIAL ).
MESSAGE s002(zppu)
WITH 'You must specify the file details for the BOM data'.
gva_error = 'X'.
ENDIF.
IF p_cbom EQ 'X'.
IF s_bwerks-low is initial.
MESSAGE s002(zppu)
WITH 'You must specify a plant to run BOM extract for'.
gva_error = 'X'.
ENDIF.
IF LINES( s_bwerks ) > 1.
MESSAGE s002(zppu)
WITH 'You can only specify 1 plant for BOM extract'.
gva_error = 'X'.
ENDIF.
ENDIF.
IF p_ccst EQ 'X' AND ( p_fccst IS INITIAL OR
p_fccst2 IS INITIAL OR
p_fccstl IS INITIAL OR
p_dccst IS INITIAL ).
MESSAGE s002(zppu)
WITH 'You must specify the file details for the customer'
'status data'.
gva_error = 'X'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
PERFORM user_command.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fcust.
PERFORM get_gui_filename USING p_dcust p_fcust.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fmatm.
PERFORM get_gui_filename USING p_dmatm p_fmatm.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fmatp.
PERFORM get_gui_filename USING p_dmatm p_fmatp.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fbom.
PERFORM get_gui_filename USING p_dbom p_fbom.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccst.
PERFORM get_gui_filename USING p_dccst p_fccst.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccst2.
PERFORM get_gui_filename USING p_dccst p_fccst2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccstl.
PERFORM get_gui_filename USING p_dccst p_fccstl.
END-OF-SELECTION.
Data selection execution.
DATA: lwa_kna1 TYPE kna1,
lwa_knb1 TYPE knb1,
lwa_knvv TYPE knvv.
DATA: lwa_marc TYPE marc,
lwa_mara TYPE marav,
lwa_makt TYPE makt.
DATA: lit_marav TYPE marav OCCURS 0.
DATA: lit_customers TYPE it_ty_customers,
lwa_customers TYPE ty_customers.
DATA: lit_custstat TYPE it_ty_custstat,
lwa_custstat TYPE ty_custstat.
DATA: lit_materialm TYPE it_ty_materialm,
lwa_materialm TYPE ty_materialm.
DATA: lit_materialp TYPE it_ty_materialp,
lwa_materialp TYPE ty_materialp.
*(del)DATA: lwa_bomlist TYPE ty_bomlist, "JPC20061107
*(del) lit_bomlist TYPE it_ty_bomlist. "JPC20061107
DATA: lwa_bom TYPE ty_bom_sapfmt,
lit_bom TYPE it_ty_bom WITH HEADER LINE. "JPC20061107
lit_bom TYPE it_ty_bom. "JPC20061107
DATA: output_file TYPE string.
DATA: lock_file TYPE string.
DATA: lva_mssage TYPE string.
DATA: lva_matnr(18) TYPE n.
DATA: lva_date TYPE datum.
DATA: txtper(3) TYPE c.
DATA: custper TYPE i.
DATA: custcount TYPE i.
DATA: itemnum TYPE i.
CHECK gva_error <> 'X'.
IF p_ccust EQ 'X'. " Do the customer file extract
PERFORM extract_customer_details.
ENDIF.
IF p_cmatm EQ 'X'. " Do the Material file extract
PERFORM extract_material_details.
ENDIF.
IF p_cbom EQ 'X'. " Do the BOM file extract
PERFORM extract_bom_details.
ENDIF.
IF p_ccst EQ 'X'. " Do the customer credit status file extract
PERFORM extract_credit_status_details.
ENDIF.
*& Form extract_customer_details
text
--> p1 text
<-- p2 text
FORM extract_customer_details.
SELECT * FROM knb1
INTO lwa_knb1
WHERE bukrs = p_dcomp.
MOVE-CORRESPONDING lwa_knb1 TO lwa_customers.
MOVE-CORRESPONDING lwa_knb1 TO lwa_custstat.
MOVE '#' TO lwa_custstat-company.
MOVE p_dwerk TO lwa_customers-splant.
WG1K903075: Start Delete---*
move: '|' to lwa_customers-div1,
'|' to lwa_customers-div2,
'|' to lwa_customers-div3,
'|' to lwa_customers-div4,
'|' to lwa_customers-div5,
'|' to lwa_customers-div6,
'|' to lwa_customers-div7,
'|' to lwa_customers-div8,
'|' to lwa_customers-div9,
'|' to lwa_customers-div10,
'|' to lwa_customers-div11.
WG1K903075: End Delete-----*
WG1K903075: Start Insert---*
MOVE: ' ' TO lwa_customers-div1,
' ' TO lwa_customers-div2,
' ' TO lwa_customers-div3,
' ' TO lwa_customers-div4,
' ' TO lwa_customers-div5,
' ' TO lwa_customers-div6,
' ' TO lwa_customers-div7,
' ' TO lwa_customers-div8,
' ' TO lwa_customers-div9,
' ' TO lwa_customers-div10,
' ' TO lwa_customers-div11.
WG1K903075: End Insert-----*
APPEND lwa_customers TO lit_customers.
APPEND lwa_custstat TO lit_custstat.
ENDSELECT.
DESCRIBE TABLE lit_customers LINES custcount.
LOOP AT lit_customers INTO lwa_customers.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
SELECT SINGLE * FROM kna1
INTO lwa_kna1
WHERE kunnr = lwa_customers-kunnr.
MOVE-CORRESPONDING lwa_kna1 TO lwa_customers.
lva_date = lwa_customers-erdat.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = lva_date
IMPORTING
date_external = lwa_customers-erdat
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
REPLACE ALL OCCURRENCES OF '.'
IN lwa_customers-erdat WITH '/'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = lwa_customers-kunnr
IMPORTING
output = lwa_customers-kunnr.
WRITE: lwa_customers-kunnr RIGHT-JUSTIFIED TO lwa_customers-kunnr.
MODIFY lit_customers FROM lwa_customers.
Percentage indicator display
lva_mssage = 'Extracting customers'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
IF p_gui IS INITIAL.
PERFORM get_file_path USING p_dcust p_fcust output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT lit_customers INTO lwa_customers.
TRANSFER lwa_customers TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fcust TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
TABLES
data_tab = lit_customers
EXCEPTIONS
OTHERS = 11.
ENDIF.
output_file = custcount.
CONCATENATE
output_file
' Customers extracted'
INTO
lva_mssage.
message lva_mssage type 'I'.
ENDFORM. " extract_customer_details
*& Form extract_material_details
text
--> p1 text
<-- p2 text
FORM extract_material_details.
select maramatnr maramaktx
maramatkl marcwerks
SELECT *
FROM marav AS mara
INNER JOIN marc AS marc
ON marc~matnr EQ mara~matnr
INTO CORRESPONDING FIELDS OF lwa_mara
WHERE marc~werks = p_dwerks
AND mara~spras = 'EN'
AND mara~extwg IN s_dextwg.
MOVE-CORRESPONDING lwa_mara TO lwa_materialm.
WRITE: lwa_mara-matnr TO lwa_materialm-matnr.
MOVE: p_dflag1 TO lwa_materialm-flag1,
p_dflag2 TO lwa_materialm-flag2,
p_dflag3 TO lwa_materialm-flag3,
p_dflag4 TO lwa_materialm-flag4.
APPEND lwa_materialm TO lit_materialm.
ENDSELECT.
DESCRIBE TABLE lit_materialm LINES custcount.
LOOP AT lit_materialm INTO lwa_materialm.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
CLEAR lwa_materialp.
CLEAR lwa_mara.
MOVE: lwa_materialm-matnr TO lwa_materialp-matnr,
p_dwerks TO lwa_materialp-werks,
p_dbatch TO lwa_materialp-batch.
APPEND lwa_materialp TO lit_materialp.
MOVE: lwa_materialm-matnr TO lva_matnr.
MOVE: lva_matnr TO lwa_mara-matnr.
SELECT SINGLE maktx FROM makt
INTO lwa_materialm-maktx2
WHERE matnr = lwa_mara-matnr
AND spras = p_dspras.
IF lwa_materialm-maktx2 IS INITIAL.
lwa_materialm-maktx2 = lwa_materialm-maktx.
ENDIF.
MODIFY lit_materialm FROM lwa_materialm.
Percentage indicator display
lva_mssage = 'Extracting materials'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
IF p_gui IS INITIAL.
PERFORM get_file_path USING p_dmatm p_fmatm output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT lit_materialm INTO lwa_materialm.
TRANSFER lwa_materialm TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fmatm TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = lit_materialm
EXCEPTIONS
OTHERS = 11.
ENDIF.
IF p_gui IS INITIAL.
PERFORM get_file_path USING p_dmatm p_fmatp output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT lit_materialp INTO lwa_materialp.
TRANSFER lwa_materialp TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fmatp TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = lit_materialp
EXCEPTIONS
OTHERS = 11.
ENDIF.
REFRESH lit_materialm.
ENDFORM. " extract_material_details
*& Form extract_bom_details
text
--> p1 text
<-- p2 text
FORM extract_bom_details.
Lines below commented out and replaced with SELECT from ABAP Query run from
transaction ZBOM. Previously duplicate materials were selected. JPC20061107
REFRESH lit_materialm.
SELECT *
FROM marav AS mara
INNER JOIN marc AS marc
ON marcmatnr EQ maramatnr
INTO CORRESPONDING FIELDS OF lwa_mara
WHERE marc~werks = p_bwerks
AND mara~spras = 'EN'
AND mara~extwg IN s_bextwg.
APPEND lwa_mara TO lit_marav.
ENDSELECT.
DESCRIBE TABLE lit_marav LINES custcount.
LOOP AT lit_marav INTO lwa_mara.
Percentage indicator calculation
txtper = 100 * sy-tabix / custcount.
custper = txtper.
SELECT
mast~matnr
mast~stlnr
stpo~posnr
stpo~idnrk
stpo~menge
stpo~meins
FROM mast AS mast
LEFT OUTER JOIN stpo AS stpo
ON stpostlnr EQ maststlnr
INTO lwa_bomlist
WHERE mast~matnr = lwa_mara-matnr.
CLEAR lwa_bom.
MOVE-CORRESPONDING lwa_bomlist TO lwa_bom.
WRITE: lwa_bomlist-matnr TO lwa_bom-matnr.
IF lwa_bomlist-idnrk IS INITIAL.
WRITE: 'BACKBIN' TO lwa_bom-idnrk.
ELSE.
WRITE: lwa_bomlist-idnrk TO lwa_bom-idnrk.
ENDIF.
MOVE: lwa_bomlist-posnr TO itemnum.
WRITE: itemnum TO lwa_bom-posnr RIGHT-JUSTIFIED.
write: lwa_bomlist-menge
to lwa_bom-menge
decimals 2.
MOVE: p_bwerks TO lwa_bom-werks.
APPEND lwa_bom TO lit_bom.
ENDSELECT.
Percentage indicator display
lva_mssage = 'Extracting material B.O.Ms'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
select MASTMATNR MASTWERKS STPOPOSNR STPOIDNRK STPOMENGE STPOMEINS "JPC20061220
select MAST~MATNR MAST~WERKS STPO~POSNR STPO~IDNRK STPO~MENGE STPO~MEINS STPO~POTX1 "JPC20061220
into lwa_bom
from ( MAST
inner join STKO
on STKO~STLAL = MAST~STLAL
and STKO~STLNR = MAST~STLNR
and STKO~WRKAN = MAST~WERKS
inner join MARA as MARA_H
on MARA_H~MATNR = MAST~MATNR
left outer join STAS
on STAS~STLAL = STKO~STLAL
and STAS~STLNR = STKO~STLNR
and STAS~STLTY = STKO~STLTY
inner join STPO
on STPO~STLKN = STAS~STLKN
and STPO~STLNR = STAS~STLNR
and STPO~STLTY = STAS~STLTY
inner join MARA JPC20061220
left outer join MARA "JPC20061220
on MARA~MATNR = STPO~IDNRK )
where MARA_H~MATNR in s_bmatnr
and MAST~WERKS in s_bwerks
and MARA_H~EXTWG in s_bextwg.
clear lit_bom.
WRITE lwa_bom-matnr TO lit_bom-matnr.
MOVE lwa_bom-werks TO lit_bom-werks.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = lwa_bom-posnr
IMPORTING
output = lit_bom-posnr.
SHIFT lit_bom-posnr right deleting trailing space.
IF lwa_bom-idnrk IS INITIAL.
WRITE 'BACKBIN' TO lit_bom-idnrk. JPC20061220
WRITE lwa_bom-potx1 TO lit_bom-idnrk. "JPC20061220
ELSE.
WRITE lwa_bom-idnrk TO lit_bom-idnrk.
ENDIF.
MOVE: lwa_bom-menge TO lit_bom-menge,
lwa_bom-meins TO lit_bom-meins.
APPEND lit_bom.
ENDSELECT.
SORT lit_bom ascending.
Ending for lines inserted for change 20061107
IF p_gui IS INITIAL. "write to server
PERFORM get_file_path USING p_dbom p_fbom output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
custcount = lines( lit_bom ).
LOOP AT lit_bom.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
lva_mssage = 'Extracting material B.O.Ms'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING percentage = custper
text = lva_mssage.
TRANSFER lit_bom TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fbom TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = lit_bom
EXCEPTIONS
OTHERS = 11.
ENDIF.
ENDFORM. " extract_bom_details
*& Form get_file_path
text
-->P_LOGICAL_PATH_NAME text
-->P_FILENAME text
-->P_FILENAME_WITH_PATH text
FORM get_file_path USING p_logical_path_name p_filename
p_filename_with_path.
DATA: l_opsys TYPE sy-opsys,
l_blank_filename TYPE c,
l_filename TYPE string.
IF p_gui IS INITIAL.
MOVE 'WN32' TO l_opsys.
ELSE.
MOVE 'WN' TO l_opsys.
ENDIF.
IF p_filename IS INITIAL.
MOVE 'XXX' TO l_filename.
MOVE 'X' TO l_blank_filename.
ELSE.
MOVE p_filename TO l_filename.
ENDIF.
CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
EXPORTING
logical_path = p_logical_path_name
operating_system = l_opsys
file_name = l_filename
IMPORTING
file_name_with_path = p_filename_with_path
EXCEPTIONS
path_not_found = 1
missing_parameter = 2
operating_system_not_found = 3
file_system_not_found = 4
OTHERS = 5.
IF NOT l_blank_filename IS INITIAL.
REPLACE ALL OCCURRENCES OF 'XXX' IN p_filename_with_path WITH space.
ENDIF.
ENDFORM. "get_file_path
*& Form value_request_p_fcust
text
--> p1 text
<-- p2 text
FORM get_gui_filename USING p_path p_filename.
DATA: l_fdir TYPE string.
CHECK NOT p_gui IS INITIAL.
PERFORM get_file_path USING p_path space
l_fdir.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_path = l_fdir
mask = ',.prn,.prn.'
title = 'Select Excel file for download'
IMPORTING
filename = p_filename
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
ENDFORM. " value_request_p_fcust
*& Form extract_credit_status_details
text
--> p1 text
<-- p2 text
FORM extract_credit_status_details .
DATA: lt_credit_stat TYPE STANDARD TABLE OF zint_credit_stat,
l_credit_stat TYPE zint_credit_stat,
l_current_stat1 TYPE zcrstat1,
l_current_stat2 TYPE zcrstat2,
l_current_reason TYPE zreason,
lt_output_stat TYPE STANDARD TABLE OF zint_credit_stat,
l_output_stat TYPE zint_credit_stat,
lt_output1 TYPE STANDARD TABLE OF ty_cust_stat_output,
lt_output2 TYPE STANDARD TABLE OF ty_cust_stat_output,
l_output TYPE ty_cust_stat_output.
SELECT a~mandt a~kunnr a~name1 b~curstat1 b~curstat2 b~curtimestamp
b~curreason b~prevstat1 b~prevstat2 b~prvtimestamp
b~prevreason
INTO TABLE lt_credit_stat
FROM kna1 AS a
LEFT OUTER JOIN zint_credit_stat AS b
ON a~kunnr = b~kunnr
WHERE a~kunnr IN s_kunnr.
DESCRIBE TABLE lt_credit_stat LINES custcount.
LOOP AT lt_credit_stat INTO l_credit_stat.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
PERFORM determine_current_status USING l_credit_stat-kunnr
l_current_stat1
l_current_stat2
l_current_reason.
IF NOT p_csdlt IS INITIAL.
Only do delta download
IF l_current_stat1 NE l_credit_stat-curstat1 OR
l_current_stat2 NE l_credit_stat-curstat2.
PERFORM add_record_to_output TABLES lt_output_stat
USING l_current_stat1
l_current_stat2
l_current_reason
l_credit_stat.
ENDIF.
ELSE.
Download all records
PERFORM add_record_to_output TABLES lt_output_stat
USING l_current_stat1
l_current_stat2
l_current_reason
l_credit_stat.
ENDIF.
Percentage indicator display
lva_mssage = 'Extracting customer status'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
Create output table
LOOP AT lt_output_stat INTO l_output_stat.
CLEAR l_output.
WRITE l_output_stat-kunnr TO l_output-kunnr.
SHIFT l_output-kunnr RIGHT DELETING TRAILING space.
MOVE l_output_stat-curstat1 TO l_output-stat.
APPEND l_output TO lt_output1.
MOVE l_output_stat-curstat2 TO l_output-stat.
APPEND l_output TO lt_output2.
ENDLOOP.
SORT lt_output1.
SORT lt_output2.
IF p_gui IS INITIAL.
Lock File
PERFORM get_file_path USING p_dccst p_fccstl lock_file.
If the file already exists then abort processing
OPEN DATASET lock_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 8.
MESSAGE s002(zppu)
WITH 'Lock file' lock_file 'already exists on server,'
'processing aborted'.
LEAVE PROGRAM.
ENDIF.
OPEN DATASET lock_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE s002(zppu)
WITH 'Lock file' lock_file 'cannot be opened on the server,'
'processing aborted'.
LEAVE PROGRAM.
ENDIF.
File 1
PERFORM get_file_path USING p_dccst p_fccst output_file.
If user requests cust status data to be appended use different OPEN
IF p_append is initial.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
ELSE.
OPEN DATASET output_file FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
ENDIF.
IF sy-subrc EQ 0.
LOOP AT lt_output1 INTO l_output.
TRANSFER l_output TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
File 2
PERFORM get_file_path USING p_dccst p_fccst2 output_file.
If user requests cust status data to be appended use different OPEN
IF p_append is initial.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
ELSE.
OPEN DATASET output_file FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
ENDIF.
IF sy-subrc EQ 0.
LOOP AT lt_output2 INTO l_output.
TRANSFER l_output TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
DELETE DATASET lock_file.
ELSE.
MOVE p_fccst TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
TABLES
data_tab = lt_output1
EXCEPTIONS
OTHERS = 11.
MOVE p_fccst2 TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
TABLES
data_tab = lt_output2
EXCEPTIONS
OTHERS = 11.
ENDIF.
IF NOT p_svr IS INITIAL.
PERFORM update_status_table TABLES lt_output_stat.
ENDIF.
output_file = custcount.
CONCATENATE
output_file
' Customers extracted'
INTO
lva_mssage.
ENDFORM. " extract_credit_status_details
*& Form user_command
text
--> p1 text
<-- p2 text
FORM user_command .
LOOP AT SCREEN.
IF screen-name EQ 'P_DCUST' OR
screen-name EQ '%_P_DCUST_%_APP_%-TEXT' OR
screen-name EQ 'P_DMATM' OR
screen-name EQ '%_P_DMATM_%_APP_%-TEXT' OR
screen-name EQ 'P_DBOM' OR
screen-name EQ '%_P_DBOM_%_APP_%-TEXT' OR
screen-name EQ 'P_DCCST' OR
screen-name EQ '%_P_DCCST_%_APP_%-TEXT' OR
screen-name EQ 'P_FCCSTL' OR
screen-name EQ '%_P_FCCSTL_%_APP_%-TEXT'.
IF p_gui IS INITIAL.
screen-input = 1.
screen-output = 1.
screen-invisible = 0.
screen-active = 1.
ELSE.
screen-input = 0.
screen-output = 0.
screen-invisible = 1.
screen-active = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDFORM. " user_command
*& Form determine_current_status
text
-->P_L_CREDIT_STAT_KUNNR text
-->P_L_CURRENT_STAT1 text
-->P_L_CURRENT_STAT2 text
FORM determine_current_status USING p_kunnr p_stat1 p_stat2 p_reason.
STATICS: lt_kna1 TYPE STANDARD TABLE OF ty_kna1_fields,
lt_knb1 TYPE STANDARD TABLE OF ty_knb1_fields,
lt_knvv TYPE STANDARD TABLE OF ty_knvv_fields,
lt_knkk TYPE STANDARD TABLE OF ty_knkk_fields.
DATA: l_kna1 TYPE ty_kna1_fields,
l_knb1 TYPE ty_knb1_fields,
l_knvv TYPE ty_knvv_fields,
l_knkk TYPE ty_knkk_fields,
l_faedt TYPE rfpos-faedt,
l_days TYPE p,
l_used TYPE rf02l-klprz.
IF lt_kna1[] IS INITIAL.
PERFORM load_kna1 TABLES lt_kna1.
ENDIF.
IF lt_knb1[] IS INITIAL.
PERFORM load_knb1 TABLES lt_knb1.
ENDIF.
IF lt_knvv[] IS INITIAL.
PERFORM load_knvv TABLES lt_knvv.
ENDIF.
IF lt_knkk[] IS INITIAL.
PERFORM load_knkk TABLES lt_knkk.
ENDIF.
MOVE gc_status-acc TO p_stat1.
MOVE gc_status-ok TO p_stat2.
MOVE gc_reason-000 TO p_reason.
Customer Block/Unblock
READ TABLE lt_kna1 INTO l_kna1 WITH KEY kunnr = p_kunnr BINARY SEARCH.
IF sy-subrc EQ 0.
IF NOT l_kna1-sperr IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-001 TO p_reason.
ENDIF.
IF l_kna1-aufsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-002 TO p_reason.
ENDIF.
IF l_kna1-lifsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-003 TO p_reason.
ENDIF.
IF l_kna1-faksd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-004 TO p_reason.
ENDIF.
IF NOT l_kna1-loevm IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-999 TO p_reason.
ENDIF.
ENDIF.
CHECK p_stat1 NE gc_status-sto.
LOOP AT lt_knb1 INTO l_knb1 WHERE kunnr EQ p_kunnr.
IF NOT l_kna1-sperr IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-005 TO p_reason.
ENDIF.
IF NOT l_knb1-loevm IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-999 TO p_reason.
ENDIF.
IF p_stat1 EQ gc_status-sto.
EXIT.
ENDIF.
ENDLOOP.
CHECK p_stat1 NE gc_status-sto.
LOOP AT lt_knvv INTO l_knvv WHERE kunnr EQ p_kunnr.
IF l_knvv-aufsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-006 TO p_reason.
ENDIF.
IF l_knvv-lifsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-007 TO p_reason.
ENDIF.
IF l_knvv-faksd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-008 TO p_reason.
ENDIF.
IF p_stat1 EQ gc_status-sto.
EXIT.
ENDIF.
ENDLOOP.
CHECK p_stat1 NE gc_status-sto.
READ TABLE lt_knkk INTO l_knkk WITH KEY kunnr = p_kunnr
kkber = 'BP01'
BINARY SEARCH.
IF sy-subrc EQ 0.
Exceeded Trading Terms
IF l_knkk-ctlpc EQ 'Z03' OR
l_knkk-ctlpc EQ 'Z04' OR
l_knkk-ctlpc EQ 'Z05'.
CALL FUNCTION 'CUSTOMER_OLDEST_OPEN_ITEM'
EXPORTING
i_kkber = l_knkk-kkber
i_kunnr = l_knkk-kunnr
IMPORTING
e_faedt = l_faedt
EXCEPTIONS
invalid_call = 1
no_bukrs = 2
no_items = 3
OTHERS = 4.
IF sy-subrc EQ 0.
l_days = sy-datum - l_faedt.
ELSE.
l_days = 0.
ENDIF.
IF l_knkk-ctlpc EQ 'Z03' AND l_knkk-crblb IS INITIAL AND
l_days GT 45.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-021 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z04' AND l_knkk-crblb IS INITIAL AND
l_days GT 40.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-022 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z05' AND l_knkk-crblb IS INITIAL AND
l_days GT 30.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-023 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z03' AND NOT l_knkk-crblb IS INITIAL AND
l_days GT 45.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-024 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z04' AND NOT l_knkk-crblb IS INITIAL AND
l_days GT 40.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-025 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z05' AND NOT l_knkk-crblb IS INITIAL AND
l_days GT 30.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-026 TO p_reason.
ENDIF.
CHECK p_stat1 NE gc_status-sto.
Exceeded Credit Limit Checks
PERFORM get_credit_exposure USING l_knkk-knkli l_knkk-kkber
l_knkk-ctlpc l_knkk-klimk
l_knkk-skfor l_knkk-ssobl
l_used.
IF l_used GE 95 AND l_knkk-crblb IS INITIAL.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-010 TO p_reason.
ENDIF.
IF l_used GE 95 AND NOT l_knkk-crblb IS INITIAL.
MOVE gc_status-Yes thread closed
Prioz -
Can't load data through smart view (ad hoc analysis)
Hi,
There is EPM application where I want to give ability to planners to load data through smart view (ad hoc analysis). In Shared Services there are four options in
EssbaseCluster-1: Administrator, Create/Delete Application, Server Access, Provisioning Manager. Only Administrator can submit data in smart view (ad-hoc analysis). But I don't want to grant Essbase administrator to planners, I'm just interested to give them ability to load data through ad-hoc analysis. Please suggest!I take that you refreshed the Planning security, If not refresh the security of those users. Managing Security Filters
Check in EAS whether those filters are created with "Write" permissions.
Regards
Celvin
http://www.orahyplabs.com -
Ad Hoc distribution under Enterprise license
Hi,
I have a customer who's workforce has a 1,000 iPads and is interested in distributing their publications either Ad-Hoc or through Internal Distribution, without going through the Apple Store. Are there any issues, limitations using the Enterprise License with Adobe DPS?
I understand Apple has a 100 unit limit on Ad-Hoc using the Developer License.
TonyApple has a 100 device limit per provisioning profile for ad hoc distribution. It's a cumbersome method at best and won't scale easily to 1000 ipads.
The correct solution for this type of desired behaviour is an Apple Enterprise license and DPS. This will let you build an app that can be distributed outside the Apple app store, to your employees only. Depending on theneed to control the level of access to content, folios can either published as public free ( controlling access by controlling the app distribution) or published as public/retail using the direct entitlement APIs to provide login level access to the folio within the app. -
Hello guys ;- ),
I have been using Arch on this specific laptop(intel pro wireless 3945 wifi ward) for around 10 months now, and pretty much every time up to last update ad-hoc networking *always* worked.The driver i used in past months was iwl3945 over mac80211.The same combo is now trying to work properly aswell.So lets get to the story:
Here is the damned upgrade ;- ) :
[root@linuxnoob log]# more pacman.log | grep 2008-08-19
[2008-08-19 08:16] synchronizing package lists
[2008-08-19 08:16] starting full system upgrade
[2008-08-19 08:17] removed linux-uvc-svn (238-1)
[2008-08-19 08:17] synchronizing package lists
[2008-08-19 08:17] starting full system upgrade
[2008-08-19 08:32] upgraded abs (2.1-1 -> 2.2-1)
[2008-08-19 08:32] upgraded apr (1.3.2-1 -> 1.3.2-2)
[2008-08-19 08:32] upgraded bzip2 (1.0.5-2 -> 1.0.5-3)
[2008-08-19 08:32] upgraded catalyst-utils (8.6-1 -> 8.7-1)
[2008-08-19 08:32] upgraded module-init-tools (3.2.2-6 -> 3.4-1)
[2008-08-19 08:32] >>>
[2008-08-19 08:32] >>> If you use the LILO bootloader, you should run 'lilo' before rebooting.
[2008-08-19 08:32] >>>
[2008-08-19 08:32] >>> Updating module dependencies. Please wait ...
[2008-08-19 08:32] >>> MKINITCPIO SETUP
[2008-08-19 08:32] >>> ----------------
[2008-08-19 08:32] >>> If you use LVM2, Encrypted root or software RAID,
[2008-08-19 08:32] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2008-08-19 08:32] >>> More information about mkinitcpio setup can be found here:
[2008-08-19 08:32] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2008-08-19 08:32]
[2008-08-19 08:32] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2008-08-19 08:32] ==> Building image "default"
[2008-08-19 08:32] ==> Running command: /sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2008-08-19 08:32] :: Begin build
[2008-08-19 08:32] :: Parsing hook [base]
[2008-08-19 08:32] :: Parsing hook [udev]
[2008-08-19 08:32] :: Parsing hook [autodetect]
[2008-08-19 08:32] :: Parsing hook [pata]
[2008-08-19 08:32] :: Parsing hook [scsi]
[2008-08-19 08:32] :: Parsing hook [sata]
[2008-08-19 08:32] :: Parsing hook [usbinput]
[2008-08-19 08:32] :: Parsing hook [keymap]
[2008-08-19 08:32] :: Parsing hook [filesystems]
[2008-08-19 08:32] :: Generating module dependencies
[2008-08-19 08:32] :: Generating image '/boot/kernel26.img'...SUCCESS
[2008-08-19 08:32] ==> SUCCESS
[2008-08-19 08:32] ==> Building image "fallback"
[2008-08-19 08:32] ==> Running command: /sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2008-08-19 08:32] :: Begin build
[2008-08-19 08:32] :: Parsing hook [base]
[2008-08-19 08:32] :: Parsing hook [udev]
[2008-08-19 08:32] :: Parsing hook [pata]
[2008-08-19 08:33] :: Parsing hook [scsi]
[2008-08-19 08:33] :: Parsing hook [sata]
[2008-08-19 08:33] :: Parsing hook [usbinput]
[2008-08-19 08:33] :: Parsing hook [keymap]
[2008-08-19 08:33] :: Parsing hook [filesystems]
[2008-08-19 08:33] :: Generating module dependencies
[2008-08-19 08:34] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2008-08-19 08:34] ==> SUCCESS
[2008-08-19 08:34] upgraded kernel26 (2.6.25.11-1 -> 2.6.26.2-1)
[2008-08-19 08:34] upgraded catalyst (8.6-1 -> 8.7-2)
[2008-08-19 08:34] upgraded gnutls (2.0.4-2 -> 2.4.1-1)
[2008-08-19 08:34] upgraded libpng (1.2.29-1 -> 1.2.29-2)
[2008-08-19 08:34] upgraded libcups (1.3.8-1 -> 1.3.8-2)
[2008-08-19 08:34] upgraded epdfview (0.1.6-7 -> 0.1.6-8)
[2008-08-19 08:34] upgraded gtk2 (2.12.11-2 -> 2.12.11-3)
[2008-08-19 08:34] ==> To use dvipdf, you need to install tetex:
[2008-08-19 08:34] ==> # pacman -S tetex
[2008-08-19 08:34] upgraded ghostscript (8.63-2 -> 8.63-3)
[2008-08-19 08:34] upgraded glib2 (2.16.4-1 -> 2.16.5-1)
[2008-08-19 08:34] upgraded gnome-vfs (2.22.0-3 -> 2.22.0-4)
[2008-08-19 08:34] upgraded gparted (0.3.7-1 -> 0.3.8-1)
[2008-08-19 08:34] upgraded hdparm (8.6-1 -> 8.9-1)
[2008-08-19 08:34] upgraded imagemagick (6.4.2.4-1 -> 6.4.2.7-1)
[2008-08-19 08:34] -----------------------------------------------------------
[2008-08-19 08:34] IMPORTANT NOTICE FOR ENCRYPTION USERS
[2008-08-19 08:34]
[2008-08-19 08:34] The "password" column in /etc/crypttab has now
[2008-08-19 08:34] two special keywords:
[2008-08-19 08:34] - ASK ask for a passphrase on boot
[2008-08-19 08:34] - SWAP use a random key and create swapspace
[2008-08-19 08:34] This is particularly dangerous, as the
[2008-08-19 08:34] volume in question will be overwritten
[2008-08-19 08:34] If you use SWAP as your passphrase (which
[2008-08-19 08:34] is insecure anyway), be sure to remove it
[2008-08-19 08:34] from /etc/crypttab to avoid dataloss!
[2008-08-19 08:34]
[2008-08-19 08:34] See /etc/crypttab(.pacnew) for more information.
[2008-08-19 08:34] -----------------------------------------------------------
[2008-08-19 08:34] Attention netcfg users: netcfg is no longer included as
[2008-08-19 08:34] part of the initscripts package.
[2008-08-19 08:34] Be aware that rc.conf's NET_PROFILES has changed to
[2008-08-19 08:34] NETWORKS, and that netcfg must be installed separately.
[2008-08-19 08:34] For more info, see the netcfg man page.
[2008-08-19 08:34] -----------------------------------------------------------
[2008-08-19 08:34] upgraded initscripts (2008.05-1 -> 2008.08-1)
[2008-08-19 08:34] upgraded ipw3945 (1.2.2-10 -> 1.2.2-11)
[2008-08-19 08:34] upgraded kdelibs3 (3.5.9-2.1 -> 3.5.9-3)
[2008-08-19 08:34] upgraded klibc (1.5-5 -> 1.5-6)
[2008-08-19 08:34] upgraded klibc-extras (2.4-1 -> 2.4-2)
[2008-08-19 08:34] upgraded klibc-kbd (1.15.20080312-5 -> 1.15.20080312-6)
[2008-08-19 08:34] upgraded klibc-module-init-tools (3.2.2-3 -> 3.4-1)
[2008-08-19 08:34] upgraded klibc-udev (116-3 -> 116-4)
[2008-08-19 08:34] upgraded ktorrent (3.1.1-1 -> 3.1.2-1)
[2008-08-19 08:34] upgraded libsoup (2.4.1-1 -> 2.4.1-2)
[2008-08-19 08:34] upgraded libepc (0.3.5-1 -> 0.3.5-2)
[2008-08-19 08:34] upgraded libgnomecups (0.2.3-2 -> 0.2.3-3)
[2008-08-19 08:35] upgraded libgnomeprint (2.18.3-2 -> 2.18.3-3)
[2008-08-19 08:35] upgraded libmpeg2 (0.4.1-1 -> 0.5.1-1)
[2008-08-19 08:35] upgraded lirc-utils (0.8.2-1 -> 0.8.3-1)
[2008-08-19 08:35] upgraded lm_sensors (3.0.2-1 -> 3.0.2-2)
[2008-08-19 08:35] upgraded madwifi-utils (0.9.4.3382-1 -> 0.9.4.3844-1)
[2008-08-19 08:35] upgraded madwifi (0.9.4.3382-5 -> 0.9.4.3844-1)
[2008-08-19 08:35] upgraded man-pages (3.05-1 -> 3.06-1)
[2008-08-19 08:35] upgraded mpg123 (1.4.3-1 -> 1.5.0-1)
[2008-08-19 08:35] upgraded ndiswrapper-utils (1.52-1 -> 1.53-1)
[2008-08-19 08:35] module configuration already contains alias directive
[2008-08-19 08:35]
[2008-08-19 08:35] upgraded ndiswrapper (1.52-4 -> 1.53-1)
[2008-08-19 08:35] upgraded qt (4.4.1-1 -> 4.4.1-2)
[2008-08-19 08:35] upgraded rt2500 (1.1.0_B4-23 -> 1.1.0_B4-24)
[2008-08-19 08:35] upgraded ruby (1.8.7_p71-1 -> 1.8.7_p72-1)
[2008-08-19 08:35] upgraded samba (3.0.30-2 -> 3.0.31-1)
[2008-08-19 08:35] upgraded tzdata (2008d-1 -> 2008e-1)
[2008-08-19 08:35] upgraded vino (2.22.2-2 -> 2.22.2-3)
[2008-08-19 08:36] upgraded vlc (0.8.6i-2 -> 0.8.6i-3)
[2008-08-19 08:36] upgraded wireshark (1.0.2-1 -> 1.0.2-2)
[2008-08-19 08:36] upgraded wlan-ng26-utils (0.2.8-2 -> 0.2.9-1)
[2008-08-19 08:36] >>> Updating module dependencies. Please wait ...
[2008-08-19 08:36] upgraded wlan-ng26 (0.2.8-17 -> 0.2.9-1)
[2008-08-19 08:36] upgraded xine-lib (1.1.14-2 -> 1.1.15-1)
[2008-08-19 08:36] upgraded xscreensaver (5.06-1 -> 5.07-1)
[2008-08-19 08:50] upgraded ipw3945 (1.2.2-11 -> 1.2.2-11)
As you see here, for some reason wlan-ng** and ipw3945*(older driver) made it into my machine aswell, let alone ndiswrapper, that i never used.No matter what, my net after i booted the new kernel was broken. I couldnt connect using the "network" script (see below) as i used to.On boot kernel using just udev , was loading for some reason all ipw3945/iwl3945/ndiswrapper!So to minimize conflict possibilities, i removed wlan-ng26/wlan-ng26-utils , as well as ipw3945/ipw3945d and ndiswrapper. I blacklisted all the above aswell so to be sure that only the recommended iwl3945/mac80211 combo will run .
So rc.conf
MOD_AUTOLOAD="yes"
MOD_BLACKLIST=(ndiswrapper ieee80211 ipw3945)
MODULES=(mac80211 iwl3945 acpi-cpufreq cpufreq_ondemand cpufreq_powersave cpufre
q_conservative)
USELVM="no"
HOSTNAME="linuxnoob"
lo="lo 127.0.0.1"
WLAN_INTERFACE=(wlan0)
wlan0="wlan0 10.0.0.80 netmask 255.255.255.0 broadcast 10.0.0.255"
wlan_wlan0="wlan0 mode ad-hoc essid trik1"
INTERFACES=(lo !eth0 wlan0)
gateway="default gw 10.0.0.20"
ROUTES=(gateway)
NETWORKS=( !Virus_Home !Robolab !wlanA !Robot Trikala)
DAEMONS=(@syslog-ng !ipw3945d !networkmanager network @cpufreq !net-profiles @v
mware.d/vmware !netfs !crond !alsa @samba @dbus @hal)
# End of file
/etc/resolv.conf
domain linuxnoob.domain.org
nameserver 10.0.0.20
and /etc/hosts
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 linuxnoob.domain.org localhost.localdomain localhost linuxn
oob
10.0.0.80 linuxnoob.domain.org localhost linuxnoob
# End of file
Now when i start the network script i get the following spam on dmesg:
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
__ratelimit: 43 messages suppressed
wlan0: beacon TSF higher than local TSF - IBSS merge with BSSID 26:00:9d:76:70:bb
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
__ratelimit: 27 messages suppressed
wlan0: beacon TSF higher than local TSF - IBSS merge with BSSID 26:00:9d:76:70:bb
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
wlan0: Configured IBSS beacon template
phy2: Adding new IBSS station 00:16:b6:a1:0e:6e (dev=wlan0)
.................(keeps spamming until i get the interface down)
and here is outpute from iwconfig / ifconfig
wlan0 IEEE 802.11 ESSID:"trik1"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 26:00:9D:76:70:BB
Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
wlan0 Link encap:Ethernet HWaddr 00:13:02:E3:62:55
inet addr:10.0.0.80 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::213:2ff:fee3:6255/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41288 errors:0 dropped:0 overruns:0 frame:0
TX packets:34433 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43734181 (41.7 Mb) TX bytes:3447087 (3.2 Mb)
Here you can see some "smalltalk" among the 2 wifi cards trying to communicate as they used to, while i am pinging few internal IPs , on ad-hoc mode, captured with wireshark
[root@linuxnoob img]# more wireshark.txt
No. Time Source Destination Protocol Info
1 0.000000 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
2 2.001210 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
3 4.002363 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
4 8.004656 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
5 8.601396 10.0.0.2 10.0.0.255 UDP Source
port: cap Destination port: 34012
6 12.005972 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
7 14.007110 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
8 16.008337 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
9 18.009377 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
10 20.010670 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
11 24.011900 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
12 26.013181 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
13 28.014340 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
14 30.015431 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
15 32.016553 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
16 36.017843 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
17 38.019120 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
18 39.307796 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
19 40.020284 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
20 40.308620 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
21 41.308625 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
22 42.021538 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
23 43.308633 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
24 44.022570 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
25 44.308633 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
26 45.308633 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
27 47.308639 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
28 48.023537 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
29 48.308655 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
30 49.308639 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
31 50.024659 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
32 51.308638 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
33 52.025824 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
34 52.308654 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
35 53.308655 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
36 54.027032 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
37 55.308654 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
38 56.028157 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
39 56.308632 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
40 57.308619 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
41 59.308619 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
42 60.029692 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
43 60.308632 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
44 61.308631 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
45 62.030449 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
46 63.308631 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
47 64.031767 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
48 64.308631 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
49 65.308631 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
(goes on like that)........................
(and then: )
195 232.308601 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
196 233.308618 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
197 235.308616 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
198 236.308612 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
199 237.308614 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
200 239.308619 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
201 240.308601 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
202 241.308614 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
203 243.308599 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
204 244.308616 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
205 245.308614 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
206 246.071711 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
207 247.308027 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
208 248.072998 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
209 248.308614 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
210 249.308613 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
211 250.074091 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
212 251.308603 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
213 252.308613 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
214 253.308600 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
215 253.475345 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
216 254.076461 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
217 254.940336 10.0.0.2 10.0.0.255 UDP Source
port: cap Destination port: 34012
218 255.308616 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
219 255.312262 Cisco-Li_a1:0e:6e IntelCor_e3:62:55 ARP 10.0.0.
2 is at 00:16:b6:a1:0e:6e
220 255.312283 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
221 255.314913 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
222 256.307805 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
223 256.310879 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
224 256.944378 10.0.0.2 10.0.0.255 UDP Source
port: cap Destination port: 34012
225 257.311138 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
226 257.314227 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
227 258.078840 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
228 258.314458 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
229 258.317515 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
230 258.946757 10.0.0.2 10.0.0.255 UDP Source
port: cap Destination port: 34012
231 259.317802 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
232 259.320805 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
233 260.079732 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
234 260.321138 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
235 260.324194 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
236 260.947675 10.0.0.2 10.0.0.255 UDP Source
port: cap Destination port: 34012
237 261.324498 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
238 261.327488 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
239 262.080118 Cisco-Li_a1:0e:6e Spanning-tree-(for-bridges)_00 STP
Conf. TC + Root = 32768/02:16:b6:a1:0e:6e Cost = 0 Port = 0x8000
240 262.327853 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
241 262.330827 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
242 262.951065 10.0.0.2 10.0.0.255 UDP Source
port: cap Destination port: 34012
243 263.335070 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
244 263.337902 10.0.0.2 10.0.0.80 ICMP Echo (p
ing) reply
245 264.337863 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
246 265.337809 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
247 266.337801 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
248 266.824461 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
249 267.337809 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
250 267.824427 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
251 268.337805 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
252 268.824465 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
253 269.337804 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
254 270.340147 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
255 271.341130 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
256 271.828608 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
257 272.351133 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
258 272.828607 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
259 273.352327 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
260 273.831106 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
261 274.364472 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
262 275.364489 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
263 276.365453 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
264 276.831107 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
265 277.364488 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
266 277.831103 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
267 278.364521 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
268 278.831109 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
269 279.367846 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
270 280.377824 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
271 281.377818 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
272 281.834439 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
273 282.377888 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
274 282.834439 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
275 283.385304 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
276 283.834439 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
277 284.384551 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
278 285.384468 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
279 286.384486 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
280 286.841107 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
281 287.377769 IntelCor_e3:62:55 Cisco-Li_a1:0e:6e ARP Who has
10.0.0.2? Tell 10.0.0.80
282 287.384487 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
283 287.837774 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
284 288.377771 IntelCor_e3:62:55 Cisco-Li_a1:0e:6e ARP Who has
10.0.0.2? Tell 10.0.0.80
285 288.384714 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
286 288.841104 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
287 289.377770 IntelCor_e3:62:55 Cisco-Li_a1:0e:6e ARP Who has
10.0.0.2? Tell 10.0.0.80
288 289.384450 10.0.0.80 10.0.0.2 ICMP Echo (p
ing) request
289 290.387771 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
290 291.387772 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
291 291.841110 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
292 292.387774 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
293 292.841107 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
294 293.401103 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
295 293.841109 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
296 294.401105 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
297 295.401105 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
298 296.844437 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
299 297.414438 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
300 297.844438 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.20? Tell 10.0.0.80
301 298.414436 IntelCor_e3:62:55 Broadcast ARP Who has
10.0.0.2? Tell 10.0.0.80
Aha! somethng goes wrong at low level there. Only randomly the pings are echoed for 3 or 4 seconds, and then again my wifi card looses association and starts all over taking random time to reassociate.
As a side note, the hardware *did* work properly since it was operating flawlessly before last update, *AND* *does* work properly , since i can boot from my FaunOS usb stick , and get it work properly.This all seem strange to me. In case any of you can recognize wthere this is some sort of configuration problem, upstream code problem, or package problem i would be glad to hear it , as i have been trying to figure out what is going wrong for 5 days now.I havent yet tried managed more, but it is not an option for me at the moment.
Regards
IMGWell after getting tired trying out little things here and there with iwl3945/mac80211 and rc.conf et al. i gave ndiswrapper 1.52 a shot and it worked. Now i have my network back. So this reduces i guess the possibility for a script error causing this issue? So it is a iwl3945/mac80211 error? Should i file a bug for this somewhere with all the data i have in this thread and my braincells regarding this issue, since the suggested open source linux drivers dont work after upgrading to 2.26.6?
Enjoy
IMG
PS : with ndiswrapper and windows XP driver, i got my network up , issuing *exactly* the same commands i was trying with iwl3945/mac80211 combo.So this is saying something i think... -
ITunes Remote app on Ad Hoc network (Windows 7)
Is it possible to use the iTunes Remote to control a computer that is using a wireless card to create an "Ad Hoc" network. I plan on building a computer for storing my Apple Lossless files on a Windows 7 machine and using it strictly for playback as a standalone device. I will be pairing it with a USB DAC & Headphone amp combination.
I either need to buy a monitor (not wanting to do this) or find a way to be able to navigate my iTunes library from this machine without a screen (prefered). I will NOT have an internet connection at work where I will be using this, however I could purchase a wireless card to install in this itx machine to create an ad hoc network provided I could then use the iTunes Remote app to control playback and view albumn art, etc.
Is this setup possible, or am I chasing a dream?I have the same problem. How did you fix this?
Maybe you are looking for
-
I can no longer do keyboard shortcuts since latest update.
I am running Firefox 34.0.5 on a Windows 7 computer. Firefox updated the other day and I can no longer use my Edit keyboard shortcuts. (ie CTRL V etc) I read an article telling how to correct this with a Mac computer, how do you do it with a Windows
-
Dynamic comboBox in a dataGrid?
i have a dataGrid that starts out blank. When a button is clicked, it populates based on the contents of a few components. The 3rd column needs a comboBox. I need the following behaviors: 1-when the button is clicked, this populates with the text val
-
What was the last firmware version for the Zen Micro before M
I would like to know what was the last firmware version for the Zen Micro before the MTP firmware? Please make sure you are 00% on this. Thankyou.
-
I'm currently running a virus scan to eliminate foul play. I am also now getting some unsolicited web-pages opening in Safari which is concerning. Any suggestions please?
-
My animation presets in my Misc folder will not play.
My animation presets in my Misc folder will not play. The presets in all other files will play, but not the ones in the misc folder. Those are the ones I like to use. Everyhting is up to date. Tried everything suggested in other posts. Nothing w