How to assign a value(populate) a custom field in a PCUI page ?
Hi
I am working in SAP CRM on its web interface PCUI.
I have created a custom field "ZZ_NEWFIELD" through EEWB in Business Partner. It is visible in accounts transaction header (crmm_account).
Now if I create an opportunity for this business partner, I want to fetch the value of "ZZ_NEWFIELD" from BP Master and display it in opportunity(header) transaction.
Can someone tell me how to go about it ? I am novice to BSP applications.
Regards
Vishal
Thanks Francisco for your reply.
I have already posted it in the CRM forum as well but thought to place it here also.
As for the weblog you menioned, it just details the method of extending the field and placing it in the IView. I have done it already.
The problem I am facing is to how to populate this field ? I know the source field from where it has to get the data but I dont know the method/code to enable the value in new field placed in the Opportunity header.
Similar Messages
-
How to assign the Value to the Particular field-Text field
Hi all,
My requirement is to call the Web service with input from the ADF page.
Steps I have done:
1. I have created a Web service data control based on the WSDL file.
2. Just drag and drop the Process, It is automatically created the form with the Input fields and then the Process button
3. When I entered the values and then process button it will pass the values corretly.the web service is invoked correctly with the values entered.
4. But when I try to assign the value from the some other field that is not working.
I am assigning the Value to the field by go to the properties of the Particular field value =”CREATE”
When I do like this that value is showing in the screen. But it will not pass the value to the web service.
I think the value is only displaying in the screen. Not stored at bindings level. Kindly guide me in this.
Thanks in Advance
C.KarukkuvelIf you want to have the value that is returned displayed in a field that has binding to another item and not the WS result item then the way to do this would be to override the method that is invoked with the button that calls the web service - you then take the result and assign it to the item you want.
See the way it is done here:
http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html
While this sample uses a simple method it would be basically the same for a Web service. -
How to assign money value to CRM money field in Script component?
Hi All,
Can anyone please help me with below issue?
I have a money value (eg. 25.00) in the SQL table (Source) of type string which I am reading it in script component and want to push that same to MS CRM(destination) currency field.
I have used Money class but still it is throwing the exception "System.InvalidCastException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #444AFC47"
Used this lines of code. Please let me know if I am doing anything wrong and help with resolution.
if (!Row.Amount_IsNull)
Money Amount = new Money();
Amount.Value = Convert.ToDecimal(Row.Amount);
newTbldetails["new_amount"] = Amount.Value;
Note: new_amount is the attribute in MS CRM (destination) with type Currency.
Thanks,
SriThis below code worked. There was a mistake in the assignment.
if (!Row.Amount_IsNull)
Money Amount = new Money();
Amount.Value = Convert.ToDecimal(Row.Amount);
newTbldetails["new_amount"] =
Amount;
Thanks,
Sri -
How to assigne multiple value in key of read table
Hi gurus,
I want read table xxxx with key field1 = ' xxx' or field1 = 'yyy'.
how to assign multiple value as key for the same field while reading internal table.
Regards
sagarHi ,
You can loop the internal table like
loop at <table xxxx> where field1 = ' xxx' or field1 = 'yyy'
or you can write two read statements to read the internal table in wrk area.
read table <table xxxx> with key field1 = ' xxx'.
if sy-subrc <>0
read table <table xxxx> with key field1 = 'yyy'.
if sy-subrc = 0
endif.
else.
do your data processing.
endif.
Thans. -
How to assign NULL value to an ITEM in Forms Personalization?
Hi,
how to assign NULL value to an ITEM in Forms Personalization?
please suggest me.
ThanksI don't know what your form personalization does and maybe I misunderstand you ...
Try
:item_name := null; -
Hi,
How to assign a value for Unit of measure (like PC, KG...) in ABAP program?
I want to assign PC in a field to execute the program, like wa-ENTRY_UOM = 'pc'.
But the system returen a message that "Unit of measure is not convertible to stockkeeping unit PC"
Could anyone tell me how to assign the value??
Thanks!hi,
first convert the quantity in the same unit ( like in you case ST to PC ) by using FM : MD_CONVERT_MATERIAL_UNIT
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
i_matnr = matnr
i_in_me = entry_uom
i_out_me = out_uom
i_menge = quantity
IMPORTING
E_MENGE = fp_l_v_quant
EXCEPTIONS
ERROR_IN_APPLICATION = 1
ERROR = 2
OTHERS = 3.
IF sy-subrc <> 0.
give error message here
ENDIF.
bcoz in ur program somewhere the quantities etc are compared and there units may be different... so that is why it is showing such error. so just convert convert the quantity in the same unit .
regards
rahul
Edited by: RAHUL SHARMA on Jun 17, 2009 9:31 AM -
How to assign a value to a parameter {?MyParam} dynamically?
How to assign a value to a parameter {?MyParam} dynamically?
Example:
{?One_Or_Two} <- my first parameter
{?MyParam} <- My second parameter
The Code:
If ( {?One_Or_Two} = 'One' then
{?MyParam} = 'One' ;
else
{?MyParam} = 'Two' ;
(THIS IS NOT WORKING FOR ME! ANYONE KNOW WHY?)
IT NEVER ASSIGN THE VALUE?
My Command query looks like:
SELECT * FROM MyTable
WHERE MyTable.MyColumn = {?MyParam}
THANKSHi Joseph,
I'm a bit unclear as to what you are doing and from what I see you're running in circles.
Your Command query is looking for a field that is equal to {?MyParam}.
Now you want to take {?MyParam} in the report and change the value after you've set it.
Parameters cannot be set from the Command, you can format it and manipulate it but they cannot be set except from the parameters window or from a front-end.
Thanks,
Brian -
How do you assign a value to the APEX field APP_USER
Application Express 4.0.2.00.07
Hi
Is there a special function/procedure to assign a value to the APP_USER field
or a simple APP_USER := :P1_LOGIN_NAME would do
ZHello Zac,
>> or a simple APP_USER := :P1_LOGIN_NAME would do
The APEX engine is already doing it for you after a successful login – setting the value of APP_USER as the user login name. You can use it as a substitution string or with the bind variable notation (:APP_USER).
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
Exit to populate a custom field on additional tab b in order - inbound proc
Hi experts ,
I Need to populate a custom field on the additional tab b of an sales order during inbound processing.
I am using the function module idoc_input_orders.
RegardsHi,
As this custom fields are not avaialble in the standard IDOC type, you need to extend the standard idoc type.
Assign custom message type to sextended idoc type.
Maintain Entries in WE57 tcode.
With in the In function module idoc_input_orders, using FIND option, try for CALL CUSTOMER statement,here you will find all teh customer exits availble in the FM where you can maintain logic for filling the custom fields.
Revert back if any issues,
Regards,
Naveen -
How to display negative values in a screen field of a screen
Hi All,
Please let me know how to display negative values in a screen field of a screen.
thanksHi Kishore,
You can do this method. In the screen , create a text field of CHAR instead fo creating an INT4 field.
I have created a field of CHAR of name say TEXT.
In the main program,
declare a variable of the same name ie. TEXT.
data: TEXT(5) TYPE C.
In PBO, just assign the negative values.
It will work.Since there is automatic conversion between character and integer data types, it will work for positive values as well.
Regards,
Sylendra. -
Populate the customer fields (ORDERS05)
Hi all,
I'm trying to extend basic IDOC type ORDERS05 with these extra fields:
Table Fields
VBRK KUNAG (Sold to customer number)
VBRP EAN11
VBRK FKDAT
VBKD BSTDK
VBRP FKIMG
VBRP VRKME
VBRK ERDAT
VBKD FKDAT
T052 ZPRZ1
How to enhance the IDOC?
How to populate the customer fields that I added?
Thanks,
SriniRefer:
Re: Very urgent.. Orders05. -
How to add a custom field to the "Projects" page "Group by" data menu list
Hi,
I'm deploying Project Online and I want to group projects by a custom field on the "Projects" page. Currently I can see options for group by Project Name, Start, Finish, % complete etc. I would like to group by a custom field of programme name
which is filled in on the Project Details form.
I can create the enterprise field etc, however I can't work out how to make the new enterprise field appear in this list. Or am I barking up the wrong tree and should be creating separate Project Types for each programme?
Any help an advise greatly appreciated.
Regards,
ConradHello, add the programme field to the Project Center view then it will be available to group by. Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Assigning Default value to a Infotype Field
Hi,
My requirement is to assign default value to the loan amount field of the loans infotype(0045).
I am using the PBAS0001 user exit program ZXPADU01 and taking the basic pay amount for the employee from infotype 8 and assigning it to pa0045-dabrt(loan amount)field in infotype 45. But the problem is the loan amount field in 45 infotype is of the type currency(13 characters) and if i assign a value 2000 to the field its displaying as 20,000,000.00. That is the value is being multiplied by 10000 and is displayed. When i tried to divided the value by 10000 and pass it, for odd numbers its not working.Can Some one provide the solution for this problem.Try using simple Formula at field level insted of field routine.
there is IF( <condition>, <result when true>, <result when false> ) option avaialble in formula
Regards
Sudeep -
How to move the value from a character field to numeric or packed decimal
Hi,
can anyone explain me on how to move the value from a character field to numeric or packed decimal.
Please help me on this. Thanks...
Regards,
Rose.Hi ,
if you use keyword MOVE u may loose the decimal and thoussan separator and if u don't want to loose them just call the FM ..HRCM_STRING_AMOUNT_CONVERT.
i doubt wherther it is HRCM or HCRM just try using *
this will suit ur requirement.
Regards,
KK -
How to add a value table to a field in database table?
Dear Experts,
Normally a value table can be added in the domain.
And the field of the database table will have the value table, to which this domain is assigned.
My question is.. Is it possible to assign a value table to any field ina database table, directly?(i.e. <b>without assigning to that domain</b>)
If yes.. please let me know the <b>step-by-step</b> procedure clearly.
Thanks to U in advance.Hi sr,
1. what is the purpose of your value table ?
-- so that the user can select values
from some master table , for that field !!!!
2. This is done by
CHECK TABLE (foreign key concept)
(and not value table)
3. When we create a check table for a field,
then
some DEFAULT table is PROPOSED
. that DEFAULT table is nothing
but PICKED up from the domain of that field,
and shown from the value of VALUE TABLE.
(we can change it however)
4. so for your purpose,
just create a CHECK TABLE.
regards,
amit m.
Maybe you are looking for
-
Find a way to set Accordion open multi panel at the same time!
Now, I can set all the panel close by default ! But my client want when some panel has open , then he click on the other panel, it doesn't make the pervious open panel closed, until you click on it ! Does someone can help me?
-
Import TR RD1K903861 into system contain RD1K903861 related to other area
Dears, I have the following situation I have two Separate ECC environments old and new new one built as a system copy from old one (old Prod) the old landscape is RD1, RQ1, RP1. and the new also is RD1,RQ1,RP1. SP stack level in old < SP in the new.
-
After updates are installed on Macbook, can I delete them?
after updates are installed on Macbook, can I delete them?
-
Two current input one can display while another cannot
Good evening everyone! Our group is uing NI 9227 to get current from our circuit. But from the two indicators in front panel, as both of our two switches open, one can display current while another just shows 0.00.... But when I run circuit 2 indepen
-
Replacement for dead internal Suerdrive
Hello and I do hope you are in a position to offer some sound advice please. I have an iMac which has a dead internal SuperDrive:- Model Name: iMac Model Identifier: iMac4,1 Processor Name: Intel Core Duo Processor Speed: 1.83 GHz Number Of