Linking the EditText to a field
Hi experts,
can it be possible to link a created edittext field from UI to a specific table field.
this is my scenario
i have created a edit text field in SALES ORDER MODULE when i place a value on that field it must be save to the Table of SALES ORDER and when i Click the browse button the data i place to that field must be display like the normal field in SO Module...
Thanks,
Bryan
Hi Bryan,
I think you should use the concept of UDF through User Defined Field Management Window
You can also use dbdatasource concept
Refer This....
Link: [url] What is an UDF and UDT
Link: [url] hi ,add field in system form and bind
Thanks
Shafi
Edited by: shafi_sunshine on Sep 6, 2011 3:37 PM
Similar Messages
-
Linking the UDO of type document to user defined field
I created the user defined field and i need to link the UDO of type document to that user defined field. How to link the UDO to user defined field.
Dear
do you mean to add a user defined field to an document type UDO? if this is the case,
1. create the UDT
2. go to Tools-> customization tools->User Defined Fields-Management, expand User Tables, add the udf to the UDT
3. register the UDT as UDO.
best regards,
xiaodan an -
Populating the G/L account field based on Material in the SC
HI aLL,
We are runnin on SRM 4.0 (classic).I have a reqt wherein the G/L account which comes in the "Cost assignment details" should be populated at run time (when items are added to SC) based on the material no/Product ID....
I found out a BADI...BBP_DETERMINE_ACCT which is used to determine the G/L account but not sure at whci point this BADI is triggered...i inserted a poup message in a sample implementatiuon of this BADI..but it doesnt show me the popup message when i click on the "ADD TO SHOPPING CART" button on teh SC creatio screen wheerin i can test that this is the BADI which i s called at teh time items are added to teh SC and will populate the G/L account field with teh proper value form teh backend.
Also for the G/L account value for the Material,is there any std table which stores the link between product/valuation class and G/l account in SRM itself so that my RFC call to teh backend is saved in this BADI implementation??
regards,
Disha.Hi Disha
Not sure if I understood you right. I've implemented this BAdI BBP_DETERMINE_ACCT and it works fine so far. I can add an item to the SC and then go to the item details to see the accounting data. There the G/L account corresponds to the one that was determined at run time by the BAdI implementation.
The standard table in R/3 backend is T030. For described requirements (no known material id) you have to specify a product category. Valuation classes can be assigned to product categories in table T023 (in R/3 backend as well).
Unfortunately the SRM standards do not take into account the standard account determination as it is known and working in R/3 systems. For this you'll have to implement the BAdI BBP_DETERMINE_ACCT.
Maybe this thread is of interest for you?
How to have backend account determination working SRM
HTH
Renaud -
Possible to link the two tables?
Dear All,
I am currently trying to create a report where the user will enter in the customer code and then using discounts on item groups to create a sales price (list price - customer discount = sales price). I'm currently trying to do this in crystal reports but I just can't seem to get the values.
The problem I have is the OITM.Itemgroupcode is of type number (from the item table) where the OSPG.ObjKey is of type string (this represents the itemgroup code in the Discount table). Because of the different types I cannot link the two fields. If they were the same then it should be easy but I can't seem to get around this.
Does anyone have any idea of what I could do to resolve my issue, while I am trying to do this with crystal currently I'm not locked into using this platform.
Any help and comments are much appreciated.
TroyHi Troy,
Welcome you post on the forum.
Try this to start:
SELECT T0.ItemCode, T1.CardCode, T1.Discount
FROM OITM T0
INNER JOIN OSPG T1 ON CAST(T1.ObjKey AS INT)=T0.ItmsGrpCod
WHERE T0.ItmsGrpCod like '[%0\]%'
If you get result, you can create a Command for your CR report.
Thanks,
Gordon -
Cr XIR1 to create a custom function to change the timestamp of a field
Post Author: palm
CA Forum: Crystal Reports
Hi,
I am trying to create a custom function to change the timezone of a field in the report depending on the timezone selected by the user in the prompt
I wrote a SQL Expression to do this , but i ended up creating a bunch of expressions for each time zone ,
So i am thinking of custom fuction some thing like
TimeZoneConvertor:
Fuction(TimeStampField , Timezone)
Returns: Timestamp field with newtimezone as selected by user
Hope you get this and please give me some kind of ideas to acheive this
Thanks in Advance!!!!!!!!Hi
goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
Look at the below SAP HELP links, These links will show you the way to create a Function Module
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm -
How can i find the tablename for that field and suggest the report logic
Hi experts
The concept of BOM for finished components are defined in terms of semi finished goods. Hence, routing of a component from raw materials can not be seen directly in system through standard report.
But users need to have the details of a routing of a component from raw material in one report. To provide the details in single report, development is required.
With this report users can see the routing from raw material till component in one single report.
Assumption
BOM is maintained for a component with all related semi finished components till raw material properly.
Material Number: MARA MATNR - Multiple selection option should be there (Mandatory)
Plant: AFRU WERKS - Single selection parameter (Mandatory)
If procurement type is E or X, system has to check the routing through CA03.
If procurement type if F, leave this field as blank
1.operator
2.material
3.material description
4.workcenter
5.vendor
6.operation description
7.uom
8.qty
9.uom
10.setuptime
11.processingtime
12.deliverytime
using cs12,cs13
here i have seen the details of finished goods components like semifinished goods,rawmaterils,i tried se11 to find the the table for relevent field,
i cant get, if possible to suggest me the logic and how to find the relevent table for
that field
Regards
dsfor exploding the bom if you know header material use
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8
OTHERS = 9.
now check PLPO & PLKO table for routing or AFVC and AFVV for routing.
if production order created you have to check in afvc and afvv else check in plpo and plko.
for checking with plpo and plko you have to check MAPL table.
for bom and material link
MAST,STPO,STKO.
stlnr is the common field
regards
shiba dutta -
How to link label with an input field in data table?
I am curious if there is a nice way to link a label to input field in a data table directly in JSP? Data filling the table are dynamically bounded.
Sample, simplified code below. Values of "label" property are unique in the collection binded to dataTable.
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:jsp="http://java.sun.com/JSP/Page">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" />
<f:view>
<html>
<body>
<h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
<h:column>
<f:facet name="header">
<h:outputText value="Name" />
</f:facet>
<h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Value" />
</f:facet>
<h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
</h:column>
</h:dataTable>
</body>
</html>
</f:view>
</jsp:root>
returns:
17:39:01,390 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: #{DATA_ROW.label}_id
what is related to EL expression in h:inputText's "id" attribute.
Is there any other way to bind label with dynamically created input field in JSP? Do I really have to bind input field directly to component objects with "binding" and set IDs manually with setId() (what is ugly solution because it moves View related logic to Model layer)?I've thought of using EL because I have to somehow
link a label to an input field dynamically. Somehow? Dynamically? Just use plain text :)Well... just look at my code snippet (notice: we want to join the pairs of labels and text boxes placed in a datatable [or any other repeater-like component rendering properties of objects from a collection]):
<h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
<h:column>
<f:facet name="header">
<h:outputText value="Name" />
</f:facet>
<h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Value" />
</f:facet>
<h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
</h:column>
</h:dataTable>
and what is your idea of using plain text as "id" attribute value in this case? :)
Regards,
Michal -
Where can do you link the Account payable (AP) to Automatic Payment Program
Hi SAP Experts,
Where can do you link the Account payable (AP) to Automatic Payment Program (APP) what is t - code and what is the table name and Accounts Receivable (AR) to Automatic payment program (APP) what is t - code and what is the table name
Thanks in Advance.
Regards.
SrinivasHi Srinivas,
The link is created when you enter vendor number in parameters tab of F110 and do the run. Here in Parameters you enter the vendor code for which you need to run APP. Based on vendors provided here in F110 Parameter tab, the F110 program checks for the open items of that vendor which are to be paid and selects them accordingly. Hope this clarifies.
Ofcourse in Vendor master under Payment transactions Accounting you have to full the necessary fields like Payment methods etc under Automatic Payment Transactions.
Hope this clarifies
Kind Regards
Soumya -
Tables linking the invoice and accounting document
Hi,
Can anyone tell me tables linking the invoice and accounting details table BSEG?
Regards,
ShanuFollowing BSEG fields can be found in VBRK
MANDT
BUKRS
BELNR
GJAHR
ZUONR
VBUND
VBELN
ZTERM
ZLSCH
BVTYP
MSCHL
MANSP
MABER
STCEG
XEGDR
KKBER
KIDNO
BUPLA
Similarly following fields can be found in VBRP
MANDT
VBELN
thanks
G. Lakshmipathi -
ABAP WD ALV Link to action for a Field
Hi,
I got a special question to Webdynpro ALV developing:
How can I generate a link to a seperate Cell or Field of the ALV depends on the content of other field-values in the same row.
e.g. Depends on a response status value of an record in the table I want to allow a link to action for another field in the same row.
Currently, I have "link to action"s for all cells in a column. What I need, is only some cells in the column depends on values in the same row.
Thanks for your help,
EugenEugen, the fallowing link may be help you.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8?overridelayout=true
Regards,
Edson Thomaz -
Production Order Co01 enhancement to link the Material Documents from Mater
Hi Friends,
I have a reqirement I need to link the Material documents in the Production order, for Header material & Component material based on some condition, can any one tell which Enhancements will work for this.....
Thanks,
RaviHi Ravi,
If you want to change the header field values during saving of the production order, Function Exit EXIT_SAPLCOZV_001 can be implemented of enhancement PPCO0007.
Regards,
Surender Yadav -
How to retrieve the data in texts field for ME23N
hai all,
i need to do some coding for the item texts field for PO, which can be saw under ME23N. i need to retrieve the details in the text. but i have no idea how am i going to get the data from that field, which table is it under for PO?
please advice. thanksHi,
the texts will be stored in STXH table..u need to pass the four values TDOBJECT
TDNAME
TDID
TDSPRAS...U will get the text details
Or
use the FM 'READ_TEXT'.
cehck the below links
http://www.sap-basis-abap.com/sapac002.htm
FM READ_TEXT
reward if helpful.
Regards,
Nagaraj -
GTS table linking the commodity code/tariff num to the declaration
Does anyone know the GTS table linking the commodity code / tariff number field (ccnst or ccncu) to the customs declaration item. I have search through the tables with entries of doman ccngn looking for a GUID reference but cannot find a link to CUIT.
We want to write out the text description in an IDOC IWTX but cannot find the link.
Thanks
ChrisYes, it helped us understand the EDI process better. However, we went a different route. Somehow the module to write out IWTX in the transit document started working.
So we decided to populate the text field. When we call the programs to create a transit declaration from a customs declaration we perform the following steps.
We are using a hardcode number scheme "CAPNL"
1. We read the reference customs document number from the call stack.
2. We used the customs document to get the CUHD
3. We loop through all the items on CUIT getting the product (PR)
4. Then we go to PRCTS with PR plus hardcoded number scheme
5. Then finaly we go to CTSNUM to get the commodity code
Chris -
What is the max characters memo field can hold on crystal Xi?
Post Author: chulheekim
CA Forum: General
Can anyone help me with memo field that I have on crystal XI?
I see only about 200 characters on a memo field.
what is the max characters memo field can hold on crystal XI?
I've got to bring this answer to the meeting tomorrow morning. I'm doomed.Hi Umesh,
as for as i know SAP PO system can handle the file till GB also but this will be based upon your system resources and configuration as well.
Please find the below link for further information.
http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/10/18/pixi-pi-73-processing-of-large-files--teaser
Regards,
Naveen -
Hai gurus,
When i access the table BLPR , system displays the followig message.
No table entries found for the specified key.
So my doubt is when system will update this table or how to access the table to display the stored value.
i want to link the document log or item with reference to planned order.
Thats why i checked that table(BLPR). Becoz in that tables (BLPK & BLPP) there is no link between planned order. So how to track the document log with reference to planned order. Is it possible with std or how to map this one? Pls give some logic...
Please guide me.
Thanks & regards,
Meena<b>You can refer this report:-</b>
tables: mchb, mara, lqua.
data: begin of itab occurs 0,
matnr type mchb-matnr,
werks type mchb-werks,
lgort type mchb-lgort,
pradh type mara-prdha,
wdatu type lqua-wdatu,
end of itab.
select-options: s_matnr for mchb-matnr,
s_prdha for mara-prdha,
s_wdatu for lqua-wdatu.
start-of-selection.
select * into corresponding fields of table itab
from mchb
inner join mara
on mchbmatnr = maramatnr
inner join lqua
on mchbmatnr = lquamatnr
and mchbwerks = lquawerks
where mchb~matnr in s_matnr
and mara~prdha in s_prdha
and lqua~wdatu in s_wdatu.
Regards,
Abhay Singh.
<b>rewards point if useful.</b>
Maybe you are looking for
-
Using a serial Wacom tablet on a Mac Pro
I have a good Wacom tablet with serial port interface that I would like to connect to a Mac Pro. Is there some way to do this? Is there any sort of serial to usb adapter or would that not work with a Mac Pro? Thanks for any advice.
-
Windows XP driver problem - Nomad Zen Xtra and Zen To
I have both a Nomad Zen Xtra 60GB and a Zen Touch 20GB, both of which were working fine with my Windows XP Pro SP2 computer until a couple of days ago. I had recently put firmware 2.0.03 onto the Zen Xtra, and was using the drag-and-drop method in Wi
-
HT1692 Do I need outlook to sync my iPhone and ipad calendar?
Do you need to setup outlook to be able to sync your ipad and iPhone calendars?
-
My mac stuck on empty folder with question mark. I tried installing new OS from USB flash but I couldn't see the hardrive and installation showed progress but it was installing on "OS X Base system" So I tried switching harddrives with a similar mac
-
Dear All , I am new to BI . I am facing one problem please help me . There is report which shows the period wise cumulative balance of G/L accounts for entered company code , Fiscal year and Ledger type entered on selection screen . As of on the sele