FM for modifying product attribute values

Hello everyone
We have created our one set types for a product family.
What I'm looking for is a function module for maintaining
the values in this set type for specific product.
Thanks,
Nachshon

Hi Nachshon,
Use FM '<b>COM_PROD_MATERIAL_MAINTAIN</b>'.
You can maintain attributes for a category for a set of materials.
Hope this helps.
<b>Please reward points if it helps.</b>
Thanks
Haseeb

Similar Messages

  • LDIF Support for colons in attribute values?

    This is an invalid LDIF entry:
    dn: cn=APPLICATION,ou=DBOLS_Profiles,ou=lookup,o=systems,dc=xyx,dc=abc
    objectClass:olsProfiles
    objectClass: top
    olspolicyname: MAIN
    olsmaxreadlabel: abc:def/jkl:mno
    because the olsmaxreadlabel attribute's value contains colon characters. Is there a way around this? A way to be able to store colons in an attribute value?
    Thank you

    LDIF is defined in rfc2849 and to me it looks like your example string is a legal LDIF entry (http://www.ietf.org/rfc/rfc2849.txt)
    That means that the problem is actually your LDIF parser so I would recommend getting another parser or writing your own parser.
    I have example code for LDIF parsing as well as creating LDAP object using JNDI that I would be happy to share. Contact me through LinkedIn if you want the code packages.
    Best regards
    /Martin

  • Exit for Modifying screen attributes during ME22N

    Hi Experts,
    I need to make some fields output only at item level in transaction ME22N i.e. during PO change. Is there any exit or BADI available for that.
    Regards

    > Hi Experts,
    >
    > I need to make some fields output only at item level
    > in transaction ME22N i.e. during PO change. Is there
    > any exit or BADI available for that.
    >
    > Regards
    This is mainly config.
    Check in SPRO - IMG
    Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level 
    Also these BAdis are available:
    ME_PROCESS_PO_CUST - For Custom logic in Enjoy transactions
    ME_GUI_PO_CUST - For Additional Custom screens in ME2xn
    Read the documentation, it will help.
    Also, read the config section about enhancements in Purchasing using old enhancement technology. See below.
    OSS is also a good place for documentation. OSS 496083.
    Good luck!
    Leonardo De Araujo
    Develop Enhancements for Purchasing
         In this step, you develop enhancements for Purchasing.
         The following SAP enhancements are available for the Purchasing area:
         o   AMPL0001
             User subscreen for additional AMPL data (Manufacturer part number)
         o   LMELA002
             Adoption of batch number from shipping notification at time of
             posting of a goods receipt
         o   LMELA010
             Incoming shipping notification: adoption of item data from IDoc
         o   LMEQR001
             User exit for source determination
         o   M06B0001
             Role determination for release of requisitions
         o   M06B0001
             Changes to communication structure for release of requisitions
         o   M06B0003
             Number range and document number
         o   M06B0004
             Number range and document number
         o   M06B0005
             Changes to communication structure for overall release of purchase
             requisitions
         o   M06E0004
             Changes to communication structure for release of purchasing
             document
         o   M06E0005
             Role determination for release of purchasing documents
         o   ME590001
             Grouping of requisitions for PO split in transaction ME59
         o   MEETA001
             Determination of schedule line type (backlog, immediate requirement,
             forecast)
         o   MEFLD004
             Determination of earliest delivery date for checking at time of
             goods receipt (PO only)
         o   MELAB001
             Generation of forecast delivery schedule: realization via creation
             profile
         o   MEQUERY1
             Enhancement for document overview ME21N / ME51N
         o   MEVME001
             Calculation of default GR quantity and over/underdelivery tolerances
         o   MM06E001
             User exits for inbound EDI messages and outbound purchasing
             documents
         o   MM06E003
             Number range and document number
         o   MM06E004
             Control of import data screens in purchase orders
         o   MM06E005
             Customer fields in purchasing documents
         o   MEREQ001
             Customer's own data in purhcase requisitions
         o   MM06E007
             Change document for requisitions when converting into POs
         o   MM06E008
             Monitoring of contract target value in case of release orders
         o   MM06E009
             Relevant texts for "Texts exist" indicator
         o   MM06E010
             Field selection for vendor address
         o   MM06E011
             Activation of requisition block
         o   MM06L001
             Exits for determination of ratings in vendor evaluation
         o   MMAL0001
             ALE source list distribution: outbound processing
         o   MMAL0002
             ALE source list distribution: inbound processing
         o   MMAL0003
             ALE purchasing info record distribution: outbound processing
         o   MMAL0004
             ALE purchasing info record distribution: inbound processing
         o   MMDA0001
             Default values for delivery addresses
         o   MMFAB001
             User exit for generation of releases
         o   MRFLB001
             Control items during release creation
         o   LWBON001
             Enhancement of LIS update through extension of the communication
             structure MCKONA (business volumes and rebate income)
         o   LWBON003
             Change settlement data for end-of-period rebate settlement before
             creation of settlement documents
         o   LWSUS001
             Customer-specific source determination in Retail
         Activities
         1.  Either create a new project or use an existing one and then enter
             the enhancement.
         2.  Activate the project
             Your enhancement will only become effective after activation.
         Further notes
         In contrast to modifications, enhancements are basically
         release-insensitive since they are not implemented in the SAP original
         but in a name range that is reserved for the customer.
         The general procedure for creating enhancements can be found in the
         enhancement transaction at Help -> Application help.
         If you want to display the documentation for an enhancement, choose Goto
         -> Documentation in the enhancement transaction.
    Return ->
         Application

  • Accepting traditional %= ... % dynamic attribute values in tags

    I am using Tomcat 5.5 (Servlet 2.4). This JSP code works:
    <% String strFoo = "index.jsp"; %>
    <jsp:include page="<%= strFoo %>"/>
    ... but this code that uses a custom tag I wrote doesn't work:
    <% String strFoo = "index.jsp"; %>
    <myutil:check url="<%= strFoo %>">
    some content
    </myutil:check>
    I get an error:
    An error occurred at line: nnn in the jsp file: /xxxxxx.jsp
    Generated servlet error:
    strFoo cannot be resolved
    I have set the "url" attribute's rtexprvalue setting to "true" for the myutil:check tag in its .tld file.
    Does anyone have an idea about what might be wrong? I would have thought that what works for a jsp:include attribute should work for any tag attribute value with runtime evaulation enabled.
    Of course, I would rather be using EL expressions, but I have a large body of existing code that I need to get working with this servlet container quickly, and rewriting it all is not an option at the moment.
    Thanks

    Looks good to me. I can't think of any reason why it shouldn't work.
    Can you please show the tld (or an example tld) defining this tag?
    If you could have some 'dummy' code to duplicate the issue, it will be easier to help.
    One thing you might try - take a look at the code generated by the conversion into servlet. It should be in the [TOMCAT]/work directory.
    See if you can figure out from there why strFoo would not be in scope. Maybe you had it nested in another block?
    Hope this helps,
    evnafets

  • Attributes and attribute values for a Product

    Hi all
    Is there any table or FM from where I can get a list of all the attributes and the attribute values linked to a particular product?
    I got tables which link product with Prod Category, Prod Category with Set types and so on.
    Could anyoe please provide me an FM which will give the attribute and its values for a particular product?
    Please help!!
    Regards
    Debolina

    Attributes created under s settype will be under the table with the name of that particular settype itself i.e Table name and the settype name are the same.
    The other part of your question of where to find the list of all settypes and their corresposing attributes, you can make use of COMM_PR_FRG_REL.
    Regards,
    Harshit

  • Modify New VO but not able to see Attribute Value.

    Hi ,
    I am facing one problems during my VO extend. I have done below step,
    1) Created new XXCustomVO based on exsiting CustomVO.Created new Attribute, modify SQL and mapped and gave new Name XXCustomInfoVO.
    2) Assign this new XXCustomVO to new filed with Attribute name.
    4) Copy XXCustomVO.xml and all class file from Desktop to Server in respecitve folder.
    5) Import Page regions which i have created New Item.
    6) Import with JPXImport.("Porject substitutions" )
    7) Now I run the page no errors found but not able to see new attribute Data.
    Then I checked "About Page" but everything is refected correctly only not able to see new attribute data.
    Can you please help me out. Is there any wrong thing i am doing or something is missing still.
    Thanks

    Hi ,
    Even exsiting attribute value alos not display. I mean I have 20 attribute in this exsiting VO and I have add one more XX attribute and same as XXVO but non of value is display out of 21 attibute.
    Even i have hard coded "1234" for this attribute but always return null.
    Where I have to foucs.
    thanks
    Raj
    Message was edited by:
    RajPatel

  • UIX table tag's attribute VALUE is missing in jdev 10g production

    In JDeveloper 10g preview, I handled my table's navigation manually and need to set the table's tag attribute VALUE in order to keep the record range.
    However, when i convert my project to JDeveloper 10g Production, eventhought the page is still working fine, but in the design windows will show that the uix page is in invalid state and I found that the attribute VALUE is no more supported.
    Could anyone please help me and let me know how do i set back my record range? Thanks!

    It turns out that you're running into a bug that will be fixed in the soon to be released version of JDev 10g. The good news is that it's a design time bug, so your pages will still work at runtime. You can even fix the bug yourself if you want. In JDEV_HOME\jlib there is uix2-schemas.zip. Inside of that is ui/table.xsd.
    Add the below attribute definition inside of the complex type for the table, and you should be all set.
    <attribute name="value" type="ui:unsignedIntExpressionType" default="1"/>
    Hope this helps,
    Ryan Pollock
    UIX Team

  • Warning  6226: Ignoring value requested for first connection attribute 'TempSize'

    Hi
    Was trying to load, here is what I see. Appreciate your help.
    con1: Command> load cache group g_sdata_awt commit every 1000 rows;
    5056: The cache operation fails: error_type=<TimesTen Error>, error_code=<3407>, error_message: [TimesTen]TT3407: Cannot allocate space to store ownership information for global cache groups because temporary data partition free space is below the minimum threshold of 3000000 bytes - from grid member DDGRID_DD_TTDB_1
    The command failed.
    con1: Command>
    [timesten@timesten101 info]$ ttisql -connstr "dsn=DD_TTDB;tempsize=4096";
    Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "dsn=DD_TTDB;tempsize=4096";
    Warning  6226: Ignoring value requested for first connection attribute 'TempSize' -- value currently in use: 32, requested value: 4096
    Connection successful: DSN=DD_TTDB;UID=timesten;DataStore=/home/timesten/TimesTen/ttdev/DD_TTDB;DatabaseCharacterSet=AL32UTF8;ConnectionCharacterSet=US7ASCII;DRIVER=/home/timesten/TimesTen/ttdev/lib/libtten.so;LogDir=/home/timesten/TimesTen/ttdev/logs/DD_TTDB;PermSize=8196;TempSize=4096;TypeMode=0;OracleNetServiceName=VIS1;
    (Default setting AutoCommit=1)
    Command>
    I tried :
    HOWTO : Understand Modifying TimesTen PermSize And TempSize First Connect Database Attributes (Doc ID 1081008.1)
    It did not help! Thanks a lot.
    Anil

    Hi Chris, Thanks a lot again! I guess I followed the steps.
    Sorry in a rush to get this done, not able to read all the docs.
    Still getting the error, can you please point to me where I am going wrong:
    Sorry for being childish pest here, tried it hard but couldnt get too far.
    [timesten@timesten101 ~]$ ttadmin -rampolicy manual DD_ttdb
    RAM Residence Policy            : manual
    Manually Loaded In RAM          : False
    Replication Agent Policy        : manual
    Replication Manually Started    : False
    Cache Agent Policy              : manual
    Cache Agent Manually Started    : False
    [timesten@timesten101 ~]$ ttdaemonadmin -stop;
    TimesTen Daemon stopped.
    [timesten@timesten101 ~]$ ttdaemonadmin -start;
    TimesTen Daemon startup OK.
    [timesten@timesten101 ~]$ ttstatus;
    TimesTen status report as of Mon Feb 10 08:47:28 2014
    Daemon pid 19519 port 53396 instance ttdev
    TimesTen server pid 19528 started on port 53397
    Data store /home/timesten/TimesTen/ttdev/DD_TTDB
    There are no connections to the data store
    RAM residence policy: Manual
    Data store is manually unloaded from RAM
    Replication policy  : Manual
    Cache Agent policy  : Manual
    PL/SQL enabled.
    Accessible by group ttadmin
    End of report
    [timesten@timesten101 ~]$
    [timesten@timesten101 ~]$ ttadmin -rampolicy inuse DD_ttdb
    RAM Residence Policy            : inUse
    Replication Agent Policy        : manual
    Replication Manually Started    : False
    Cache Agent Policy              : manual
    Cache Agent Manually Started    : False
    [timesten@timesten101 ~]$ ttstatus
    TimesTen status report as of Mon Feb 10 08:47:59 2014
    Daemon pid 19519 port 53396 instance ttdev
    TimesTen server pid 19528 started on port 53397
    Data store /home/timesten/TimesTen/ttdev/DD_TTDB
    There are no connections to the data store
    Replication policy  : Manual
    Cache Agent policy  : Manual
    PL/SQL enabled.
    Accessible by group ttadmin
    End of report
    [timesten@timesten101 ~]$ ttisql -connstr "dsn=DD_TTDB;uid=cacheadm;pwd=cacheadm;oraclepwd=cacheadm";
    Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "dsn=DD_TTDB;uid=cacheadm;pwd=cacheadm;oraclepwd=cacheadm";
    15019: Only the instance admin may alter the TempSize attribute
    The command failed.
    Done.
    [timesten@timesten101 ~]$

  • CRS-5008: Invalid attribute value: ce0 for the network interface

    Hi all,
    we try to install grid infrastructure 11GR2 (11.2.0.1) into Solaris Zone with shared network interface.
    We also modified scirpt racgvip, so it will be able to login (via ssh with key authorization) to the global zone and add or remove interface on zone. Script itself works fine.
    But it seems that orarootagent some how checks the interface, and returned error.
    In the log of the orarootagent I can see error:
    2010-10-01 21:38:49.573: [ AGFW][9] CHECK initiated by timer for: ora.net1.network sapdr2db2 1
    2010-10-01 21:38:50.473: [ora.net1.network][17] [check] NetworkAgent::checkLink returned false
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] NetInterface::sGetIpAddress {
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] netInterfaceName empty.
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] NetInterface::sGetIpAddress }
    2010-10-01 21:38:50.474: [ AGFW][17] check for resource: ora.net1.network sapdr2db2 1 completed with status: OFFLINE
    2010-10-01 21:38:50.476: [ AGFW][17] Executing command: check for resource: ora.net1.network sapdr2db2 1
    2010-10-01 21:38:50.477: [ora.net1.network][17] [check] NetworkAgent::init enter {
    2010-10-01 21:38:50.478: [ora.net1.network][17] [check] Checking if ce0 Interface is fine
    2010-10-01 21:38:50.479: [ora.net1.network][17] [check] NetInterface::scheckNetInterface returned 0
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] CRS-5008: Invalid attribute value: ce0 for the network interface
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetworkAgent::init exit }
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetInterface::scheckNetInterface returned 0
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetworkAgent::checkInterface returned false
    Does anybody know how the orarootagent checks for the network resource?
    It seems that there are some procedures (NetworkAgent::checkLink, NetInterface::sGetIpAddress) inside it. But the problem is that this file is binary.
    Or may be there are some ways to track how orarootagent checks?

    >
    2010-10-18 18:11:07.589: [ora.net1.network][9] {0:2:8} [check] Checking if ce0 Interface is fine
    2010-10-18 18:11:07.589: [ora.net1.network][9] {0:2:8} [check] NetInterface::scheckNetInterface returned 0
    2010-10-18 18:11:07.590: [   AGENT][9] {0:2:8} UserErrorException: Locale is
    2010-10-18 18:11:07.591: [ora.net1.network][9] {0:2:8} [check] CRS-5008: Invalid attribute value: ce0 for the network interface
    >
    Is there anything I can do with it? Will appreciate any help!Is ce0 a valid interface on the machine? (has the global zone done "ifconfig ce0 plumb"?)
    Is the zone correctly configured (check output of the export sub-command of zonecfg)?
    --Sowmini                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Using the value "Image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of preconfigured file types (.jpe, .jpg, .jpeg, .?

    On a form, using the value "image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of pre-configured file types (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, .drw, .pct, .psp, .xcf, .psd, .raw)?
    Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can I add types to image?
    <input type="file" name="file" accept="image/*" id="file" />
    mimeTypes.rdf does not seem to allow this.

    ''mimeTypes.rdf'' has nothing to do with web development. It's a file that stores your file handling preferences (e.g. if you want ZIP files automatically saved or opened).
    You can't change the file types of the pre-defined content specifiers (audio/*, video/*, image/*), but you can specify additional MIME types. To add PDF to your above example,
    <pre><nowiki><input type="file" name="file" accept="image/*,application/pdf" id="file" /></nowiki></pre>
    For details, see
    * [https://developer.mozilla.org/En/HTML/Element/Input developer.mozilla.org/En/HTML/Element/Input]

  • Populate key figure attributes values for material & location in inventory

    Hi all,
    We have a Inventory Infocube. the dimensions of the inventory infocube contains material, location and material-location and also the time dimension with calday, week and month. The different key figures in the infocube are Unrestricted Stock Balances, Unrestricted Stock Receipts, Unrestricted Stock Issues, QI Stock Balances, QI Stock Issues, QI Stock Reciepts, Blocked Stock Balances, Blocked Stock Receipts, Blocked Stock Issues. The following is the definition for master data objects
    Material Master - ATTRIBUTES :- Business Unit, Manufacturing Plant, Base to Case Conversion Factor(key figure attribute)
    Location Master - ATTRIBUTES:- City, State, Country, Location Type
    Material Location master - ATTRIBUTES:- Material, Location, MRP Controller, Source Location, Standard Cost(key figure attribute)
    We have a report with material, location, calender day and with all the stock balances keyfigures. also in the report we have the key figure attributes of material master and material location (like standard cost and base to case conversion). We have defined a formula variable on these attribute key figures with replacement path.
    The problem is none of the records are getting populated with the standard cost and base to case conversion.
    We are NOT doing any conversion at the report level.
    Any help is greatly appreciated.
    Regards
    Vijay

    There could be few possibility:
    1. The variable you are inputting for standard cost and base to case conversion may not have any values in the master data.
    2. See the master data table for Material and location. Note down those materails and location for which there are values for standard cost and base to case conversion. Now, run the reports for these materials
    and location.
    Btw, have made standard cost and base to case conversion as nav attributes. Plz make them nav attributes and see.
    Thanks...
    Shambhu

  • How can i get production version value(verid) for luck through bdc.

    HI..
    i have one requirement..that in c223 tcode while i luck the production version through BDC in my report program as i given bellow...i upload mat.no , plant, production version and 1(for luck)...
    req:: i want while i given production version for particlular plant and material no...that production version should be luck....
    so in standard tcode c223 how can i get value to compair it with my input production version value then i will close that...
    program:::
    report ZC2232
           no standard page heading line-size 255.
    *include bdcrecx1.
    Tables : mkal.
    data : nodata value '/' .
    data : CTUMODE type c value 'E'.
    DATA : CUPDATE TYPE C VALUE 'L'.
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    data: begin of HEADER OCCURS 0,
    data element: MATNR
            MATNR_001(018),
    data element: WERKS_D
            WERKS_002(004),
    data element: PLNNR
           PLNNR_003(008),
    data element: CP_STTAG
            STTAG_003(010),
    data element: ENTRY_ACT
           ENTRY_ACT_005(011),
    data element: PLNAL
            PLNAL_004(001),
    data element: FLG_SEL
           FLG_SEL_01_006(001),
    data element: PLANTEXT
           STLAL_004(002),
           DATUV_005(010),
    data element: WERKS_D
           WERKS_008(004),
    data element: PLN_VERWE
           ktext_005(001),
    data element: PLNST
            DELKZ_005(001),
    data element: LOSGRVON
           LOSVN_011(017),
    data element: LOSGRBIS
           LOSBS_012(017),
    data element: PLNME
           PLNME_013(003),
    data element: PLNME
           stlal_014(002),
    end of HEADER.
    data : begin of it_header occurs 0,
           matnr like marc-matnr,
           werks like marc-matnr,
           verid like mkal-verid,
           mksp like mkal-mksp,
           end of it_header.
    data : exnum(40) type c,
           exnum1(40) type c,
           cnt type I,
           CN(2) TYPE C,
           c1 type c value '(',
           c2 type c value ')'.
    start-of-selection.
    parameters: p_file like rlgrap-filename.
    at selection-screen on value-request  for p_file.
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
      importing
         file_name           = p_file.
    start-of-selection.
    call function 'WS_UPLOAD'
    exporting
      CODEPAGE                      = ' '
       filename                      = p_file
       filetype                      = 'DAT'
      HEADLEN                       = ' '
      LINE_EXIT                     = ' '
      TRUNCLEN                      = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      DAT_D_FORMAT                  = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = it_header
    EXCEPTIONS
      CONVERSION_ERROR              = 1
      FILE_OPEN_ERROR               = 2
      FILE_READ_ERROR               = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      NO_AUTHORITY                  = 10
      OTHERS                        = 11
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    DELETE it_header WHERE MATNR IS INITIAL.
    LOOP AT it_header.
    *start-of-selection.
    *perform open_group.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL-WERKS'.
    perform bdc_field       using 'MKAL-WERKS'
                                  it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                   it_header-matnr.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PICK'.
    perform bdc_field       using 'MKAL-WERKS'
                                 it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                it_header-matnr.
    *>>>>>>>>>>>>>>>>>>>>here what logic can i write****
    clear cnt.
    do 15 times.
    cnt = cnt + 1 .
    CN = CNT.
    exnum = 'MKAL_EXPAND-VERID'.
    concatenate exnum c1 cn c2 into exnum1.
    *perform bdc_field       using 'BDC_CURSOR'
                                   exnum1.
    GET PARAMETER ID 'VER' FIELD EXNUM1.
    CALL TRANSACTION 'C223' AND SKIP FIRST SCREEN.
    if ( it_header-verid = EXNUM1 ).
    exit.
    endif.
    enddo.
    ****************************************************end***>>>>>>>>
    perform bdc_field       using 'BDC_CURSOR'
                                  exnum1.
    perform bdc_dynpro      using 'SAPLCMFV' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL_EXPAND-PLNTY'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PRFG'.
    perform bdc_dynpro      using 'SAPMSSY0' '0120'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=RW'.
    perform bdc_dynpro      using 'SAPLCMFV' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/ECANC'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL_EXPAND-VERID'.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL-WERKS'.
    perform bdc_field       using 'MKAL-WERKS'
                                  it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                  it_header-matnr.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_transaction using 'C223'.
    endloop.
    *perform close_group.
    *&      Form  bdc_dynpro
          text
         -->P_0161   text
         -->P_0162   text
    form bdc_dynpro  USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    endform.                    " bdc_dynpro
    *&      Form  bdc_transaction
          text
         -->P_0351   text
    form bdc_transaction USING TCODE.
    call transaction 'C223' using bdcdata
                             mode    CTUMODE
                             update  CUPDATE
                             messages into messtab.
      if sy-subrc <> 0.
      message e000(zmm01) with
      'Check your input data'.
      endif.
    endform.                    " bdc_transaction
    *&      Form  bdc_field
          text
         -->P_0346   text
         -->P_0347   text
    form bdc_field  USING FNAM FVAL.
      if fval <> nodata.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
        endif.
        endform.                    " bdc_field

    l_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');try to change as follow
    l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');Edited by: AlexAnd on Aug 17, 2011 12:36 AM

  • Setting property attribute values for multiple selected objects.

    Hello,
    Is there an easy way to set the attribute property values for more that one selected Table Operator Attribute (column) at a time. For example the target table has over 100 columns but I only want to INSERT/UPDATE 10 of those columns. The generated MERGE, INSERT and UPDATE statements will perform DML on all of the columns in the target table, setting the 90 columns with no mapping set to NULL. This is due to the Loading Properties 'Load Column when Updating Row' and 'Load Column when Inserting Row' both default to Yes. I would like to select multiple Attributes in the Table Operator and change the 'Load Column when Updating Row' and 'Load Column when Inserting Row' to No. This is similar to what you were able to do in Oracle Forms 9.0 Designer select multiple Items in a Block and change the properties en-masse.
    Thanks

    Hi,
    Using OMB scripting to set attribute properties in a data mapping sort of defeats the purpose of utilizing a graphical user interface to define and set properties for a data mapping? Surely the GUI data mapping tool was created to get away from writing scripts and scripting would also require that you know the name of the data mapping, table operator and the set of attribute names for which you have to write one line of script to set each property value, i.e. 90 lines to set 90 attribute values.
    Cheers,
    Phil

  • Extract XML attribute value for multi-item sequence

    Guys,
    I have already posted this in the XML DB forum, but am relying that some of you might help me.
    I have been searching for a solution for this and couldn't quite get it. I'm trying to get attribute values from multiple entries in a Node. It workes for a single node, but for multiple nodes, it fails. Could you please give me a solution?
    SQL> select extractvalue(column_value, '/WORLD/COUNTRY/@NAME') COUNTRY_NAME
      2        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@NAME') CITY_NAME
      3        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@POPULATION') POPULATION
      4  from xmltable('WORLD' passing xmltype('
      5  <WORLD>
      6  <COUNTRY NAME="INDIA">
      7  <CITY NAME="MUMBAI" POPULATION="10000"></CITY>
      8  </COUNTRY>
      9  </WORLD>'
    10  ));
    COUNTRY_NAME CITY_NAME POPULATION
    INDIA MUMBAI 10000When I execute the same for multiple nodes, it fails, please guide me. Please also let me know how to handle if I have an XML file containing this data.
    SQL> select extractvalue(column_value, '/WORLD/COUNTRY/@NAME') COUNTRY_NAME
      2        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@NAME') CITY_NAME
      3        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@POPULATION') POPULATION
      4  from xmltable('WORLD' passing xmltype('
      5  <WORLD>
      6  <COUNTRY NAME="INDIA">
      7  <CITY NAME="MUMBAI" POPULATION="10000"></CITY>
      8  <CITY NAME="CHENNAI" POPULATION="2000"></CITY>
      9  <CITY NAME="BANGALORE" POPULATION="13000"></CITY>
    10  <CITY NAME="HYDERABAD" POPULATION="14000"></CITY>
    11  </COUNTRY>
    12  </WORLD>'
    13  ));
    select extractvalue(column_value, '/WORLD/COUNTRY/@NAME') COUNTRY_NAME
    ERROR at line 1:
    ORA-19025: EXTRACTVALUE returns value of only one nodeCheers
    Sarma.

    So, this is the first step:
    SQL> with test as
      2  (select xmltype('<WORLD>
      3                 <COUNTRY NAME="INDIA">
      4                 <CITY NAME="MUMBAI" POPULATION="10000"></CITY>
      5                 <CITY NAME="CHENNAI" POPULATION="2000"></CITY>
      6                 <CITY NAME="BANGALORE" POPULATION="13000"></CITY>
      7                 <CITY NAME="HYDERABAD" POPULATION="14000"></CITY>
      8                 </COUNTRY>
      9  </WORLD>') resp from dual)
    10  select country
    11       , cities
    12  from xmltable('WORLD/COUNTRY' passing (select resp from test)
    13                         columns country varchar2(50) path '/COUNTRY/@NAME'
    14                               , cities xmltype path '/COUNTRY/CITY') world
    15  /
    COUNTRY         CITIES
    INDIA           <CITY NAME="MUMBAI" POPULATION="10000"/><CITY NAME
                    ="CHENNAI" POPULATION="2000"/><CITY NAME="BANGALOR
                    E" POPULATION="13000"/><CITY NAME="HYDERABAD" POPU
                    LATION="14000"/>two columns, one varchar2 and one xmltype.
    Then do the same thing with the second column, pass the XML to an XMLTABLE function
    SQL> with test as
      2  (select xmltype('<WORLD>
      3                 <COUNTRY NAME="INDIA">
      4                 <CITY NAME="MUMBAI" POPULATION="10000"></CITY>
      5                 <CITY NAME="CHENNAI" POPULATION="2000"></CITY>
      6                 <CITY NAME="BANGALORE" POPULATION="13000"></CITY>
      7                 <CITY NAME="HYDERABAD" POPULATION="14000"></CITY>
      8                 </COUNTRY>
      9  </WORLD>') resp from dual)
    10  select country
    11       , cit.name
    12       , cit.population
    13  from xmltable('WORLD/COUNTRY' passing (select resp from test)
    14                         columns country varchar2(50) path '/COUNTRY/@NAME'
    15                               , cities xmltype path '/COUNTRY/CITY') world
    16     , xmltable ('CITY' passing cities
    17                columns name varchar2(50) path '@NAME'
    18                      , population number path '@POPULATION'
    19                ) cit
    20  ;
    COUNTRY         NAME                                               POPULATION
    INDIA           MUMBAI                                                  10000
    INDIA           CHENNAI                                                  2000
    INDIA           BANGALORE                                               13000
    INDIA           HYDERABAD                                               14000

  • How to ge the value for attribute for terminal services attribute in Active Directory from userParameters attribute

    I am using dirsync to get  the attributes value that have changed in Active Directory(changelog).
    The following link explains how the dirsync is used to get attribute values :
    'http://blogs.technet.com/b/isrpfeplat/archive/2010/09/20/using-the-dirsync-control.aspx'
    I am changing the attribute Local path under Remote Desktop Services Profile of a user. I have ran a client which uses dirsync to get the changed objects in AD.
    In the client the attribute that is changed is `userParameters` and the value is in encrypted form. 
        CtxCfgPresent                                   P☺CtxCfgPresent???? ☻☺CtxWFProfi
        lePath?↑→☺CtxWFHomeDir?????????????"☻☺CtxWFHomeDirDrive?☺CtxShadow????☺CtxMaxDis
        connectionTime????☺CtxMaxConnectionTime????☺CtxMaxIdleTime???? ☻☺CtxWorkDirector
        y?☺CtxCfgFlags1????"☻☺CtxInitialProgram?
    Is there a way to get  the actual value form the userParameters.

    Hi,
    What about other changed attributes? Are other attributes retrieved by DirSync control turn to be encrypted form?
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • Calendar sticker icon error (наклейки на значке Календаря отсутствуют)

    The calendar does not appear IPAD icon stickers with the number of missed events. In the center of the relevant notification reminders included. Elsewhere, there are additional configuration or a bug of the Apple? В календаре IPAD не отображаются нак

  • Can't connect over d-link, why? Is airport better?

    i just spent the evening trying to have a PBookG4 connect to the internet over a d-link 1310 wireless router with cable access. The computer sees the router and can configure it, the router is obviously connected to the net. but why can't the mac mak

  • Job to process messages in Ready Status in SMQ2 ECC

    Hello friends, I am sending out messages from SAP ECC to PI  using proxy . The messages are getting stuck in SMQ2 in READY status. I have to each time manually go and activate the queue to send the message out of SAP ECC. Is there any job to process

  • Problem with Infopackage

    I am having a Infopackage(delta)  in Dev. When every I am trying to open that Infopackage I am getting short dump . even I am unable run ,open or change that Infopackage.  But I am able to do these things in quality ….. I am facing the same problem w

  • How can I know WHICH cookie in the list is the one I want to delete?

    OK, an unwanted, annoying cookie pops up. I go to the list of cookies in the Privacy section but I can't IDENTIFY the NAME of the cookie I want to delete. How can I tell its name?