cancel
Showing results for 
Search instead for 
Did you mean: 

cFolder BOM Export:BOM usage issue

0 Kudos

Hi All,

I am currently working for a project which implement the cFolder functionality.

the main function is to export the BOM information from the backend system to the cFolder specific folder.

I got an issue when I calll the transaction:CFE02

the steps:

1. a new BOM usage of service is created in SPRO

2. a new BOM with BOM usage: S is created

3. Call trasaction:CFE02 and specific folder name

4. Consistency check and get green light

5. Click" copy object" button, a red light received.

the error message: Invalid value '9' has been entered for attribute 'BOM_Usage' in namespace ''. Ask your system administrator to add value '9' to the list of values allowed for this attribute."

Message no. CFX_BI_RI_MSG1302

6. check the cfolder specific folder: all the header material and BOM item material numbers are there, however, single click the BOM header, the content of this BOM is empty.

Does anyone could give me some hint to solve this issue? thanks a lot!

BR

Francis

Accepted Solutions (0)

Answers (1)

Answers (1)

ulf_petzel
Advisor
Advisor
0 Kudos

Hi,

the issue is that you have come up with a new BOM usage. This usage needs to be made available in the BOM configuration related xml file structure_Attributes.xml on the cFolders WebDAV directory.

See below:

<?xml version="1.0" encoding="utf-8"?>

<Attributes xmlns="http://www.sap.com/2002/abap/cfx_folders/customizing/attributes">

  <Attribute EntryRequired="false" ID="Plant" Namespace="" ReadOnly="true">

    <Label Alias="CFX_UI/PLANT" Default=""/>

    <AllowedValues>

  </AllowedValues>

  </Attribute>

  <Attribute EntryRequired="true" ID="BOM_Usage" Namespace="" ReadOnly="true">

    <Label Alias="CFX_UI/BOM_USAGE" Default=""/>

    <AllowedValues>

      <AllowedValue Alias="CFX_UI/PRODUCTION" ID="1"/>

      <AllowedValue Alias="CFX_UI/ENGINEERING_DESIGN" ID="2"/>

      <AllowedValue Alias="CFX_UI/UNIVERSAL" ID="3"/>

      <AllowedValue Alias="CFX_UI/PLANT_MAINTENANCE" ID="4"/>

      <AllowedValue Alias="CFX_UI/SALES_DISTRIBUTION" ID="5"/>

      <AllowedValue Alias="CFX_UI/COSTING" ID="6"/>

      <AllowedValue Alias="CFX_UI/RETURNABLE_PACKAGING" ID="7"/>

      <AllowedValue Alias="" ID="9"/>

    </AllowedValues>

  </Attribute>

  <Attribute EntryRequired="true" ID="BaseQuantity" Namespace="" ReadOnly="false">

    <Label Alias="CFX_UI/BASE_QUANTITY" Default=""/>

  </Attribute>

  <Attribute EntryRequired="true" ID="BOM_Status" Namespace="" ReadOnly="false">

    <Label Alias="CFX_UI/BOM_STATUS" Default=""/>

    <AllowedValues>

      <AllowedValue Alias="CFX_UI/ACTIVE" ID="01"/>

      <AllowedValue Alias="CFX_UI/INACTIVE" ID="02"/>

      <AllowedValue Alias="CFX_UI/ACTIVE_HIST_REQ" ID="03"/>

    </AllowedValues>

  </Attribute>

  <Attribute EntryRequired="false" ID="AuthorizationGroup" Namespace="" ReadOnly="false">

    <Label Alias="CFX_UI/AUTHORIZATION_GROUP" Default=""/>

  </Attribute>

  <Attribute EntryRequired="false" ID="LaboratoryDesignOffice" Namespace="" ReadOnly="false">

    <Label Alias="CFX_UI/LABORATORY_DESIGN_OFFICE" Default=""/>

  </Attribute>

</Attributes>

I already added the entry you need (obviously you could also define an Alias to pull in the correct BOM usage name). Wonder how your ERP Customizing for your new BOM usage looks like. Is it "S" or "9"? I used 9 now as this is the error message you get.

Ulf.

0 Kudos

Dear Ulf,

Thank you so much for your quick response!

The SPRO configuration is mainly take the BOM usage=engineering as a copy, no change of any default setting and a new BOM usage=9(not S) is created.

Meanwhile, how can I setup "xml file structure_Attributes.xml on the cFolders WebDAV directory"?

Do you have any guide on this topic?

BR

Francis

ulf_petzel
Advisor
Advisor
0 Kudos

Hi Ulf,

My Basis follow this document's steps and get a dummy screenshot.

My setting of cFolder: the CPRXPRM enhancement package is already updated to SP05.

the plateform is Ecc 6.0 Ehp 606. Do you have any ider?

Thanks a lot!

BR

Francis

ulf_petzel
Advisor
Advisor
0 Kudos

Hi,

what is this dummy screenshot about?

WebDAV connectivity (in order to maintain the xml file) is done through mapping of the URL to the WebDAV directory as e.g. a drive on the desktop.

Ulf.

0 Kudos

HI Ulf,

My steps are:

1. key in transaction: SICF; Hierarchy type=Service;Execute

2. go to Virtuell Hosts/ Service: Default_host_SAP_BC_KW_CFS. Single click cfs button and right click your mouse, choose "Test service".

3. an IE window is popup with dummy screen.

the details please refer to my screeshot as below, thanks.

BR

Francis

ulf_petzel
Advisor
Advisor
0 Kudos

Hi,

sorry I can't help. Please proceed with all the steps in the guide, and check any relevant notes. If you don't achieve what you are trying to achieve, please raise a customer message.

Ulf.

0 Kudos

Hi Ulf,

I have already solved this issue.

The Basis helps me to upgread the release version of CPRXRPM to 500_702, the web test address issue is fixed.

Regarding the configuration of cFolder setup, the following steps are important:

1.  Before you inatll the program"xPortalDrive64.exe",  you have to check your region in windows control pannel-region and languge=English(USA).

2. Install the Java releated program which mention when you execute "xPortalDrive64.exe" during the installation.

3. Configuration of your "SAP Netweaver Portal Drive"

4. Open your Computer, a new network is appear

5. Run CFE02 and export one of the BOM into your cFolder.

6. Access  the new network and start configure the XML file, open with notepad.

Finally, this issue is CLOSED.

Thanks

BR

Francis

ulf_petzel
Advisor
Advisor
0 Kudos

Hi,

cool, thanks for letting me know. Glad you fixed it.

Please close the question as "Answered".

Thanks, Ulf.

0 Kudos

Done! Wish you nice weekend!