BOM ECN extraction as PDX package
Hi ,
We are using CFO 4.5 and wanted to use PDX export / import functionality.
In SPRO - Specify Field mapping profile for PDX Package import and export, i can see two profiles as foll:-
0SAP_CFX and 0SAP_ECN
Any other configuration is required for extracting ECN and BOM in cFolders as PDX package?
I tried to export an ECN as PDX package , but was unable to open the file.. Any suggestions?
Regards
Aby
Hi,
the profile to export an ECN in cFolders is 0SAP_ECN, as you indicated.
The reason for an issue with opening the exported file can be for example:
1. You export data that is not completely populated, e.g. in an ECN, you have materials and MPNs where some of the fields mapped in the profile are not maintained. For this, please try to export an ECN without any linked objects first.
2. If above export was not successfull, there might be an issue with the default export profile, or the tool that you are using for opening the PDX package. Which tool is it?
If you send me the exported file, I can also analyze it quickly what went wrong.
Regards, Ulf.
Similar Messages
-
CFolder- Export BOM as a PDX package
Hi All,
I have uploaded the BOM through "Upload PDX Package" and now I m trying to export the same BOM.
But I am getting the following error.
"Internet Explorer can not download structure_version_export.htm"
What could be the reason for this behaviour?
Thanks
Yogesh PClosing the thread
-
Hi all,
We are having business requirement to upload the BOM and ECN to cFolder. I am trying to use the "Upload PDX package "functionality of cFolder as a solution.
I am doing the following steps to upload the pdx package.
1. Clicked on Upload PDX Package Tab.
2. In create object screen , I have selected the BOM.
3. I am getting only one XML profile in dropdown as "Export/Import of BOM-PDX Package (IPC-2571). I have not ticked the From cFolder document. and then clicked on "Continue".
4. I have browse the required file and clicked on "Save".
Explorer Pop ups the Error window message as " CFX_UI/NO_WRITE_AUTH".
Am I doing correctly or am I missing any configuration steps? Please help.
Thanks
Yogesh PHi Yogesh
U have to map the feilds before exporting the BOM and ECN to PDX package.
Regards
Prasad K -
Tried to install OS X Yosemite on my MacBook. Got message that it could not be installed on my computer due to error while extracting files from package "Essentials.pkg". When i quit the installer as recommended it goes in a loop and gets stuck.
Hey corrafromlondon,
Thanks for the question. After reviewing your post, it sounds like the installer file isn't working. Have you tried deleting the installer and redownloading the installer? I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
How to install OS X Yosemite on your Mac - Apple Support
you can find the Yosemite installer app in your Applications folder or Launchpad.
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
Extract specific data packages from PSA
Hi all,
When loading 20 million records from the PSA to the DSO, 50 000 records (in 6 different data packages) have not been loaded (we got a dump).
Now we want to do a delta load only containing these 50 000 records. Is it possible to choose exactly which data packages to extract to the DSO? Or do you have other ideas we could test?
Thank you.hai,
it is posible .u click the tab comes under dtp...first u click the dtp.under the delta u choose get data by request...after tat u load the data...so the data loaded package wise...if any one not loaded then only load that package only...
thanks.
prakasu. -
Hi experts,
If I want to extract the component details of a particular assembled product; just like how it shows up in PDS, where exactly can i get that info...
I mean, if I want to create a report that this particular assembled product has all this components, then, from where that data can be pulled....
Thanks for your answers...Hi
I think you can create a query based on /sapapo/curtowul and /sapapo/curtosnp tables in APO. To the best of my knowledge , i dont think there is a standard report in APo for this.
Please refer to this wiki
http://wiki.sdn.sap.com/wiki/display/SCM/SCMUsefulTables
It has the list of all SCM tables
Thanks
Aparna -
BOM Version in cFolders - Upload PDX
Hello Experts,
When we create BOM using "Upload PDX Package" in cFolders, then system creates only one version.
When we create BOM in cFolders by exporting it from SAP R3 system, then system creates two versions.
Why there is different behaviour of cFolders while creating BOM with above two functionalities?
Any comments/answer is welcome.
Thank you,
Yogesh PandeHi,
If your file name contains space, the file will not be uploaded into cFolder. Try a file without containing any space in name. Ther is a note available at service.sap.com, Once you implement this note your problem wille gone.
regards,
T T Subudhi -
Addtional Attribute - cFolder PDX
Hi All,
In SPRO -cFolders- Seetings for cFolders Import and Export- Specify Field mapping profile for PDX package Import /Epxort,
while trying to create Additioanl attribute in XML Profile for BOM, its throwing an ABAP dump while saving this..
The error summary is
Short text |
Invalid subfield access: Offset too large
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTRD_CUS_ORIG" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
caught in
procedure "TRINT_EC_CUST_ORIG_LANG" "(FUNCTION)", 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:
In the running program "SAPLSTRD_CUS_ORIG", the field "LS_TABKEY-TABKEY" of the
type
"C" and length 120 was to be accessed with the offset 133.
However, subfield accesses with an offset specification that is not
| smaller than the field length are not permitted.
What could be the reason?
Regards,
Aby
Edited by: Aby Thomas on May 25, 2010 2:34 PMResolved. Corrections done with note 1306440
-
I have a brand new HP laptop windows 64bit that is having issues installing Itunes 10.6.3. Whenever attempting to install, I get the error message : "THERE IS A PROBLEM WITH THE WINDOWS INSTALLER PACKAGE. A PROGRAM REQUIRED FOR THIS INSTALL TO COMPLETE COULD NOT BE RUN CONTACT YOUR SUPPORT PERSONNEL OR PACKAGE VENDOR." I thought this was an issue with the new version, and attempted to retrieve/install older versions of Itunes and same issue occurs. I have tried other forums and resolution tips from : https://discussions.apple.com/docs/DOC-3551 and nothing still. It appears that apple installs bonjour and nothing else. I have tried extracting the itunes package and installing the executables seperately, but everytime the error stil arises. I cannot repair the apple software update as it cannot install from the error mentioned above. Looking through the logs, it shows error : 1721, problem with windows installer package.Does anyone have any suggestions on what to try?
There are so many different error and problems peopl are having.
This is a link to mine
https://discussions.apple.com/thread/3467825
I think it has to be something on Apples end.
Hopefully they fix it soon. Ive used a few GB redownloading and Im going crazy
hope this settles you a bit -
Duplicate value in Command extract report
Hi Experts
I am getting a duplicate record when extracting the BOM which is so called Material Extract in my words
when running the report I am getting the duplicate value for the cost estimate. near the form extract_bom_details under select queries
Can anyone help me why I am getting so by seeing the coding please.
TYPES:
BEGIN OF ty_bom,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " Plant
stprs(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 MARC-MATNR, " Material #
werks TYPE MARC-WERKS, " Plant
stprs TYPE MBEW-STPRS, " Quantity
meins TYPE MARA-MEINS, " Unit of Measure
END OF ty_bom_sapfmt.
Report COMMAND_EXTRACT_D *
REPORT command_extract_d .
*CLASS cl_gui_control DEFINITION LOAD.
*CLASS cl_gui_frontend_services DEFINITION LOAD.
Tables
TABLES:
kna1,
knb1,
knvv,
mara,
mast, "JPC20061107
marc,
makt,mbew,
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
stprs(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 MARC-MATNR, " Material #
werks TYPE MARC-WERKS, " Plant
stprs TYPE MBEW-STPRS, " Quantity
meins TYPE MARA-MEINS, " Unit of Measure
END OF ty_bom_sapfmt.
Selection screen definition
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.
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.
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_bom_details
text
--> p1 text
<-- p2 text
FORM extract_bom_details.
select MARAMATNR MBEWBWKEY MBEWSTPRS MARAMEINS "JPC20061220
into lwa_bom
from ( MARAV AS MARA
inner join MARC
ON MARAMATNR = MARCMATNR
INNER join MBEW
ON MARCMATNR = MBEWMATNR
AND MARCWERKS = MBEWBWKEY
where MARA~MATNR in s_bmatnr
and MBEW~BWKEY in s_bwerks
and MARA~EXTWG in s_bextwg.
clear lit_bom.
WRITE lwa_bom-matnr TO lit_bom-matnr.
MOVE lwa_bom-werks TO lit_bom-werks.
MOVE: lwa_bom-stprs TO lit_bom-stprs,
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
output with duplicate values
MARA BWKEY STPRS MEINS
10004989 BN01 28.00 TO
10004989 BN01 28.00 TO
10005010 BN01 19.00 EA
10005010 BN01 19.00 EA
10005018 BN01 800.00 BAG
10005018 BN01 800.00 BAG
10005115 BN01 82.74 TO
10005115 BN01 82.74 TO
10005117 BN01 137.30 TO
10005117 BN01 137.30 TO
Regards
PirozHi,
Use this statement then duplicate entries removed.
DELETE ADJACENT DUPLICATES FROM table-field.
regards,
Lakshminarayana -
Getting ora-04030 out of process memory using utl_http package
Hi,
Using oracle db v9 on aix. I run an extract (pl/sql package) which processes about 50,000 records. When processing gets to about record 45,500 ora 04030 error is reported when calling utl_http.get response or utl_http.read_text. Only have this problem after about 45500 records prcoessed.
Can anybody help?donl wrote:
Hi,
Using oracle db v9 on aix. I run an extract (pl/sql package) which processes about 50,000 records. When processing gets to about record 45,500 ora 04030 error is reported when calling utl_http.get response or utl_http.read_text. Only have this problem after about 45500 records prcoessed.
Can anybody help?04030, 00000, "out of process memory when trying to allocate %s bytes (%s,%s)"
// *Cause: Operating system process private memory was exhausted.
// *Action:
[oracle@localhost ~]$ -
Netinstall package installation fails
I've been struggling with Netinstall and Netrestore for a few days, and I'm hoping someone can tell me what I'm doing wrong.
I'm trying to use a customized NetInstall image to install Snow Leopard and some additional software on client machines. The OS installs successfully, but it fails while installing one of the additional packages.
Here's my image creation workflow from Automator:
1) Define image source (Snow Leopard retail DVD)
2) Add Packages and Post-Install Scripts: Includes packages for Audacity (made with Package Maker), Microsoft Remote Desktop and Microsoft Office 2008
3) Customize Package Selection: Using primarily to have the image skip the non-English language translations.
4) Apply System Configuration Settings: Used to connect the computer to Active Directory, generate a unique computer name and change ByHost preferences. The installation doesn't seem to get to this point.
5) Create Image
Automator says the workflow completed, and it does boot successfully from my 10.6.2 server.
The hangup seems to be happening when it installs Audacity. The only thing the install package does is put a folder in /Applications with a small number of files in it. The folder and files are created, but nothing after that point runs.
I saved the installation log, and I noticed something in the last few lines that seems to indicate that the Audacity package is the problem. Is there anything I can do that will make it continue beyond this point?
Here are the last few lines of the installation log:
Feb 24 06:24:35 localhost OSInstaller[150]: PackageKit: ----- Begin install -----
Feb 24 06:24:35 localhost OSInstaller[150]: PackageKit: request=PKInstallRequest <1 packages, destination=/Volumes/Test>
*Feb 24 06:24:35 localhost OSInstaller[150]: PackageKit: packages=(\n "PKJaguarPackage <file://localhost/System/Installation/Packages/Audacity.pkg>"\n)*
*Feb 24 06:24:36 localhost OSInstaller[150]: Failed to open resource at path (null)*
Feb 24 06:24:36 localhost OSInstaller[150]: Allowing machine sleep.
Feb 24 06:24:36 localhost OSInstaller[150]: Memory statistics for 'Install Succeeded' pane:
Feb 24 06:24:36 localhost OSInstaller[150]: Physical Memory Allocation: 178 MB wired, 4 MB trapped, 882 MB active, 14 MB inactive, 458 MB free, 1354 MB usable, 1536 MB total
Feb 24 06:24:38 localhost OSInstaller[150]: PackageKit: Extracting /System/Installation/Packages/Audacity.pkg/Contents/Archive.pax.gz (destination=/Volumes/Test/Install.150qAiaGH/PKInstallSandbox-tmp/Root, uid=0)
Feb 24 06:24:40 localhost OSInstaller[150]: PackageKit: Shoving /Volumes/Test/Install.150qAiaGH/PKInstallSandbox-tmp/Root (1 items) to /Volumes/Test
Feb 24 06:24:40 localhost OSInstaller[150]: PackageKit: Registered bundle file://localhost/Volumes/Test/Applications/Audacity/Audacity.app/
Feb 24 06:24:40 localhost OSInstaller[150]: Installed "Mac OS X" ()
Feb 24 06:24:40 localhost OSInstaller[150]: PackageKit: ----- End install -----
Feb 24 06:24:41 localhost OSInstaller[150]: Removing temporary directory "/Volumes/Test/Install.150qAiaGH"
Feb 24 06:24:41 localhost OSInstaller[150]: Finalize disk "Test"
Feb 24 06:24:41 localhost OSInstaller[150]: Notifying system of updated components
Feb 24 06:25:13 localhost Unknown[91]: 2010-02-24 06:25 Mac OS X Installer[150] (CarbonCore.framework) FSEventStreamStart: ERROR: FSEvents_connect() => Unknown service name (1102)Yes, that's a tough one to get around. If you don't mind hacking SIU a little the best fix is to edit the script:
/Applications/Server/System\ Image\ Utility.app/Contents/Library/Automator/Create\ Image.action/Contents/Resources/createNetRestore.sh
and change the line that reads:
/usr/bin/hdiutil create "$destPath/System" -srcfolder "${sourceVol}" -uid 0 -gid 80 -mode 1775 -ov -puppetstrings || exit 1
to:
/usr/bin/hdiutil create "$destPath/System" -srcfolder "${sourceVol}" -fsargs "-c a=16384,c=8192,e=1280" -uid 0 -gid 80 -mode 1775 -ov -puppetstrings || exit 1
i.e. add '-fsargs "-c a=16384,c=8192,e=1280"' before the -uid -
TSV_TNEW_PAGE_ALLOC_FAILED during extraction
Hi Experts,
during extraction I receive TSV_TNEW_PAGE_ALLOC_FAILED short dump.
More information from ST22:
The internal table "\PROGRAM=AQZZSYSTBWGENER0SY000000000022\DATA=%DTAB[]" could
not be further extended. To enable
error handling, the table had to be delete before this log was written.
As a result, the table is displayed further down or, if you branch to
the ABAP Debugger, with 0 rows.
At the time of the termination, the following data was determined for
the relevant internal table:
Memory location: "Session memory"
Row width: 2020
Number of rows: 921272
Allocated rows: 921272
Newly requested rows: 8 (in 1 blocks)
The amount of storage space (in bytes) filled at termination time was:
Roll area...................... 6216720
Extended memory (EM)........... 1001373672
Assigned memory (HEAP)......... 2000087232
Short area..................... " "
Paging area.................... 32768
Maximum address space.......... 18446744054030015328
So it seems that there is a memory problem cause of the big amount of data (around 1.200.000 records at all should be transferred).
I already split up the number of parallel processes and maximum lines in ta-code SBIW. This made the process faster but still the short dump appears.
This is the initial data extraction and all records have to be transferred. Is there any possibility in splitting up an initial data extraction in several packages? It's based on a generic extractor which get's data through InfoSet/ABAP FM.
Many thanks in advance.
Best regards
TobiasWell, we are talking about the initialization only, hence I dont think the necessity of creating several process chains .. Say you can create multiple infopackages .. with non overlapping selection criteria ..
Example ..
Calendar year :- 2008
Calendar Year :- 2009
so on ..
And they can be loaded manually !!
once all the init selections are done .. you just need a single infopackage for delta loading which will actually load the delta records for all the successful init conditions ..
Hope that helps ..
Thanks. -
Prestage package status not updating on the server
I have been successful in extracting other prestage packages on DP but for 2 packages, it extract them fine as per the logs and sends the status to the MP as well but the server doesnt reflect the updated status.
prestagecontent.log shows the following
Management Point: 'http://<MP Name>'
Site Code: '<Sitecode>' PrestageContent
DP server: '<DP server name>'
NAL Path: ["Display=\\<DP server name>\"]MSWNET:["SMS_SITE=<sitecode>"]\\<DP server name>\' PrestageContent
Set authenticator in transport PrestageContent
Sent <packageID> package state message to site
End ====
What could be the reason, i have tried to recopy the packages from the original source and tried extracting 2-3 times
using the extraction switch "/f" as well but didnt reflect the status.
Prestage option is already checked.Distmgr.log has the below entries although they were not in red
Will reject STA for DP ["Display=\\DP server name\"]MSWNET:["SMS_SITE=SITE CODE"]\\DP server name\ as it does not exist in the PkgServers table SMS_DISTRIBUTION_MANAGER
7/4/2014 10:07:50 AM 6180 (0x1824)
Will not process this invalid package status file from remote DP ["Display=\\DP server name\"]MSWNET:["SMS_SITE=SITE CODE"]\\DP server name\, delete C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\EAKYPGEC.STA
SMS_DISTRIBUTION_MANAGER 7/4/2014 10:07:50 AM 6180 (0x1824)
STATMSG: ID=2354 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=Primary server name SITE=SITE CODE PID=7420 TID=6180 GMTDATE=Fri Jul 04 04:37:50.055 2014 ISTR0="C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\EAKYPGEC.STA"
ISTR1="["Display=\\DP server name\"]MSWNET:["SMS_SITE=SITE CODE"]\\DP server name\" ISTR2="SITE CODE001C5" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="SITE CODE001C5" AID1=404 AVAL1="["Display=\\DP server name\"]MSWNET:["SMS_SITE=SITE
CODE"]\\DP server name\" SMS_DISTRIBUTION_MANAGER 7/4/2014 10:07:50 AM 6180 (0x1824)
Successfully delete package status file C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\EAKYPGEC.STA SMS_DISTRIBUTION_MANAGER
7/4/2014 10:07:50 AM 6180 (0x1824)
There are no entries in pkgxfermgr.log -
Business Package Implementation
hi,
i have installed the portal. i have uploaded a business package for CRM. the integration settings are done.
when i try to view the business package i am able to see the display but i am not able to get any data from the CRM system.
please guide what to do...
thanks,
udayHi Uday
Read the business package installation guide which you can download from following link.
http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000065927
The name of the guide is
Business Package SAP CRM 4.0 50.2 (60.2) Installation (en)
Read the PAGE 13-14 of the guide. You need to activate CRM
Context Service. I am pasting you the text from the guide.
To activate the CRM Context Service, proceed as follows:
1. Rename the file com.sap.pct.crm.AdditionalDeployment.par to
com.sap.pct.crm.AdditionalDeployment.zip and extract the file into a new directory <TargetDirectory>. This file is in the directory to which you extracted the Business Package for CRM 4.0.
2. Rename the file com.sap.pct.crm.crmcontext.zar in the directory < TargetDirectory > to
com.sap.pct.crm.crmcontext.par.
3. Rename the file com.sap.pct.crm.crmkmext.zar in the directory < TargetDirectory > to
com.sap.pct.crm.crmkmext.par.
4. Start the Enterprise Portal with the following URL and log in with a user administrator rights:
http://<SERVER>:<PORT>/irj/servlet/prt/portal/prtroot/PortalAnywhere.Go
5. Go to com.sap.portal.runtime.system.console, ArchiveUploader and select GO.
6. Select the file com.sap.pct.crm.crmcontext.par and select Upload.
7. Select the file com.sap.pct.crm.crmkmext.par and select Upload.
8. Restart the J2EE server.
Regards
Rajeev.
Maybe you are looking for
-
Hi I am new to mac and own a macbook running 10.5.7 os x leopard but for the life of me cannot get the inbuilt isight camera working. I have tried everything and looked up things but havent a clue. I have done a shift control reset thing ...no luck..
-
Document Change - Change in assignment field
Hi There are 1350 documents. In all these documents, i need to change assignment field for one line item (and not all line items). I need to put WBS elements in this assignment field. I cannot do manually for 1350 documents. Also i cannot go for mas
-
I have a Tabbed form. Currently people choose which tab they want and then it's populated with the particular data from main form. I would like to hide the tabs and make push buttons to call the particular Tab and then hide it again when they push th
-
System Preferences crashes on launch
My System Preferences is crashing every time I launch. Restarting and running Disk Utility from my Mac OSX install DVD hasn't helped. I could copy/paste the crash report I'm getting, but it looks a bit large...
-
Full GC bug with JVM 1.5.0
Hi people, Since we switched from JRE 1.5.0_08 to 1.5.0_11_64, we are encountering application freezes due to infinite full GC loops. Sun mentionned this runtime problem as bug 6545719 (*http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6545719*) si