Add additional to LOV using CUSTOM.pll

Form: CSIMEDIT
Block: CSI_T_PARTY_ACCOUNTS
Field: BILL_TO_ADDRESS
The LOV ACCOUNT_BILL_TO from the field BILL_TO_ADDRESS only has 2 columns but I need to add 2 more columns. How can I do it in Custom.pll?
The first column is site_use_id, the second column is party_address. Currently, I concatenated the third column 'status' with party_address, the LOV show both information. However, after I picked the address and saved it, I got an error message when I click on the LOV button again due to the party_address query only contains party_address and it is different from the LOV list which is containing the part_address and status. It failed the validation.
I also tried to use another LOV 'SERIAL_NUM' that has 5 columns. Then set property:
lov_id := FIND_LOV('SERIAL_NUM');
rg_id := FIND_GROUP(rg_name);
SET_LOV_PROPERTY(lov_id, group_name, rg_name);
-- set Title --
Set_Lov_Property(lov_id, TITLE, 'Bill To Address' ) ;
-- set column properties --
set_lov_column_property(lov_id,2,TITLE,'Bill To');
set_lov_column_property(lov_id,2,WIDTH,25);
set_lov_column_property(lov_id,3,TITLE,'Status');
set_lov_column_property(lov_id,3,WIDTH,5);
-- hide other columns --
set_lov_column_property(lov_id,1,WIDTH,0);
set_lov_column_property(lov_id,4,WIDTH,0);
set_lov_column_property(lov_id,5,WIDTH,0);
But I got error message: FRM-41826: Cannot replace group;columns don't match LOV.
Please help!
Thanks.

Hi Donny thanks for ur reply,
As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
Bit urget
If any one is having coding can pls send me to my mail id :[email protected]
Regards
Siva

Similar Messages

  • How to add New Menu Bar using Custom.pll

    Hi All,
    I have developed a form based on the Oracle Apps form.For standard form i have to add one more menu bar in tools menu using custom.pll,i'm using 11.5.8 version.
    So can any one help me in thi regards as i'm new to this custom.pll,How can we add that New menu bar item and how can we open the custom.pll
    where we have to write the code and all the stuff.Which we have to use like wise.
    If any one is having the code on the regarding u can please pass me.
    Help me in this as it is urget to the client.
    Regards
    Siva

    Hi Donny thanks for ur reply,
    As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
    If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
    Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
    Bit urget
    If any one is having coding can pls send me to my mail id :[email protected]
    Regards
    Siva

  • Setting Default values for field using custom.pll

    Hi All,
    I have an rquirement to set the default values on Meterial Tranasction screen for some condition
    I tried it in both ways via Form Personalization and using custom.pll
    i m using the following code in custom.pll
    form_name      varchar2(30):= name_in('system.current_form');
    block_name varchar2(30):= name_in('system.cursor_block');
    trx_type           varchar2(30);
    subinv                varchar2(30);
    begin
    if form_name='WIPTXMAT' and block_name ='MTL_TRX_LINE' then
    if event_name ='WHEN-VALIDATE-RECORD' then
         trx_type:=name_in('WIPTXMAT.TRANSACTION_TYPE');
    if trx_type ='WIP Return' THEN
         copy(10,'MTL_TRX_LINE.TRANSACTION_QUANTITY');
              copy(10,'MTL_TRX_LINE.NUMBER_OF_LOTS_ENTERED');
              sinv:=trim(name_in('MTL_TRX_LINE.SUBINVENTORY_CODE'));
              if sinv is null then
                   copy(subinv,'MTL_TRX_LINE.SUBINVENTORY_CODE');
                   copy(fr_locator,'MTL_TRX_LINE.LOCATOR');
                   FND_MESSAGE.SET_STRING(sinv);
                   FND_MESSAGE.SHOW;
              end if;
         end if;
    end if;
    end if;
    end event;
    Problem is that default values are getting set but not for all rows . if there are 4 records then values are set for only first 2 rows and if there are 2 rows then defaults are set for 1st row only.
    Same behaviour happens when i do it via form personalization
    i couldn't understand the behaviour of WHILE-VALIDATE-RECORD event..
    Please provide some suggestion on it. its really urgent.
    Thanks in Advance
    Renu

    Works Now...

  • Using Custom.pll on AP Invoices form goes into error in 11.5.10.1

    Hi All,
    I am trying to do some customization on APXINWKB (Invoices form) using CUSTOM.pll. But whenever i am trying to open the form after adding the code in CUSTOM.pll i am getting the following error:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_EURO_USER_RATE_API", line 173
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_CURRENCY_API", line 327
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-ITEM-INSTANCE trigger raised unhandled exception ORA-06502.
    I am trying to display a a small message in the new form instance of the above form thru CUSTOM.pll, nothing more than that!!. If i remove the coding, the form is working perfectly. My oracle apps version is 11.5.10.1
    Can any body help me??
    Raj

    Hi Helios,
    Thank you for the update, actually the problem is solved.
    The issue is : Whenever i am trying to show a message in that form using either form personalization or CUSTOM.pll, it is giving the error, if i do any thing else like 'changing the default where clause etc', it is not giving any error. The problem is only with message. Actually my requirement is changing the where clause, which is happening with out any problem. I dropped the idea of showing the message any way.
    This problem is strange. Any ways, i am raising an SR with Oracle.
    Raj

  • FRM-40815: Form Error, using CUSTOM.pll

    Hello,
    I am trying to customize WIP Lot Transactions Oracle Standard Form using CUSTOM.pll.
    Upon navigating to one of the 3 blocks in the form(RESULTING_LOT), I am getting following error message:
    "FRM-40815: Variable GLOBAL.CLRREC_NOVALIDATE does not exist"
    This global variable is not used in CUSTOM.pll at all. But is initialized and used in the standard form only.
    When custom code is turned off, there is no error message.
    Please advise.
    Thanks,
    Krishna.

    Hi,
    Thanks for the response.
    I have created a custom profile and attached it users and Profile value has the organization names.I want the User A with Org1 value in the profile to see all the GL Batches which is created by any other user who belongs to only Org1. Say another user User B with Org2 as the profile value should not see any GL batches created by any other user in the GL Journal Form belonging to other Org's.I'm able to restrict the batches using the below query using the personalizations in the Record Group for the Batch Name.But if the user doesnt give any search criteria and then selects Find then the main form displays all the batches. Hence I want to overide the Data Block where to display accordingly.
    select a.name from gl_je_batches a
    where 1=1
    and a.created_by in (select b.user_id from
    fnd_user b,
    fnd_profile_option_values c,
    fnd_profile_options d
    where c.profile_option_id =d.profile_option_id
    AND c.level_value = b.user_id
    AND profile_option_name='KAP_USER_ORGANIZATION'
    AND c.profile_option_value =(select profile_option_value
    from fnd_profile_option_values e
    where e.level_value =fnd_profile.value('USER_ID')
    and profile_option_id=d.profile_option_id)
    Thanks,
    Ashwini.

  • BAPI to add additional partner functions in customer master(KNA1)

    Hello All,
    I wanted to add additional partner functions(2) to the list of partner functions which gets added by default while creating a customer. I am currently using BAPI_CUSTOMER_CREATEDATA1 to create the customer master. There i do not find any option to add my partner functions.
    NOTE: I need to update KUNN2 field as well while adding my partner functions.
    Could anyone please help here?
    Regards,
    Jay

    Hi,
    No you should not feel confident with SD_CUSTOMER_MAINTAIN_ALL.
    It is used for only one very special case. The maintenance of consumer. And this should only be true from the transaction itself.
    There exists other cases, one of the oldest one is the BAPI_CUSTOMER_CREATEFROMDATA1. But is is exclusively reserved for SAP Online store.
    Despite the fact CMD_EI_API is quite difficult to use, it has the main benefit that is it supported if being triggered directly.
    For the maintenance of customers, there is NO BAPI and NO direct function module.
    There are some functions modules like the one above where the name is looking nice. But these should not be used.
    The only valid solutions are :
    Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See note 384462
    Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
    Hope this helps
    BR
    Alain

  • Messaging using CUSTOM.pll

    Hello,
    I have registered a message named 'HAC_ASN_PO_ALERT' with the message type 'Note'. I have generated the message and am using the CUSTOM.pll to show the message when a specific event occurs. I am using the code below to call the message.
    FND_MESSAGE.SET_NAME('HAC','HAC_ASN_PO_ALERT');
    FND_MESSAGE.SET_TOKEN('ASN_STRING',x_asn_string);
    FND_MESSAGE.ERROR;
    This works just fine, the message displays when I want it to, but it shows with the error bell as an error message. I wanted to display the message as a note with the note icon. I have looked at the FND_MESSAGE package and there is not a procedure called NOTE. I tried SHOW, but I got an error. Can anyone please help me to get this message to display correctly?
    Thank you,
    Mike

    I am facing the same issues in R12.. Any solution for this.
    Thanks in Advance.
    Chetan

  • Add additional elements to a Custom BO

    Hey,
    I´m facing the following problem in my Custom BO. I want to add other elements to my existing Custom BO.
    In order to achieve this, I defined two elements in the Custom BO and activated the Custom BO.
    Then I add the two elements to my existing Webservice and activated it too
    Now when I execute my webservice, I get the following error message:
    Can anybody help me to solve my problem?
    Best regards
    Sebastian

    In order to check my webservice, I created an SOAP Project.
    When I execute my SOAP Project the following error occur:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
       <soap:Body>
          <soap:Fault>
             <faultcode>soap:Server</faultcode>
             <faultstring xml:lang="en">RABAX occurred on server side</faultstring>
             <detail>
                <sap:Rabax xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/generic">
                   <SYDATUM>20140904</SYDATUM>
                   <SYUZEIT>140723</SYUZEIT>
                   <ERRORCODE>MESSAGE_TYPE_X_TEXT</ERRORCODE>
                </sap:Rabax>
             </detail>
          </soap:Fault>
       </soap:Body>
    </soap:Envelope>
    Then when I look in the Business Communication Monitoring the above mentioned error will be displayed. I dont know how to get more information about the error message and I dont know anything about this node  $t.L2S_CREZONE4E21178EA5ED4EBC .
    I just add two additional elements in my Custom BO. Before my changes the webservice works fine.

  • How to call trigger event when the checkbox is checked using custom.pll

    Hi,
    In recipt form i have one checkbox.when i check the box the popup should be open.
    how to check the check box is checked or not.
    any one help.me.
    Regards,
    M.Soundrapandian.

    You can probably do this easier using forms personalization - pl see ML Doc 279034.1 for details
    HTH
    Srini

  • FRM-40734: Internal PL/SQL error by using delete_group in CUSTOM.pll

    Hi,
    I am dynamically changing an LOV using CUSTOM.pll and it is working fine initially when i enter the form. If I change one field, it needs to be changed again. For this I am using delete_group and again create_group_from_query. Here delete_group is throwing an error FRM-40734: Internal PL/SQL error.
    Please help me on this.
    Thanks In Advance,
    Hima

    can you post us your code?

  • Custom.pll library?

    Hi guys,
    How can I use custom.pll library to checking those newly add records on screen? Here is the example:
    1) There are 2 records on screen from interface in Purchase Order Form
    2) User manual add 1 record in Purchase Order Form
    3) When use save the record, I want to do some checking for those record added by user manually (should be no. 3 lines in this case)
    How can I perform this checking in custom.pll library?
    Best Regards,
    Amy

    General EBS Discussion
    in above forum are the EBS gurus, which maybe know faster a solution for your EBS-Forms-Questions

  • How to close a custom form from CUSTOM.pll

    Dear Friends,
    We need your help on the following issue related to Oracle Apps Forms.
    We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
    To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
    We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
    The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
    we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
    Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
    Thanks,
    Uma

    I thing you haven't any (supported) option to close a form via custom.pll.
    For a long time, we have search a solution for the same problem without any result.

  • Need Help on Custom.pll

    hi all,
    Pl tell me how is it possible to disable the Save functionality in the Forms Using Custom.pll. My requirement is to see that the SAVE functionality should not happen when the user uses CTRL-S from the keyboard.
    I am able to disable the SAVE button from the Menu but I want to do the same for CTRL-S keyboard action.
    Is there any property that can be used at the forms level from custom.pll to disable the commit action.
    Thanks in advance.
    Thanks & Regards
    Sanjiv Chawan

    Why wouldn't you post in the proper forum, i.e the Forms forum

  • Custom.pll to set block to read only

    Hi all,
    I want to use custom.pll to make the item revisions
    form read-only for certain responsibilities in 11.5.9.
    What is the best property to set to accomplish this?
    Alterable_plus looks like a good candidate...
    Thanks,
    Scott

    Actually, it looks like alterable_plus works at the item level - is there a property I can set for the block?
    Thanks,
    Scott

  • Fetching IP Address of Local system in CUSTOM.pll

    Hello All,
    We have a requirement as per which we have to fetch the IP address of Client machine. I am using below query to fetch the IP address. Whenever I run the below query into TOAD, I get the IP addresss of my system. However, when I use the same query in CUSTOM.pll, it is fetching the IP address of application server.
    ---------------- Select Query -----------------------
    SELECT sys_context('userenv','ip_address')
    INTO l_ip_address
    FROM dual;
    How do I get IP address of my system while using CUSTOM.pll. Any pointers on this is highly appreciated and reply back to me on email id [email protected]
    Thanks & Regards,
    Abhishek Tiwari

    Hi user;
    Please check http://newgendba.blogspot.com/2009/04/how-to-get-client-ip-address-for.html
    I hope, It would gives u some light
    Regard
    Helios

Maybe you are looking for