How to populate item category tree with UNSPSC codes?
I have created an application engine to read a UNSPSC code csv file and execute a component interface to load the item categories. I am having a problem updating the tree we use in ePro. Do I need to set up something before I run this? It looks like you can't add nodes if the category doesn't exist and you can't add categories to the tree if the node doesn't exist. We do not have Catalog Management installed.
Edited by: jbelanger on Aug 4, 2010 8:23 AM
Dear Friend,
I am new to the iProcurement functionality of mapping UNSPSC code to Item Category Flex field Segments.
Please help me how this functionality works.
Does Oracle provide any standard way to map the codes to flex field.
Do we need a customization.
Any useful documentation will be really helpful.
Thanks in advance
Pandurang Joshi
Similar Messages
-
How to assign item category group with item category
hi SAP gurus,
i want to know how sales item category(e.g. TAN) are assigned to a item category gorup (e.g.NORM). because with Material type we assign item category grp and according to that in sales order it find the suitable item category.
Regards,
BKRDear,
Item cat. is determined by:
Order Type + Item Cat Grp + Usage + Higher Lvl Item Cat
Order Type: QT/OR/...
Item Cat Grp: from material master mm03 sales view
Usage: normally 'blank'
Higher Lvl Item Cat.: use when BOM explosion is involved
See tcode: VOV4 for details.
Ken -
WD(ABAP) - how to populate items in itemlistbox
Is there any reference about how to populate items in Itemlistbox? I have tried to bind a context node with cardinality 1..n and Selection 0..n to the datasource of a itemlistbox element. The node contains two attributes jy and jy_text representing value and text repectively. I assign some sets of data to the attributes and finally bind the table to the node. But it doesn't display anything in the itemlistbox at runtime. Does anyone have idea?
My code is like this:
=====================
DATA:
NODE_HEAD TYPE REF TO IF_WD_CONTEXT_NODE,
NODE_JY_LIST TYPE REF TO IF_WD_CONTEXT_NODE,
ELEM_JY_LIST TYPE REF TO IF_WD_CONTEXT_ELEMENT,
STRU_JY_LIST TYPE IF_MAIN=>ELEMENT_JY_LIST,
tb_jy_list like table of STRU_JY_LIST,
tb_is type table of v_tb038a_std,
st_is type v_tb038a_std.
* navigate from <CONTEXT> to <HEAD> via lead selection
NODE_HEAD = WD_CONTEXT->GET_CHILD_NODE( NAME = `HEAD` ).
* navigate from <HEAD> to <JY_LIST> via lead selection
NODE_JY_LIST = NODE_HEAD->GET_CHILD_NODE( NAME = `JY_LIST` ).
select ind_sector text into CORRESPONDING FIELDS OF TABLE tb_is from V_TB038A_STD where SPRAS = '1'.
LOOP AT tb_is into st_is.
STRU_JY_LIST-jy = st_is-ind_sector.
STRU_JY_LIST-jy_text = st_is-text.
insert STRU_JY_LIST into TABLE tb_jy_list.
ENDLOOP.
NODE_JY_LIST->bind_table( tb_jy_list ).
Message was edited by: Fred ZhouHi Fred,
You should check the following:
The text property of the listbox should bind to the text attribute of your context node.
Regina -
How can I search the tree with a given string?
How can I search the tree with a given string?
I don't find any function like "search(...)".
I want to find the tree nodes which include the given string.
Thanks.Try it with .com instead of .ca - fixes it for me (corporate firewall blocks .ca here)
http://spendolini.blogspot.com/2013/09/working-with-apex-tree.html
Anyway - it links to an article of mine which describes interacting with the tree: Tom's Blog: Working with the tree in Apex. There is also a demo application on apex.oracle.com: http://apex.oracle.com/pls/apex/f?p=54687:38 -
How to create item wise invoice with reference to sales order.
Hi ,
Please let me know how to create item wise invoice with reference to sales order.
Ex : Sales order has 2 line items .
When creating invoice system should create two invoices for each line items.
I have tried with copy control but I am not able to do it.
Please advise.
RegardsHi,
Please let us know your exact requirement. Whether you want it to be fixed like only one line item to be billed every time ot it to be based on selection you do every time.
As per my understanding it should not be fixed and in that case it should like as follows,
In VF01 you will select Del. document/S.O. number and click on selection list and will take you to next screen as mention below,
and select desire line item to be billed and click on copy and will take you to billing screen.
Regards,
Ajit K Singh -
How do I lock an archive with a code?
How do I lock an archive with a code?
You can't. All you can do is create an encrypted disk image, mount it, and copy the archive to it.
-
I had to wipe out my laptop, I am waiting to get my serial number back. I need to know how I download Logic Pro 9 with the codes I already have.
If you bought the boxed set of Logic Studio 2.0 which includes LP9, then you cannot download it. You must use the disks that came as part of the boxed set... to install from.
If you bought the App Store version of Logic Pro 9 then go to the Mac App Store App, Sign into the Store using the same Apple ID you used to purchase LP originally, look under the Purchase Tab and you shouldl find LP9 ready and waiting for you to download and install. -
How to lock nokia 2700 keypad with a code
How do i lock my phone with a code?
@talarms
Unfortunately not the only user to record such issues:/t5/Eseries-and-Communicators/Nokia-E7-and-sync-with-MacBook-Pro/m-p/1320699/highlight/true#M102482
This post is too early to refer to Belle update but rather Anna one, although whether any of the principles apply now:http://discussions.nokia.co.in/t5/PC-and-Mac-Software/Nokia-N8-and-iSync-synching-problems/m-p/12865...
Happy to have helped forum with a Support Ratio = 42.5 -
Item category determination with ref to price conditions in contract
Hi Gurus,
I have the following requirement from my client.
They need the item category ZNSM populated when creating the sales order ZOR8 with reference to quantity contract ZCQ1 when the pricing condition type is ZPG6 or ZPFL.For this they are asking to change in copy control.The pricing condition is on the contract.Since the sales order is created with reference to the contract you should be able to use the pricing condition to change the item category.
Please let me know whether this requirement can be met by making the changes to copy control.
Regards,
Hari Challa.Hi,
If you want to populate particular item category for particular sales order, then go ot VOV4 item category determination and enter the value for
Sales Doc. type + Item category group + Higher levl item cate. (if any) + Usage (if any)
But if you want to populate this item category when condition type is ZPG6 / ZPFL in the contract, then i think you need to write some program with the help of ABAPer for routine in copying control
Hope it helps you
regards,
Sagar -
How to use item category group for pricing?
Hi,
how can I use the item category group to carry out pricing?
I want to determine a condition type for item category group DIEN only and no other.
Thanks for help!
FlorianHi Florian Preuss,
You should follow the next steps:
1. Check if the item category group field exist in the pricing catalog to choose it as a field in a table condition, if it doesn't exist (I don't believe that), you should contact to a technical person (ABAP) to add it to the structure KOMPAZ.
2. Create a condition table with this field (item category group) and others that you need to determine the condition.
3. Create an access sequence with this condition table.
4. Create a condition type and assign it the access sequence.
5. Add the condition to pricing procedure.
6.. Enjoy it.
Thanks in advance,
Mariano. -
How to build a BIG TREE with Tree-Form layout
Hi,
I do have a self-referenced table with our org structure - 15 000 positions.
I do want to create a tree with this structure.
Requirements :
a, to have a tree-form layout
b, to have search capabilities
I have tried to use several combinations (maybe all)
- from using only one View object and create recursive tree - doesn't even run
- to use two View objects, first as top level nodes, the other as the rest - it runs
but I can search only top level, and what is worse, by clicking on the node for showing additional information (tree-form layout) I'm waiting for ages for seeing the info
(it seems that all records are loaded one by one into AS)
Could you provide some ideas how to deal with this ?
Thanks.I am sorry, this is beyond the scope of this forum.
As with any functionality not directly provided by JHeadstart, you can build it yourself using the ADF design time tools in JDeveloper. Please use the JDeveloper forum for help on this first step.
Then, to keep your pages generatable you can move these customizations to custom templates. We are happy to help you with this last step, should you have problems there.
Steven Davelaar,
JHeadstart Team. -
Urgent - How to change Item category for Open Purchase Order
Hi Team,
Lil bit tricky issue.
My client has asked us to change the existing Item Category values, Combinations, Category Set etc. Its been changed and uploaded successfully.
The question here is how we need to handle the category for Open Purchase Order. How to update the same.
Do we need to do manually or any other way ?
Please advice
Regarads,
JohnHi John,
This is reallly a tricky issue!
I guess you cannot change the category of an existing PO's.
This field will be greyed out once we save the form...there were no profiles/other setups to enable this field.
For all new PO's since you have changed the new category value that should not be a issue.
Lets wait for some of our colleuges opinion.
I guess PO cancel should be the final option if we dont hear any new work arounds.
Thanks
-Arif. -
How to populate internal table field with text data?
Hello Experts,
I was able to load text file to a internal table but data is not populating each field. Can someone help me how to populate each field of internal table from text file?
Here is the text file:
io_name, io_type, io_txsht, io_txlng, io_datatype, io_length
ZEA_IO1, CHA, IO Test, IO Test 1, CHAR, 20
ZEA_IO2, CHA, IO Test, IO Test 2, CHAR, 20
Here is the Code:
*& Report ZAS_BAPI_TEST *
*& InfoObject Creation through BAPI.
*& Read the Text file, call a BAPI to create InfoObjects. *
*& Text file will hold the Info Object Structure. Text file will be *
*& located either work station or local PC.
*& Step 1. Create internal table to hold InfoObject structure *
*& Step 2. Retrieve/Load text file into Internal Table structure *
*& Step 3. Call BAPI Function to Create IO *
*& Step 4. Call BAPI Function to Activate IO *
REPORT ZAS_BAPI_TEST .
Make data separator a comma
CONSTANTS: gc_tab TYPE c VALUE ','.
Declaring Internal table for creating InfoObject
DATA: p_file TYPE string.
DATA: BEGIN OF itab-bapi OCCURS 0,
io_name like BAPI6108-infoobject,
io_type like BAPI6108-type,
io_txsht like BAPI6108-textshort,
io_txlng like BAPI6108-textlong,
io_datatype like BAPI6108-datatp,
io_length like BAPI6108-intlen,
END OF itab-bapi.
DATA ibapi LIKE STANDARD TABLE OF itab-bapi.
PARAMETERS: sel_file(1500) TYPE c default ' ' OBLIGATORY LOWER CASE.
PUT THE TEXT FILE PATH TO P_FILE
p_file = sel_file.
Copy the file from the workstation to the server ****
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = SPACE
HEADER_LENGTH = 0
DAT_MODE = SPACE
CODEPAGE = SPACE
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
READ_BY_LINE = 'X'
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = itab-bapi[]
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
MESSAGE e012(zea_spms) WITH 'Method' 'GUI_UPLOAD' sy-subrc.
&1 &2 issued return code &3
ELSE.
pit_data[] = lit_data[].
ENDIF.
ENDIF.
loop at itab-bapi.
write: /5 itab-bapi-io_name,
20 itab-bapi-io_type,
30 itab-bapi-io_txsht,
50 itab-bapi-io_txlng,
75 itab-bapi-io_datatype,
85 itab-bapi-io_length.
endloop.
SELECT THE LOCATION FOR TEXT FILE
AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = ''
def_path = 'C:\'
mask = ',Documentos de texto (*.txt), *.txt.'
mode = ''
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
find '.txt' IN p_file.
if sy-subrc <> 0.
concatenate p_file '.txt' into sel_file.
else.
sel_file = p_file.
endif.
Create InfoObject through BAPI Function
*CALL FUNCTION 'BAPI_IOBJ_CREATE'.
*IMPORTING
VALUE(DETAILS) LIKE BAPI6108 STRUCTURE BAPI6108
*EXPORTING
VALUE(INFOOBJECT) LIKE BAPI6108-INFOOBJECT
VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
TABLES
COMPOUNDS STRUCTURE BAPI6108CM OPTIONAL
ATTRIBUTES STRUCTURE BAPI6108AT OPTIONAL
NAVIGATIONATTRIBUTES STRUCTURE BAPI6108AN OPTIONAL
ATRNAVINFOPROVIDER STRUCTURE BAPI6108NP OPTIONAL
HIERARCHYCHARACTERISTICS STRUCTURE BAPI6108HC OPTIONAL
ELIMINATION STRUCTURE BAPI6108IE OPTIONAL
RETURNTABLE STRUCTURE BAPIRET2 OPTIONAL
Activate InfoObject through BAPI Function
CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
*ENDFORM. " RETRIEVE_DATASET
I appreciate your help.
Regards,
MauI have used tab delimited file.
Here are file contents
io_name io_type io_txsht io_txlng io_datatype io_length
ZEA_IO1 CHA IO Test IO Test 1 CHAR 20
ZEA_IO2 CHA IO Test IO Test 2 CHAR 20
And here is program used
*& Report ZAS_BAPI_TEST *
*& InfoObject Creation through BAPI.
*& Read the Text file, call a BAPI to create InfoObjects. *
*& Text file will hold the Info Object Structure. Text file will be *
*& located either work station or local PC.
*& Step 1. Create internal table to hold InfoObject structure *
*& Step 2. Retrieve/Load text file into Internal Table structure *
*& Step 3. Call BAPI Function to Create IO *
*& Step 4. Call BAPI Function to Activate IO *
REPORT ZAS_BAPI_TEST .
Make data separator a comma
CONSTANTS: gc_tab TYPE c VALUE ','.
Declaring Internal table for creating InfoObject
DATA: p_file TYPE string.
DATA: BEGIN OF itab-bapi OCCURS 0,
io_name like BAPI6108-infoobject,
io_type like BAPI6108-type,
io_txsht like BAPI6108-textshort,
io_txlng like BAPI6108-textlong,
io_datatype like BAPI6108-datatp,
io_length like BAPI6108-intlen,
END OF itab-bapi.
DATA ibapi LIKE STANDARD TABLE OF itab-bapi.
PARAMETERS: sel_file(1500) TYPE c default ' ' OBLIGATORY LOWER CASE.
PUT THE TEXT FILE PATH TO P_FILE
p_file = sel_file.
Copy the file from the workstation to the server ****
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file
<b>FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'</b>
TABLES
data_tab = itab-bapi[]
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
MESSAGE e012(zea_spms) WITH 'Method' 'GUI_UPLOAD' sy-subrc.
&1 &2 issued return code &3
ELSE.
pit_data[] = lit_data[].
ENDIF.
ENDIF.
loop at itab-bapi.
write: /5 itab-bapi-io_name,
20 itab-bapi-io_type,
30 itab-bapi-io_txsht,
50 itab-bapi-io_txlng,
75 itab-bapi-io_datatype,
85 itab-bapi-io_length.
endloop.
SELECT THE LOCATION FOR TEXT FILE
AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = ''
def_path = 'C:\'
mask = ',Documentos de texto (*.txt), *.txt.'
mode = ''
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
find '.txt' IN p_file.
if sy-subrc <> 0.
concatenate p_file '.txt' into sel_file.
else.
sel_file = p_file.
endif.
Create InfoObject through BAPI Function
*CALL FUNCTION 'BAPI_IOBJ_CREATE'.
*IMPORTING
VALUE(DETAILS) LIKE BAPI6108 STRUCTURE BAPI6108
*EXPORTING
VALUE(INFOOBJECT) LIKE BAPI6108-INFOOBJECT
VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
TABLES
COMPOUNDS STRUCTURE BAPI6108CM OPTIONAL
ATTRIBUTES STRUCTURE BAPI6108AT OPTIONAL
NAVIGATIONATTRIBUTES STRUCTURE BAPI6108AN OPTIONAL
ATRNAVINFOPROVIDER STRUCTURE BAPI6108NP OPTIONAL
HIERARCHYCHARACTERISTICS STRUCTURE BAPI6108HC OPTIONAL
ELIMINATION STRUCTURE BAPI6108IE OPTIONAL
RETURNTABLE STRUCTURE BAPIRET2 OPTIONAL
Activate InfoObject through BAPI Function
CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
*ENDFORM. " RETRIEVE_DATASET
This program is working fine. You can test it.
Only problem is as the column headings are big for some columns, they are getting truncated which you can always change by changing the column width in declaration
Please let me know if this helps.
ashish -
How to control item category in ME21n via authorization
Hi,
When creating/changing PO in ME21N/ME22N how can I give access to only certain item categories via authorization objects.
Many thanks for your help.
Alain.Hi,
Please check the following:
If to a certain document type is assigned the 'blank' item
category (Category Text : Standard) for the document type in customizing ( Transaction olme ->
Purchase Order -> Define Document Types -> Select Document Type 'ZSVC'
-> Click Allowed Item Categories ), the system therefore would allow for the
item category to be left blank when the PO is created/saved, even if the
field selection key specifies it to be mandatory.Please note that in
case of the item category, the field selection key customizing is
actually not considered here but only the item categories defined.
If you would like to require an item category to be entered for the PO,
then kindly delete the standard item category type and other item category types rom the customizing of
the document type you use.
Regards,
Edit -
How to populate a jsf table with an array?
I have a JSF project where I'm using a table and I would like to populate that table with some custom information without using a database. I'm trying to write my own data provider. I was wondering if anyone knows how to populate a jsf table using an array. Any help would be appreciated. Thanks.
Hey thanks for replying. I'm not quite sure what you mean, but I am using a woodstock table in Netbeans. I would love to skip writing the data provider since I've never done that before, but I'm not sure how I would go about populating the table with a regular List or Model. I have populated a JTable with my own model, but never a woodstock table. They don't seem to work the same way. Thanks for the help. I've spent hours trying to figure this out.
Maybe you are looking for
-
GarageBand 10.0.2 - important new export procedure
When Apple released GarageBand v10.0.2 it listed some changes in the release note, i.e. mp3 export. However, it did not mention that it changed the export behavior ragarding the export range. This is a very critical step. Here are a few screenshots f
-
Missing tables in a full=y expdp
Hello ! There are missing tables in an expdp dump of a database we use in a test environnement. I don't know why ... The datafile seems not to be corrupted. The table is listed in a tool like TOAD, and is listed in the catalog view DBA_TABLES. But th
-
Requirements for installing SAP Web As and NWDS IDE?
Hi All, Please give me details what are the requirments need for installing the SAP Web AS and NWDS IDE in my personal computer . Thanks Nageswara.
-
Reconcillation of by product during sub contracting
Dear Experts , I have a question regarding by product received from Sub Contractor . I send material A & B , and receive material C along with by product X . I do the normal sub con process & receive material from sub contractor , afetr recieving the
-
Once I unplug the computer shuts down. What should I do?
This past week I got my E2011 MBP repaired for a faulty Mag Safe Port. The Logic Board and clamshell were also replaced for some reason. Now after two days after getting my laptop returned, my mom decided to borrow my charger just 20 minutes ago. I u