Issue in Mapping Public Flex Fields

Hi,
Am trying to use flexfileds in BPM worklist so that I can have additional attributes from the payload associated from the humantask type , in the task header that appears in home page.
Am able to create new label and then tried following steps :-
1. Clicked Edit mappings by task type and selected my task type whose payload attributes are required to be mapped with the flex fields.
2. The value "default/BPMApptoTestFlexFIelds!1.0*soa_edb15646-6a26-4c5d-9543-cde35ec51e6d/HT_FlexFields" gets populated in the fields "Edit mappings by task type".
3. However , it shows the message "There are no simple Payload Attributes associated with this TaskType".
For the payload attribute to appear in the BPM worklist sreen while mapping for the flex field ,
I understand that it should be of simple type . My payload looks like this :-
<?xml version="1.0" encoding="windows-1252" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
elementFormDefault="qualified">
<xsd:element name="AddClient">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ClientName" type="xsd:string"/>
<xsd:element name="LegalFormation" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Please advise if I missed something
Can you please help me on this .
Regards,
Durgadas

Back in the task definition I think you'd define an additional simple type in the data tab (e.g add it to the payload), and in the input mapping for the human task populate that value from the existing payload. The flex fields need to be bound to simple types defined in the payload.

Similar Messages

  • Flex Fields Mapping in HR - BI Apps (hr_file_flex_kff_dff_user_config_map)

    Please refer to the below post for Flex Field Mappings in HR using the file hr_file_flex_kff_dff_user_config_map.csv
    http://download.oracle.com/docs/cd/E20490_01/bia.7963/e19039/anyimp_configworkforce.htm#CIADDICF
    I follow the example of W_JOB_D:
    Job Dimension:
    JOB_CODE
    JOB_NAME
    JOB_FAMILY I think this is typo as the OBAW field is JOB_FAMILY_CODE and not JOB_FAMILY
    Anyways, I need to map other flex fields from EBS, is there any other document that explains it further than in the url I have posted.
    If any of you have carried out this flex mapping for HR analytics using EBS R12, please let me know.

    good question...I have no idea...i looked into this briefly and I am wondering if it has anything to do with the following flexfield limitation..I dont think this is the reason but thought I would mention it. If you find out why this limitation is there, let me know..I would be interested. Also..CHAR datatype has a limitation of 2000 but that doesnt seem to be the problem. I think its a EBS side limitation..not a BI side one.
    Here is the exerpt on hidden flexfields and the link for flexfields:
    "Normally, Oracle Application Object Library can create new code combinations (dynamic insertion) from your form with a foreign key reference using only the concatenated segment values field. However, if you expect the concatenated length of your flexfield to be defined to be larger than 2000 (the sum of the defined segments' value set maximum sizes plus segment separators), then you should create these non-database fields to support the dynamic creation of new combinations from your form.
    *If you do not have these fields and your users define a long flexfield (> 2000 characters), your users can experience truncation of key flexfield data when trying to create new combinations*."
    URL: http://download.oracle.com/docs/cd/E18727_01/doc.121/e12897/T302934T457085.htm

  • Protected Flex field and Custom Views

    Hi,
    I have created some project variables in oracle bpm 11.1.1.6.0 project.After deployment, these variables are coming as Protected flex field but for some reason these are not visible when I define custom views.
    I also tried creating Protected flex field on BPm workspace, mapped these variables to human task payload, yet again when creating custom view i cannot see them.
    This problem is only happening with protected flex field and not public flex field.
    Please let me know how to add protected flex fields in custom view.
    Regards...

    why do you think it's an apps question?

  • BPM11g Migrating Flex Fields

    Does anyone have any experience migrating flex fields in 11g? There is some documentation here in section 20.6:
    http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10226/hwf_mang.htm
    The issue is when exporting the fields the documentation states:
    You must export attribute labels before you export flex field mappings.
    To export attribute labels, use the following values in the migration.properties file:
    objectType = TASK_PAYLOAD_FLEX_FIELD_MAPPING
    migrateAttributeLabel = true
    To export flex field mappings, use the following values in the migration.properties file:
    objectType = TASK_PAYLOAD_FLEX_FIELD_MAPPING
    migrateAttributeLabel = false
    When I do this it does not seem to work correctly. When I set the migrateAttributeLabel = true the export_labels.xml file contains the labels for the Protected Flex fields that are set up in the Business Process Workspace under the Admin tab. When migrateAttributeLabel = false the export_labels.xml contains the labels for the Public Flex Fields. The mappings never seem to be exported.
    Any insight would be appreciated.
    Thanks,
    Bill

    It seems I found solution.
    After extending weblogic domain with Oracle BPM Suite protected flex fields appers and become usable.

  • Issue with Supplier site descriptive flex field upgrade from 11i to R12

    We ran into some issue when upgrade Supplier site descriptive flex field from 11i to R12.
    In 11i. we defined descriptive field on JG_PO_VENDOR_SITES. in the segment definition, we defined one of the attributes default value based on Form Field Value, and the statement is like this:
    SELECT decode(:SITE.COUNTRY,'IT','AP ITALIAN TRANSACTIONS','AP AUTOFATTURA') FROM dual
    All above worked fine in 11i, whenever the flexfield field is open in forms, the default valuse shows based on the real-time value in :SITE.COUNTRY.
    In R12, Supplier site management is in HTML format. There is no forms, which means no form value. Do you have an alternative soluction for implement the same logic in R12?
    Thank you and regards,
    Kate
    Edited by: user12100435 on Feb 12, 2013 9:06 AM

    Kate,
    Have you logged a SR and see if Oracle support can help?
    Thanks,
    Hussein

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • Error While validation segments of Key flex fields in OAF Programmatically

    I have requirement to validation particular segments of Key Flex fields.
    I tried to handle it as below, But I am facing one issue and not able to fix. Please help me as soon as possible.
    public void processFormRequest( OAPageContext paramOAPageContex, OAWebBean paramOAWebBean)
              if(Function_name.equalsIgnoreCase("NWC_TICKET_REQ_HR_SIT_SS"))
              /* OAMessageTextInputBean TicketClass=(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex23");
               OAMessageTextInputBean CompanyShare=(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex16");
               OAMessageTextInputBean TSO=(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex14");
               OAMessageTextInputBean Flight_Reservation =(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex13");
            //   OAMessageDateFieldBean  Traveldate=(OAMessageDateFieldBean)key.findChildRecursive("HrSitKeyFlex11");
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+TicketClass.toString()+":"+TicketClass.getAttributeMap() +" ,"+TicketClass.getValue(paramOAPageContext)+",",1);
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+CompanyShare.toString()+":"+CompanyShare.getAttributeMap() +" ,"+CompanyShare.getValue(paramOAPageContext)+",",1);
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+Flight_Reservation.toString()+":"+Flight_Reservation.getAttributeMap() +" ,"+Flight_Reservation.getValue(paramOAPageContext)+",",1);
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+TSO.toString()+":"+TSO.getAttributeMap() +" ,"+TSO.getValue(paramOAPageContext)+",",1);
                 if(TicketClass.getValue(paramOAPageContext)!=null || CompanyShare.getValue(paramOAPageContext)!=null || TSO.getValue(paramOAPageContext)!=null)
                      throw new OAException("TravelServiceOrder , p_flight_no ,p_ticket_class,p_ticket_amount can not be left Blank. Please enter value");
    Now after first validation I could see the below error:
    Error
    Program error: Please inform your support representative that: FLEXFIELDS SERVER-SIDE VALIDATION package reports error: call_userval() exception: ORA-06508: PL/SQL: could not find program unit being called
    Please suggest me how can I avoid this. This is taking place only during validation. Its urgent for code fix.

    Hi Helios,
    We are using R12.0.6 and db is 10.2.0.3, Linux OS.
    I have checked this Doc ID, which contains following:(below is my checking please)
    Solution
    1. Follow the Note.877352.1 instructions carefully;
    2. Apply the patch 8626820:R12.JG.A;
    3. For packages OKL_... and ICX_ ... please now follow Note.754340.1;
    4. For the FV_... and FUN_.... please follow Note.758497.1;
    5. For the GR_MIGRATE_TO_12 now follow the Note.733646.1;
    (for note's step 5 about patch 6997324 open an SR with Support if you require a password)
    6. Finally, to drop the view called ICX_PO_VENDOR_SITES_V, just execute in a SQL*plus (user APPS) session: drop view ICX_PO_VENDOR_SITES_V;
    My Checking: (I have checked the file version mentioned in below patches also, having same versions of already applied patches)
    1: I have check the patch# 8348599 mentioned in 877352.1 not already applied, so should I apply it?
    2: I have check the patch# 8626820 mentioned in step#2 not already applied, so should I apply it?
    3: I have check the doc id 754340.1 which containg the following patches:
    - 7641584 -------> Already appled
    - 8201911 -------> Already Not appled ----------> Should apply this?
    - 7659470 -------> Already appled
    - 6708042 -------> Already appled
    - 7662017 -------> Already appled
    4: I have check the doc id 758497.1 which containg the following patches already appled:
    - 7376249 -------> Already appled
    - 7372270 -------> Already appled
    - 7372268 -------> Already appled
    5: I have check the patch# 6997324 mentioned in step#5 already applied.
    6: I have checked this view ( ICX_PO_VENDOR_SITES_V) is not exist. what should I do?
    Thanks,
    fazijee

  • Using Flex Fields in BPM worklist

    Hi,
    Am trying to use flexfileds in BPM worklist so that I can have additional attributes from the payload associated from the humantask type , in the task header that appears in home page.
    Am able to create new label and then tried following steps :-
    1. Clicked Edit mappings by task type and selected my task type whose payload attributes are required to be mapped with the flex fields.
    2. The value "default/sampleta!1.0*soa_b4396581-d005-4374-be29-5cd725c3e134/Humantask" gets populated in the fields "Edit mappings by task type".
    3. However , it shows the message "There are no simple Payload Attributes associated with this TaskType".
    I thought that I need to make use of Mapped Attributes section in the Data tab found in humanworkflow task . However when I tried adding attribute there it showed me following error message :-
    Error in workflow service Web service operation invocation.
    Error in workflow service Web service operation invocation. The error is ORA-30501:Error in authenticating user.
    Error in authenticating and creating a workflow context for user jazn.com/dev_soa_admin.
    Verify that the user credentials and identity service configurations are correct.
    Verify that the SOAP connection information for the server is correct.
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.convertSOAPFaultException(TaskQueryServiceSOAPClient.java:242)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:203)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:253)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:167)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:185)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupUtil.listAttributeLabels(LookupUtil.java:436)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupUtil.listProtectedAttributeLabels(LookupUtil.java:406)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupDataProviderImpl.handleFlex(LookupDataProviderImpl.java:105)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupDataProviderImpl.getResult(LookupDataProviderImpl.java:38)
         at oracle.tip.tools.ide.workflow.api.FlexFieldDetailsPanel.initializeAttributeCombo(FlexFieldDetailsPanel.java:175)
         at oracle.tip.tools.ide.workflow.api.ConnectionComponent._applicationServerChanged(ConnectionComponent.java:350)
         at oracle.tip.tools.ide.workflow.api.ConnectionComponent.access$1000(ConnectionComponent.java:60)
         at oracle.tip.tools.ide.workflow.api.ConnectionComponent$1.run(ConnectionComponent.java:361)
         at java.lang.Thread.run(Thread.java:619)
    ORABPEL-30044
    I have couple of questions :-
    1. For the payload attribute to appear in the BPM worklist sreen while mapping for the flex field , I understand that it should be of simple type . My payload looks like this :-
    <ns:employees>
    <ns:employee>
    <ns:name>John</ns:name>
    <ns:age>37</ns:initiator>
    <ns:salary>20000</ns:salary>
    </ns:employee>
    </ns:employees>
    I expected name , age , salary to appear in BPM worklist for mapping after I select task type against "Edit mappings by task type" while doing flex field mapping however it is showing me : There are no simple Payload Attributes associated with this TaskType
    2. Please advise if I need to anything extra like adding mapped attributes (in Data section of Humantask) or Collections in Task parameter window .
    Can anyone please help me on this .
    Thanks in advance !

    Are you sure the xml is correct here:
    <ns:employee>
    <ns:name>John</ns:name>
    <ns:age>37</ns:initiator>
    <ns:salary>20000</ns:salary>
    </ns:employee>
    It should be <ns:age>37</ns:age>, I believe.
    I have a xsd definition like this:
    <element name="loanApplication">
    <complexType>
    <sequence>
         <element name="SSN" type="string"/>
         <element name="email" type="string"/>
         <element name="customerName" type="string"/>
         <element name="customerAge" type="int"/>
         <element name="customerAnnualIncome" type="double"/>
         <element name="city" type="string"/>
         <element name="state" type="string"/>
         <element name="country" type="string"/>
         <element name="loanAmount" type="double"/>
         <element name="carMake" type="string"/>
         <element name="carModel" type="string"/>
         <element name="carYear" type="string"/>
         <element name="creditRating" type="int"/>
         <element name="creditRisk" type="string"/>
         <element name="creditMaxAmount" type="double"/>
    </sequence>
    </complexType>
    </element>
    And I am able to do the mapping without any issues.

  • Issue in mapping.. Source message expect with prefix ns0 in input message!

    Issue in mapping.. Source message expect with prefix ns0 in input message
    Hi All,
    I used the XSD structure which I got from partner which starts like below.
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xxxx.com/DirectSales/CustomerData" xmlns:prodata="urn:schemas-progress-com:xml-prodata:0001" xmlns="">
    <xsd:element name="CustomerRequest" prodata:proDataSet="true">
    I'm receiving the messages through SOAP adapter and the message looks like below.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Technical Routing --> <CustomerRequest xmlns='http://XXXX.com/DirectSales/CustomerData' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:SE='http://schemas.xmlsoap.org/soap/encoding/'>
    The message is failing during mapping. When i checked in message mapping, I found that the input source message is expecting with prefix "ns0" like <ns0:CustomerRequest...
    how I can solve this issue? Is there anyway I can add the prefix "ns0" before it comes to mapping step.?
    Thanks
    Deepthi

    Hi Guys,
    I tried to use the below paramter.
    anonymizer.acceptNamespaces         'http://XXXX.com/DirectSales/CustomerData  ns0
    The ns0 is coming in all the tags including segments and fields. I just want ns0 to come only at the root level ie <ns0:customerReq..>
    it is coming like below...
    - <ns0:CustomerRequest xmlns:ns0="http://XXXXXX.com/DirectSales/CustomerData">
    - <ns0:ttCustomer>
      <ns0:branch-num>1424</ns0:branch-num>
      <ns0:cust-num>121</ns0:cust-num>
      <ns0:contact-code>3</ns0:contact-code> 
       </ns0:ttCustomer>
      </ns0:CustomerRequest>
    I want the message to come as
    - <ns0:CustomerRequest xmlns:ns0="http://XXXXXX.com/DirectSales/CustomerData">
    - <ttCustomer>
      <branch-num>1424</branch-num>
      <cust-num>121</cust-num>
      <contact-code>3</contact-code> 
       </ttCustomer>
      </CustomerRequest>
    Kindly help me with the paramater value  to be passed for anonymizer.acceptNamespaces.
    Thanks
    Deepthi

  • Adding Flex-field to Custom View in the Worklist

    Hi,
    I am using OAS10133. I have mapped a SIMPLE_TYPE payload attribute to a flex field label in the worklist. I created a custom view. I want to display this playload attribute as a column in custom view and want to make it searcheable. But when I create the custom view, then at the time of selecting the columns, I do not find the name of this label listed in the dropdown.
    I have also made an entry in WorkFlowLabels.properties file.
    Can anyone please let me know if I need to follow any other step to display the flex field label as a column in custom view?
    Thanks in advance.
    -sam

    Hi Pete,
    There are two exits that were used.
    A user exit IMRC0001 (MeasPoint/MeasDoc: Exit before update (after COMMIT WORK) /  FM: EXIT_SAPLIMR0_001) for the transaction IK11 to enter the value for the custom field. When the measuring document is saved a pop up appears wherein the value for the custom field can be entered.
    A menu exit IMRC0003 (MeasDoc: Menu exit for customer-specific function / FM: EXIT_SAPLIMR0_003) for the transaction IK12 in order to change the custom field.

  • Unable to place a value in Flex Field in OAF page

    Hi all,
    I am unable to place this flex value in the flex field, but i can do this same thing in a normal "Text Field" am able to reterive that number and place in that text field .
    Problem is placing the same in Flex field , please suggest me how to do this .
    I have one Function Standard one that i am calling here and making use of that i can call that function and am able to get that value and place in a "Text Field" but the same thing i couldn't place in the "Flex Field" how to do this any idea am thank full to them. Its a very urgent issue i have to solve this.
    MY Controller Code:
    OAKeyFlexBean revenue = null;
    String s8 = pageContext.getParameter("Purpose");
    revenue = (OAKeyFlexBean)webBean.findIndexedChildRecursive("reveFF"); ------------------- this is the Flex Field where i have to place the output
    revenue.useCodeCombinationLOV(true);
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String revenuenum = resultset.getString(1);
    revenue.mergeSegmentsWithParent(pageContext);
    revenue.setStructureCode( ); ---------------------- What i have to give here
    revenue.setCCIDAttributeName("GlIdRev"); ---------------------- Attribute Name
    revenue.useCodeCombinationLOV(false);
    revenue.setAttributeValue(FLEXFIELD_SEGMENT_LIST, revenuenum); ------------- How to use this FLEXFIELD_SEGMENT_LIST (unable to retrieve anything)
    revenue.setText(revenuenum);
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    Standard function i have:
    create or replace FUNCTION SDS_CUST_BILL_INFO(P_ORG_ID IN NUMBER,P_ACC_TYPE IN NUMBER) RETURN VARCHAR2
    AS
    *- Purpose: This PL/Sql program that will return GL_ID_RECEIVING_ACCOUNT or GL_ID_REVENUE_ACCOUNT
    *- information for new Customer BIll_TO site
    V_ACCOUNT VARCHAR2(2000);
    BEGIN
    BEGIN
    SELECT TRUNC(SEGMENT1)||'-'||TRUNC(SEGMENT2)||'-'||SEGMENT3||'-'||TRUNC(SEGMENT4)||'-'||SEGMENT5||'-'||SEGMENT6||'-'||SEGMENT7
    INTO V_ACCOUNT
    FROM GL_CODE_COMBINATIONS GCC
    ,HR_ORGANIZATION_UNITS HOU
    ,RA_CUST_TRX_TYPES_ALL RCTA
    WHERE HOU.ORGANIZATION_ID = RCTA.ORG_ID
    AND HOU.ORGANIZATION_ID = P_ORG_ID
    AND GCC.CODE_COMBINATION_ID = DECODE(P_ACC_TYPE,1,RCTA.GL_ID_REC,2,RCTA.GL_ID_REV)
    AND UPPER(RCTA.NAME) = 'INVOICE'
    AND HOU.ATTRIBUTE3 = 'Y';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    V_ACCOUNT := NULL;
    WHEN OTHERS THEN
    V_ACCOUNT := NULL;
    END;
    RETURN(V_ACCOUNT);
    END;

    Hi parag,
    You mean to say i have to write like this :--
    if (pageContext.getParameter("apply")!=null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject accountsViewObject =
    (OAViewObject)am.findViewObject("ArBusPurAllVO");
    if (accountsViewObject!=null)
    OARow row = (OARow) accountsViewObject.getCurrentRow();
    if (row.getAttribute("GlIdRev") == null || row.getAttribute("GlIdRev").equals(""))
    //call your function here and say row.setaatribbute= revenue_acct_id from your function.
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String revenuenum = resultset.getString(1);
    row.setaatribbute(revenuenum) ;
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    if (row.getAttribute("GlIdRec") == null || row.getAttribute("GlIdRec").equals(""))
    //call your function here and say row.setaatribbute=rec_acct_id from your function.
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String receivablenum = resultset.getString(1);
    row.setaatribbute(receivablenum) ;
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    super.processFormRequest(pageContext, webBean);
    Am I, correct parag please tell me, if this works i will send u mail again that it is working fine .
    my mail id is [email protected]

  • Getting error in Trail Balance Report's accounting flex field values

    Hi guys,
    whenever run the Trail Balance program I am getting some error in Accountng Flex Field value for particular account or transaction.Actually I am not able to find excat error in report why it came. plz tell me how to identify and how to check from backend table's link. I just share some transaction data plz see it :
    ACCOUNTS     Description     Accounting Flexfield     Beginning Balance      Period Activity      Ending Balance
    155000     STOCK-SERVICE CENTRE     01.004.000.0014.155000.0000000.050.000     -      4,514.98      4,514.98
    155000     STOCK-SERVICE CENTRE     ** CODE=GL#, NUM=50249 : invalid segment     -      4,155.00      4,155.00
    162212     STAFF - IMPREST     01.019.000.0000.162212.S900034.000.000     10,293.00      -      10,293.00
    162212     STAFF - IMPREST ** CODE=GL#, NUM=50249 : invalid segment     (2,530.00)     -      (2,530.00)
    162212     STAFF - IMPREST     01.019.000.0000.162212.S900035.000.000     950.00      -      950.00
    plz look under line value and give me solution............it's urgent
    Thanks
    Edited by: 811373 on Jul 22, 2011 9:42 AM

    Please see if these docs help.
    GLXRBUDA flexfield displays** CODE=GL#, NUM=101 : invalid Segment ** [ID 139400.1]
    AXXGRSLR: Customer Subledger By Account Shows "Invalid Segment" Row [ID 444717.1]
    If you still have the same issue, please log a SR.
    Thanks,
    Hussein

  • Issue in Mapping Qualified Table in Import Manager

    Hi Experts
    I have extracted Customer data from R/3 ECC, I could successfully loaded reference data, but when trying to load Main table data (Using DEBMDM06 MAP) I am getting mapping issues with Qualified table (Sales Data and Bank Details).
    Error Messages
    Map 'Sales Data' field to import qualifier(s)
    Map 'Bank Detals' field to import qualifier(s)
    I have checked and found that all the field and value mapping is in place, If i remove mapping for the qualified table fields then the data is ready to import.
    What is the issue, and how do I import Qualified Table data.
    Appreciate your inputs
    Gaurav.

    Hi vickey ,
    Kindly go through the below link it will help you understand better the mapping the workinga nd importing of Qualified tables:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00a15239-684e-2b10-b8ae-b936b7d1c1fe
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c03240fa-cc3e-2b10-aa9a-a5798e319a6e(Qualified importing with main table)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Mapping ECC PO fields to R/3 PO fields

    Hi Experts,
    I was trying map ECC Po fields to R/3 fields which are not mapping in standard way automatically. Like Tracking No and Good Recipient name.
    I am using the BADI BBP_ECS_PO_OUT_BADI to map these fields.
    However i am able to map and see those fields in the back end.
    The same thing i was trying to do for the Text fields. Suppose, mapping vendor text to item text .these fields are not able to transfer through this BADI.
    for this i am using the BADI BBP_PO_INBOUND_BADI in R/3 to map these fields . I am able to map and see those text fields in R/3 also. But wonder now i am not able to see Tracking No and Good Recipient name fields in R/3 .
    Any pointer to solve this issue, really a help for me.
    Thanks in Advance.

    Hi Disha ,
    Thank you so much for your reply ,
    Actually i have implemted the BBP_ECS_PO_OUT_BADI this BADI only in SRM side .When i have implemeted i can see Tracking No and Goods recipient are mapping correctly in Back End . But the thing is only the text fields are not mapping the correctly. though code was correct .
    So i have implemeted the BBP_PO_INBOUND_BADI BADI in the R/3 side , through this one i can able to map the text fiedls , where as this time Tracking No and Goods recipient are not mapping .Any pointers for this , will really help for me .
    *See my code for BBP_ECS_PO_OUT_BADI*
    *Vendor text at line item level of SRM PO should be passed to
    *u2018Item Textu2019 at R/3 PO line item level.
      LOOP AT it_item INTO WA_PO_ITEM.
        Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = WA_PO_ITEM-guid
                                                         tDid = 'ITXT'.
        IF SY-SUBRC EQ 0.
          W_PO_ITEM_TEXT-PO_NUMBER = WA_PO_ITEM-BE_OBJECT_ID.
          W_PO_ITEM_TEXT-PO_ITEM  = WA_PO_ITEM-NUMBER_INT+5(5).
          W_PO_ITEM_TEXT-TEXT_ID   = 'F01'.
          W_PO_ITEM_TEXT-TEXT_FORM = '*'.
          W_PO_ITEM_TEXT-TEXT_LINE = WA_LONGTEXT-TDLINE.
          APPEND W_PO_ITEM_TEXT TO CT_BAPI_POITEM_TEXT.
        ENDIF.
    *Internal Note at line item level of SRM PO should be passed to
    *u2018Info record noteu2019 at line item level of R/3 PO
        Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = WA_PO_ITEM-guid
                                                           tDid = 'NOTE'.
        IF SY-SUBRC EQ 0.
          W_PO_ITEM_TEXT-PO_NUMBER = WA_PO_ITEM-BE_OBJECT_ID.
          W_PO_ITEM_TEXT-PO_ITEM  = WA_PO_ITEM-NUMBER_INT+5(5).
          W_PO_ITEM_TEXT-TEXT_ID   = 'F06'.
          W_PO_ITEM_TEXT-TEXT_FORM = '*'.
          W_PO_ITEM_TEXT-TEXT_LINE = WA_LONGTEXT-TDLINE.
          APPEND W_PO_ITEM_TEXT TO CT_BAPI_POITEM_TEXT.
        ENDIF.
      ENDLOOP.
    *Vendor Text at PO header level should be passed onto R/3 PO header text field.
      Read table IT_LONGTEXT into wa_LONGTEXT with key Guid = IS_HEADER-GUID
                                                       tDid = 'HTXT'.
      IF SY-SUBRC EQ 0.
        WA_Header_text-PO_NUMBER = IS_HEADER-BE_OBJECT_ID.
       WA_Header_text-PO_ITEM  = WA_PO_ITEM-NUMBER_INT+5(5).
       WA_Header_text-PO_ITEM+4(1)  = '0'.
        WA_Header_text-TEXT_ID   = 'F02'.
        WA_Header_text-TEXT_FORM = '*'.
        WA_Header_text-TEXT_LINE = WA_LONGTEXT-TDLINE.
        APPEND WA_Header_text TO CT_BAPI_POHEADER_TEXT.
      ENDIF.
    *Map the Tracking No
      LOOP AT it_item INTO WA_PO_ITEM.
        Read table CT_BAPI_POITEM into WA_BAPI_ITEMS with key PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
        WA_BAPI_ITEMS-TRACKINGNO = WA_PO_ITEM-BE_TRACKING_NO.
        MODIFY TABLE CT_BAPI_POITEM FROM WA_BAPI_ITEMS TRANSPORTING trackingno.
      ENDLOOP.
    *The user id of the Partner Function u2018Goods recipientu2019 is map to
    *R/3 Goods Recipient field
      LOOP AT it_item INTO WA_PO_ITEM.
        Read table IT_PARTNER into wa_partner with key P_GUID = WA_PO_ITEM-guid
                                                       PARTNER_FCT = v_grfun.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE CHUSR
                 FROM BUT000
                 INTO v_grname
                 WHERE PARTNER_GUID = WA_PARTNER-PARTNER_NO.
          Read table CT_BAPI_POACCOUNT into WA_POACCOUNT with key PO_ITEM = WA_PO_ITEM-NUMBER_INT+5(5).
          WA_POACCOUNT-GR_RCPT = V_GRNAME.
          MODIFY TABLE CT_BAPI_POACCOUNT FROM WA_POACCOUNT TRANSPORTING GR_RCPT.
        ENDIF.
      ENDLOOP.
    endmethod.
    See my code BBP_PO_INBOUND_BADI
    APPEND LINES OF bbp_potextheader TO bapi_potextheader.
    APPEND LINES OF BBP_POTEXTITEM TO BAPI_POTEXTITEM.
    Evem i tried to map these traking no and good recipient fields in the R/ 3 , I have this piece of code in the Back end , But couldnt work for me.
    LOOP AT BBP_POITEM INTO WA_BBP_POITEM.
       Read table BAPI_POITEM into WA_BAPI_POITEM with key PO_ITEM =
              WA_BBP_POITEM-PO_ITEM.
       WA_BBP_POITEM-TRACKINGNO = WA_BBP_POITEM-TRACKINGNO.
      MODIFY table BAPI_POITEM FROM WA_BAPI_POITEM TRANSPORTING trackingno
       Read table BBP_POACCOUNT into wa_BBP_POACCOUNT with key PO_ITEM =
               WA_BBP_POITEM-PO_ITEM.
       wa_BAPI_POACCOUNT-GR_RCPT = wa_BBP_POACCOUNT-GR_RCPT.
       MODIFY table BAPI_POACCOUNT FROM wa_BBP_POACCOUNT TRANSPORTING
    GR_RCPT.
    ENDLOOP.
    Loop at BAPI_POITEM into wa_BAPI_POITEM.
       Read table BAPI_POITEMX into wa_BAPI_POITEMX with key PO_ITEM  =
    wa_BAPI_POITEM-PO_ITEM.
       wa_BAPI_POITEMX-TRACKINGNO = 'X'.
    MODIFY table BAPI_POITEMX FROM wa_BAPI_POITEMX TRANSPORTING TRACKINGNO
    Read table BAPI_POACCOUNTX into wa_BAPI_POACCOUNTX with key PO_ITEM  =
    wa_BAPI_POITEM-PO_ITEM.
       wa_BAPI_POACCOUNTX-GR_RCPT = 'X'.
       MODIFY table BAPI_POACCOUNTX FROM wa_BAPI_POACCOUNTX TRANSPORTING
      GR_RCPT.
    Endloop.

  • Defaulting the mandatory field to space in a flex field - Urgent...

    Hi ,
    I have a flex field which is used to render address based on the country selected ( Country is an LOV..)
    The flex field details are.
    Appl Short Name: AR
    Name: Remit Address HZ
    Type: descriptive
    Address Line 1 is mandatory in the flex field configuration.
    My requirement is to default the Address Line 1 with space which I am doing by setting the vo.setAddressLine1(" ")
    once the VO is initialized and in the screen Address Line 1 is getting defaulted to space.
    But if the user removes the space in it and tabs out, even then I have to default the Address Line 1 with space.
    (i.e. if Address Line 1 is null then I have to default it to space)
    But as it is a flex field it does not have any Action Type. How can I default it if the user makes the field null..
    I tried in the VORowImpl to set the value to space if it is null but it is not working...
    public String getAddress1() {
    String value = (String) getAttributeInternal(ADDRESS1);
    if ( value == null || "".equals(value ) )
    return " ";
    return (String) getAttributeInternal(ADDRESS1);
    When the user makes this field as null and clicks on Apply button, the form validation appears saying the field
    is mandatory.( I cannot set the Disable Client Side validation to True for the Apply Button..)
    Is there a way
    1. To set the value of the VO attribute to space if it is made null
    or
    To set the VO attribute to a space before the form validation error appears?

    Hi Friends,
    I got the answer. The following link gives the details.
    http://www.oraclearea51.com/oracle-technical-articles/oa-framework-articles/184-set-dff-segment-required-in-oaf.html

Maybe you are looking for

  • JDI: Cannot EDIT a java source file in a loaded, inactive DC

    I have finished JDI Scenario 2+.  I have since built a new workspace and imported my Development Configuration.  I would now like to edit the java code and do a re-deployment. Problem: I cannot Edit the file; it is read-only.  I was able to edit the

  • Ad-Hoc Query reporting off of Payroll Results Infotypes

    Dear Experts, Has anyone used the Payroll Results Infotypes (IT0448 - IT0464) to create Payroll Results reports using Ad-hoc query? I would appreciate it if someone could enlighten me as to how to get the Cluster Data into these Infotypes. Cheers, Ve

  • NAT and DNS

    I am about to deploy a mail server for a small company behind a NAT router. The company makes use of DNS servers maintained by their ISP. The OS-X Mail server will be located behind the NAT with a private IP. Instead of mapping services, I am going t

  • Pacman-color(-testing) needs to depend on "pacman=${pkgver}"?

    Hey, So I've been thinking about this for some time now and I'd be interested in hearing other people's opinions about this. So my package pacman-color-testing currently depends on "pacman=${pkgver}" - meaning it requires the same version of pacman a

  • Outlook Express message database

    Hi all, After moving my Utilities folder (which contains the OE database) to an external hard disk, and then moving it back again (had to free up some space temporarily), Outlook Express starts as if for the first time: no preferences set, and what's