Custom Metadata Extension with RFC call

Hi all,
I am trying to create a custom metadata extension that pulls data from ECC via an RFC call and returns values as a IMetaValueList in the getAllowedValues method.
Does anybody have any experience?
Thx
Ismail

Hello Sanjeev,
- I Kept External break point in SRM where we are calling RFC Call for ECC, I am able to debug untill the RFC call,
- But, on RFC Call ( CALL FUNCTION ZABC destination <Destination>), when I press F5 it is not going inside the function module.
- I am getting Export parameter values, means ctrl is going to ECC, but not able to debugg our BE system -ECC.
Pls suggest. Thanks for your quick reply.
Regards,
Mohan Vamsi

Similar Messages

  • Custom metadata field with autonumbering sequence

    I have created a custom metadata field and I need it to be able to start a zero and then increase by one with each checkin. There were other qualifications for this particular field as well, which I have managed to do. Currently, the field is V99_99999 where V is a constant, and the 99 immendiately after the V is the current two digit year. all that works great. the issue I am having is with the second half of this. I have it going against the content_id currently, which is at 003856 right now, so when I check in my first content, it will look like V09_003857. what I need it to look like is V09_00001 and then increase by one with each checkin, and then for the really tricky part...when the year changes, on Jan 1, the counter needs to start over at all zeroes again.
    I am fairly new to UCM and this seems huge to me. I purchased a book called "The Definitive Guide to Stelelnt Content Server Development" hoping to find the answer, but am still struggling, so I am using another life line and reaching out to you all.
    Thanks,
    Patti

    Interesting!
    You'll need a component. You already mentioned you had a custom metadata field. You will also need to add a counter to the counters table for your component. During a check in you will need to fetch the next value from the counters table, increment the counter and store the new number back in the table. The year portion of the id is easy, get the current year and grab the last two characters. Then, put this all togther to get the data for your metadata field.
    The big question now is where in the check in process will you do all this? You will need something called filters probably. Maybe addFiles, maybe validateStandard, there are several that this could work with.
    Check out the how-to-components:
    http://www.oracle.com/technology/products/content-management/ucm/samples/index.html
    -Jason
    http://www.corecontentonly.com

  • Problem with RFC-Call within BPM

    Hello Experts,
    I am developing a scenario in which I call an rfc-function-module for saving information from an incoming xml which will be transmitted as Idoc to another SAP System.
    The Idoc transmission is doing properly. But the RFC-Call I try to do always ends with a red flag. Error-Message: message has error status on outbd. side at the Process-Engine.
    Can someone help solving that problem?
    Thanks in advance.
    Regards, Alexander

    Hi Rajhans,
    1) The user mentioned in the RFC communication channel is having the authorization.
    Yes, he have the authorizations.
    2) Go to Communication channel monitoring and check what error you are getting for the communication channel is showing.
    There is an error about the FileSenderChannel. Error: java.lang.NullPointerException.
    3) Check whether the RFC created at abap stack is remote enabled or not.
    The function module is remote enabled.

  • Function group memory with RFC calls

    We have a system where a web front-end interacts with our 4.6C system through RFC calls.
    I am having a number of problems where variables declared in a function group are not being cleared out between separate RFC calls to functions in the same group.
    I would not have expected separate RFC calls from an external system to use the same memory area.
    I have seen this happen at other sites too, but have never found an explanation for it.
    Has anyone else experienced this problem and if so can you give me more information about why it happens?
    Thanks for you help,
    Denis.

    This does make sense as global data within a function group is accessable by all function modules of the group.  Normally, in the ABAP system, you call multiple function modules of the same group, and they all share the data.  If you are calling from outside the system, I would expect a different behavior if you are connecting one by one.  But if you are using a pooled connection, this may be the issue.  Not sure though.  It seems that the session on r/3 has not ended and you are accessing the same when calling the second function module.  Is there any function module of the group that looks like it is a "refresher".  In some groups, there is a function module that will refresh the global data. 
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db992335c111d1829f0000e829fbfe/frameset.htm
    Regards,
    Rich Heilman

  • Custom metadata field with date filtering like built-in Date field

    I've added a custom metadata field OK and now want to add an additional custom metadata field that contains the date the photos were exported by my plugin.  The types of metadata values don't include a date field.
    I've tried using a string with the value returned by os.date() and that does indeed add the date and time but what I'm really looking for is a way to add a date field so it will have the same behaviour that the built-in Date field does. 
    When I use Library Filter: Metadata, the Date column shows the date with a series of disclosure buttons in a hierarchy, e.g.,
    Date
    All (1 Date)
    V 2009
       V November
          V 27-Friday
    Is this some magic for the built-in field or is there some way of formatting the date so Lightroom knows it's a date and can treat it the same way as the built-in date?
    Abe

    Thanks.  I've just added a date string.  It's not an ideal solution but it's the best I can manage at this time.  Maybe in LR3.
    Abe

  • Mandatory custom metadata field with current system date as default value.

    I want to create a custom metadata field of type Date. I want to make it mandatory and want to set its default value as system date.
    I have already created field of type Date. What expression I should write to make system date as default value?
    Because its a mandatory field, what would happen to existing content. Will there metadata get updated?
    Thanks
    Sanjeev

    I want to create a custom metadata field of type Date. I want to make it mandatory and want to set its default value as system date.
    I have already created field of type Date. What expression I should write to make system date as default value?
    See http://docs.oracle.com/cd/E23943_01/doc.1111/e10726/c08_config_ref.htm#CSIDO710
    >
    Because its a mandatory field, what would happen to existing content. Will there metadata get updated?No, it will not be updated - profiles are active only for new or updated items (in fact, they work on front-end).
    >
    Thanks
    Sanjeev

  • Problem with RFC call between different clients. Plesae help!

    Hi Experts,
           I have a RFC enabled function module in one SAP instance 'A' where the client is 130. I am trying to call this function module from another SAP systen 'N' where client is 220. RFC destination has been set in 'N' system.
    The RFC functin module pulls data fromm a custom table. For a given input it is puuling data in 'A' system.
    But when I call it from 'N' system with the same input it is not pulling the data.
    I feel the problem is with teh different clients.
    please help me how to resolve this.
    Is there any setting in RFC destination?
    Thanks
    Gopal

    Hi gopalkrishna,
    1. Is there any setting in RFC destination
    Ofcourse there is.
    2. The tcode is sm59.
    3. Where u have maintained in system 'N',
       we have to specify
       a) Server 'A'
    <b>   b) Client Number 130</b> 
    4. So while calling from N(220),
       it will connect A(130)
       and fetch data from A(130) only.
    regards,
    amit m.

  • Facing a problem with RFC Call receiver error while importing the table sap sandbox

    Hi All,
    I am trying to import a table from sap sand box . while importing it is showing below error..
    RFC CallReceive error <Function DDIF_FIELDINFO_GET: RFC_ABAP_EXCEPTION-(Exception_Key: NOT_FOUND, No active nametab exists for /BIC/OHZ_ISP_SCX)[SAP NWRFC 720][SAP Partner 731 ][SCX][ics106046124][APOBODS][4103]>.
    Please suggest me how can i overcome this problem ??

    Hi Kishore,
    Can you quickly check with your SAP Basis Team whether they have installed necessary  functions related to BODS on the SAP Application server.
    Please check Supplement for SAP Guide
    Regards
    Arun Sasi

  • Empty tables with RFC call

    Good day,
    we have a delphi application using wdtfuncs.ocx to connect to SAP via RFC. Since we updated the GUI from 6.2 to 6.4 we have the strange problem, that in some cases select statements returning 0 hits (they should return at least 1 hit).
    After downgrading the wdtfuncs.ocx to version 6.2, everything seems to work fine.
    Maybe someone has a good idea?!
    Any help appreciated.
    regards,
    Andreas Hähre

    Thank you for trying to help me Kathirvel!
    But unfortunately I have not solved my problem.
    Let me be sure I did this right: I set OBJECTID=PA and SUBTYPE=0000 ?
    Well, I have tried diffrent combinations ...
    Are there a connection between subtype and infotype?
    (I did try 0006 as well ...)
    The problem with wdtfuncs.ocx are also described in this thread:
    I tried to swap the files wdtfuncs.ocx and wdtaocx.ocx from version 6.4 til 6.2, but it didn't help.
    The same problem as I'm struggeling with appears in this thread:
    The SAP Note 310190 I mentioned earlier are from 2002, and have Service Packages for version 4.5B to 4.6C. We are running SAP ERP 2004 PS, I think this is version 5.0. I did belive these Service Package were too old for our system, but am I wrong? Should I try to install them?
    Well, this seems to be a hard nut to crack! ...
    Kindly regards
    Arnstein Ørjavik

  • Need to pass custom metadata with Managed Attachment in EBS

    Hi All,
    I have enabled Managed attachment in EBS.
    I also want to pass few custom metadata along with managed attachment.
    I have followed the section  "6.5 Configuring Managed Attachments Settings"
    from the Application Adapter's guide at http://docs.oracle.com/cd/E23943_01/doc.1111/e17953/c06_confg_attchmts.htm#BABIEIDF
    but still i dont see the custom metadata in the Managed attachment checkin screen.
    thanks,
    swapnil

    Hi Swapnil ,
    You will need to apply the following patch :
    Patch 13943045
    Read me file has all the steps required in addition to the patch to get Custom Parameters sent with EBS request , please check it and complete the steps .
    Once done , check to see if OAF is able to send the parameters .
    If not , then check the request / response files from EBS to get more details .
    Thanks,
    Srinath

  • Sort metadata extension return list

    I have developed a custom metadata extension which I will use for several metadata properties.
    As a basis for the metadata extension I used the example (for Dynamic values) provided here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/implementing a metadata extension for kmc properties.article
    I have extended the example so that it serves for multiple metadata properties and multiple languages.
    Now I would like to sort the IMetaValueList returned by
    getAllowedValues(IMetaName metaName, IMetaContext metaContext)
    I want to sort this list of keys by the labels of the locale in which a user is logged on, so that for instance a dropdownlistbox shows the items in alphabetical order.
    I think I can accomplish this by using
    metaContext.getResourceContext().getLocale()
    to get the locale, and using
    sort(Comparator c)
    in IMetaValueList with a custom Comparator.
    The custom Comparator would compare two keys, based on their corresponding labels (
    getValueLabel(IMetaValue metaValue, Locale locale)
    However, before I start implementing this, I need to know:
    -In custom iViews, currently I use
    IMetaValueListIterator allowedValues =metaName.allowedValueIterator();
    where metaName is an IMetaName which uses the metadata extension.
    For the sort function to work I need to use
    allowedValueIterator(IMetaContext metaContext);
    How do I get an IMetaContext in my custom portal component?
    -Is there another way to sort the IMetaValueList returned by the metadata extension?
    Johan

    Anyone? Any help will be appreciated...
    Johan

  • Custom Metadata Observer

    Sorry for this question but I'm new on lua and the LR SDK
    I have the following problem:
    I have a custom metadata set with two fields, eg:
    1: Name, Type string
    2: URL, Type url, readOnly: true
    In the metadata tagset "URL" is hidden because it is empty and only "Name" is shown.
    After an user has entered text in the field "Name" and pressed enter, an url should be generated and shown in the "URL"-field. The entered value from "Name" is a fix part of the "URL".
    Is this possible without using a dialogbox?
    Thank you for your help.

    Hi,
    IjonTichyTS wrote: I have the following problem:
    I have a custom metadata set with two fields, eg:
    1: Name, Type string
    2: URL, Type url, readOnly: true
    In the metadata tagset "URL" is hidden because it is empty and only "Name" is shown.
    If you want the URL value to be permanently visible even when empty, you will need to modify its entry in the metadata tagset as follows:
            -- Note: GPS would otherwise be hidden when no value exists
            {'com.adobe.GPS', alwaysVisible = true, label = 'alwaysVisible'},
    The default for alwaysVisible is false which is why the URL field will normally be hidden.
    IjonTichyTS wrote:
     After an user has entered text in the field "Name" and pressed enter, an url should be generated and shown in the "URL"-field. The entered value from "Name" is a fix part of the "URL".Is this possible without using a dialogbox?
    I suspect you are looking for a way to attach an observer or have an action fire when you change the value of a field in a metadata tagset.  Currently Adobe has not exposed that functionality in their SDK so you will need to work around this using approaches such as John mentions above.
    Matt

  • RFC call in Servlet problem

    Hello,
    I have servlet in my web application module, and I try to make RFC call, within it. I use com.sap.mw.jco.*.
    I compile it but when run the server respond with
    Application error occurs during processing the request.
      Details:   java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO  The ID of this error is
    Exception id: [000C763FB7EE00390000001F000007E800043A148A45F9B4
    I think that I should packaged the jco lib in my war and make it available to servlet, but how can I do this ?
    Thank for any help.

    Hello,
    Thanks a lot Maksim, Bhavik, you helped me.
    I try to make a reference and now the library ClassNotFound error is gone.
    But now I have a next problem with RFC call, I also wrote it to post (Webdynpro VS. Java Servlet). I have a code in which I make RFC call. When I embed this code into regular Java aplication and run, it will return results as I expect. (of course I must run it with jco lib .jar in classpath). But when I run it on my servlet, I got an exception with message: "'mshost' missing"
    I don't know what this supposed to mean, because I run the mentioned application, also from PC where I have j2ee engine installed and it work.
    If you can please help.
    (and thank for your help again (Maksim, Bhavik))

  • Unknown/Junk Characters in RFC call

    Hey All,
        I am having a strange issue in one of the RFC calls made from a Java System to our SAP system. We were getting random errors with this interface( the interface was working well before for a long time) . When I Captured the values sent during the RFC calls I found a lot of junk characters being sent by the other system. Is this the problem of the sending sytem or something in between?
    Has anyone experienced anything like this before.
    Any inputs on what could be the Issue.
    Thanks

    Ash,
    The Java Application is connected to the SAP System using Java Connector.
    aRs,
    The rfc is basically a wraper of standard Bapi "BAPI_REPMANCONF1_CREATE_MTS" for confirmations which has a IMSEG related structure with a lot of QUAN fields. What do you think is the issue with RFC calls and QUAN fields. Becausing changing all the QUAN's to Chars and converting it back to QUAN in the wrapper will be a decently big change.
    I was kindoff ruling out the unicode issue because this interface was working fine for more the 6 months, and we were unicode long time ago.
    One thing I suspect where the Issue could be is the SDK kit for the Java application. We recently Updated our Kernel Version and I think we should Upgrade the SDK';s too which was not done. What do you think??
    Thanks

  • Custom metadata field for GET_FILE in Content Tracker

    Hi ppl,
    I've trying to use content tracker to audit some actions including GET_FILE. The problem is that I need to save a custom metadata field that is not in the localdata resultset.
    I know that I can save all the custom metadata fields in a column such as EXTFIELD_2 but it makes no sense if I need only one field among a hundred.
    Is there any other way?
    Appreciate any thoughts.
    Cya

    Hello,
    Can you please share the steps through which I can map my custom metadata fields with the special Content Tracker fields like extField_1, extField_2 etc.
    Thanks,
    MAK

Maybe you are looking for

  • List items problems in oracle forms 6i

    Hello friends, I am using list item in oracle forms 6i and facing one problem. I am populating list using following built-in. Clear_list() Create_Group_From_Query( ) Populate_list() The problem I am facing is when list gets populate it keep the curso

  • 0HR_PT_2 How to get back historical data for new report time type

    Hi All Expert, We have implemented and using the 0HR_PT_2 extractor for the past whole year. The Delta is working. Recently, there is requirement to read more data from the ZL custer table, and more new BW Report Time Types are added to extract such

  • CommandLink and commandButtonand changing form target

    We're observing some odd behaviour when using a <h:commandLink ...> in a form which also has normal Submit actions. If our commandLink has a target="_blank" (for contextual help) this link works and brings up in a new window. But after that, all form

  • Kodak Gallery iPhoto plug-in and iPhoto 6

    Hi - Recently I downloaded an iPhoto plug-in from kodakgallery.com to more easily upload my photos to the Kodak Gallery website (now that Ofoto Express no longer works). When in iPhoto I select the photos I want to export, select file, select export,

  • Brightness in Windows 8 doesn't change! [MacBook Pro, early 2011]

    Hi, I installed Windows 8 on my MacBook Pro (early 2011) but I'm not able to change the screen brightness: anybody else has this problem? I see when I press the key on my keyboard or if I change directly in Windows 8 I see the overlay on the screen t