How to Implement the same functionality of IT1610 and IT1641 for CANADA
Hi experts,
We have done HCM Implementation to US and now moving to CANADA. We got the requirement to create two custom OM infotypes which are similar of IT1610 and IT1641 in US specific. But when I check the functionality of IT1610, it is maitaining by calling a view T5U13. It looks like some complex logic is there behind the screen. I am able to create basic custom infotype but not able to implement the logic to calla a view (T5K13 in CANADA) through PP01 or PO03 and then maintain the view as well as the infotype. How the view screen is embeded in creation of IT1610 screens.
Could you please help me on providing the solution for this?
Thanks for your time and waitaing for your valuable reply.
Regards,
Jp
Hi Idrees,
You need two grids and at least 3 datatable.
Grid 1 bound to DataTable 1 - This will list all the Items, nothing special about this one.
Grid 2 bound to DataTable 2 - This will list selected batch for current selected Item in Grid 1.
DataTable3 - This will hold all the selected batches for all the items in Grid 1.
Now you need to refresh DataTable 2 based on the Selected item in DataTable 1.
When the user click on a row in DataTable 1, you need to do 2 things :
1. Read all the records of DataTable 2 and sync it to DataTable 3.
2. Read all the records of DataTable 3 where the Item Code belongs to the Item selected in Grid 1 populate it into DataTable2.
Tedious, but will do the job.
When the user click Add/Update button, write the records of DataTable1 and DataTable3 into database.
Regards
Edy
Similar Messages
-
In LSMW using BAPI Scenario, how to assign the same file to HEADER and ITEM
Hi,
i got a problem when we are in ASSIGN FILES step how to assign the same file to both HEADER and ITEM Structures?Hi,
When defining the file in specify files step check the option 'Data for Multiple Source Structures'.
Hope it helps.
Thanks,
Mahesh -
How to implement the Transfer Function in Real Time VIs?
Hi all,
I'm relatively new to Labview Real Time modoule and want to implement one Controller(not PID one) in Deterministic Loop! I have already designed discrete Transfer Function and searching for the way to build one Controller with it! Is it right to use the Simulation Loop instead of Timed Loop (in this case Deterministic loop) and implement the controller in it?! If it's correct so, should I use the same clock and Priod as Timed Loop?!
It would be very helpful, if there is an Example about using transfer function in Real Time Loops!
thanks for your help,
MohsenHello mhmdi,
Sorry I can't open your VI (looks like it is a new version of LV than I have installed).
You're right - you don't need to convert to a difference equation if you have the CD&SIM Module which can take discrete time transfer functions directly. You don't need shift registers with this function, as it is effectively done internally. If you don't have CD&SIM discrete TF's can be implemented easily just in a timed (or while) loop with feedback nodes or shift registers to replicate each z-1 you need.
Some more ideas:
There are many configuration parameters and options with the Discrete TF VI - which you need to understand for your application and make sure are correct. Sometimes implementing in a basic form (timed loop and shift registers) allows you to see what is happening without any confusing options you might not need.
Are you using the Discrete TF VI in a Simulation Loop ? You might need to think if the loop being used is appropriate for a Real Time application. Maybe the timing of the TF, the loop and the DAQmx data are not all suitable for each other.
I'm not familar with DAQmx, so not sure about any specific real-time aspetcs of that.
"if the sample frequency of the discrete transfer function in the timed-loop is at multiple integers of the sampling rate (e.g. 12000 Hz for tranfer function and 4000 Hz for sampling rate, 12000=3*4000), would it somehow improve the resolution of the controller command?"
This could actually make things worse - but depends on your transfer function if it is a problem. Think about it this way - in the scenario you state the input signal going into the Discrete TF will only change once in every three samples, that means if your transfer function includes a 1-z^(-1) factor (i.e. a derivative) - that will be zero for two samples then jump up for the next sample. You'll observe a very jittery/noisy signal, but the noise is due to samples not being correct. This will also occur if the sample times are very similar but go in and out of sync where you may get the occassional sample that is the same and hence the occassional zero in the TF.
In an application I had we had problems trying to get the data coming into a timed loop and the timed loop itself synchronise, and before it was fixed the control signal was very jittery.
Consultant Control Engineer
www-isc-ltd.com -
How to use the same function in a column so it varies from row to row.
In a spreadsheet, I have four columns: item, quantity, price, total cost.
How can I write a function (product) for the entire "total cost" column that automatically will place the correct "total cost" for the item in that row; i.e.: =product(quantity,price)
This would save time by writing one function for the entire column so that the function would not have to be written for each row.
Thanks for your help.Question asked and responded several times.
If quantity is in column C and price in column D,
the common soluce is to use the formula:
=C2*D2 in E2
then use the fill down tool which will automatically create the formulas
=C3*D3
=C4*D4
As I am a lazy guy, I use a shorter formula:
=C*D
and fill down reproduce it as is in the other cells.
In fact I use
=ROUND(C*D,2)
Yvan KOENIG (from FRANCE samedi 4 juillet 2009 11:31:06) -
How Can implement the audit function using toplink?
My system must record all the modification, how can I use toplink to implement it.
I know when toplink modify some object, the toplink will check how many attribute
have been modified, and then update it to database, Can I implement the record when
the toplink check modification?
PS: I dont want to use database trigger.
Thank first!!This thread has been inactive for a while, so perhaps I'm missing something. I am attempting to create audit events on domain objects using a TopLink 10.1.3 DescriptorEventAdapter.
These audit events mutate or create a snapshot collection on the domain object. Based on what I understand from the above thread, do I still need to create another UoW to commit these in my preInsert()/preCreate() handler methods?
Is there a way to get in the game before the IDs are assigned to the objects and the change set is computed?
I certainly don't claim to fully understand the historical client session docs. However, one of our requirements is to show object-attribute-level deltas (list chronologically, grouped by transaction, the attributes that have changed, who changed them, etc. with their before and after values). So my first-blush reaction is that it's easier to utilize the change set to create a collection of transactionally-grouped audit objects on the domain.
Thanks much,
--Todd Fredrich -
How to implement the RemoveLast function in a link list? check my code plz
Hi guys,
How to delete the last element in a user defined linklist. I am using the following code to find the last element of the list. It works fine, but i don't know how to remove that element ...
public Object getRear()
rear=front;
while (rear !=null)
if (rear.getNext()!=null)
rear=rear.getNext();
else
break; //rear Node found
if (rear !=null) //list is not empty
return rear.getData();
return null; //list is empty
}Sorry, I missed out on returning the last element:
public Object delRear() {
// I assume front is an instance field pointing to the first element
if(front != null) { // list contains something
Element rear, pred; // I assume you have some type like this
// determine predecessor of last element
rear = front;
pred = null;
while(rear.getNext() != null) {
pred = rear;
rear = rear.getNext();
if(pred == null) front = null; // delete only element
else pred.setNext(null); // delete last element
return rear; // return deleted element
else return null; -
How to use the same image map over and over
Sorry, I posted this a couple of years ago and got a good answer by Murray. I'm so rusty with it, I can understand how it works anymore.
Question:
I have a large jpeg image map for a hundred pages. The jpegs are all the same except I changed the city name for each one.
So for each corresponding htm page, the 4-5 links out are the same.
Waht is the trick to not have to create by hand hotspots? thanks.
I have previous notes, but I don't understand anymore, (too rusty) what they mean:
The good news is that you really don't need a template at all.
Just open one of your existing pages in DW, select that central image, browse to select the correct replacement image, and save the page with a new name. It will have all of the image maps already there, from the original image. One and done as they say."
My old interpretation of this:
select the large jpeg and then in link field drag over to the new city jpegOk, Nancy, code copy/ paste did work fine.
what does this mean:
"Change the image in the properties panel to display your new image."
(the image is displaying ok)
NEverthesless, I think I got Murrays old notes.
Here is my new version of Murrays writing, easiest way I think:
You open up a pre-existing html, say Chicago. Then drag over with pointer to the new jpeg you want (Buffalo). It replaces Chicago with the buffalo jpeg, all links work perfectly. Then do a save as called Buffalo. -
MSI installation, how to disable the online functions (like Cloud and login)?
How can I disable the online functions which need a login with the adobe id? I want to do this while I install the Adobe Reader DC with the MSI installer.
Hi Yannic,
I can understand your concern, however Document Cloud is a core part of Adobe Acrobat Reader DC and Adobe Acrobat DC so it cannot be disabled. If you don't want to use this feature then you don't need to sign in.
If you really feel that this does not suites your requirement then you can uninstall it & re-install Adobe Reader 11 Adobe Acrobat Reader DC Install for all versions.
Let me know if you have any further queries.
Regards,
Aadesh -
How to use the same bean from Jsp and Servlet
I want to use the same bean instance from both the servlet and jsp.
for eg. if a create a bean using the jsp:useBean in servlet and if a modify some values, that values should be reflected while i access the same bean from the servlet. But instead of that the servlet is creating a new instance of the bean.
is it possible?
Thanks in advanceHi,
When you call jsp:useBean you inform a scope (session, request, page...)
This means the bean instance will be stored in that scope.
So, if the informed scope is session, then, in the servlet you could get the bean instance back from the session, this way:
HttpSession session = request.getSession();
Bean b = (Bean) session.getAttribute("bean_id");
Regards,
Filipe Fedalto -
How to use the same (selection) paths in multiple images for batch processing?
I have a whole bunch of photos I need to batch process, but, when creating an action for this, I stumbled upon the problem that the paths I selected with the pen tool, and saved under the "Paths" tab need to be in every image for to be used in the action. I did try to solve it for some time, but couldn't figure out. Any ideas?
Many Thanks
CarlosBatch processing usually involves using actions you have recorded. In Action you can insert Path that can be used during processing documents. Path have some size so you may want to only process document that have the same size. Look in the Actions Palette fly-out menu for insert path. It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..
-
How to change the content of GTC (terms and conditions) for Partner
Hi all,
We are using R/3 version of ISA B2B site. while creating order thru Shopping Basket we have requirement that We need to provide GTC (General Terms and Condions) for the Partner (View GTC link ). Right now some default text is displayed in that window (text text text ext text text text text text like that). we need to change this.
where i can change this text and enter our own terms and conditions.
Please help me to resolve this,
thanks in advance
siva kumarHi Siva,
the GTC is shown in the JSP b2c/order/terms_and_conditions.jsp. If you have a look at the file, you will find the following code:
<isa:translate key="b2c.order.termsAndConds.txt.dmy"/>
The translate tag will render the language dependant text for the resource key "b2c.order.termsAndConds.txt.dmy". To change the content that is shown you can change the resource text or create your own resource key in the corresponding resource file. The resource files are located in the src-folder of the web application DC.
Best Regards,
Peter Kraus
SAP Web Channel Consultant
http://www.leonardo-it.com -
How to achieve the same function as regexp_substr in 9i?
How to accomplish below in 9i? I know regexp_substr is not available in 9i, so I wonder how to mix several funcs to achieve this?
SELECT regexp_substr('|83~GT67XVFU0RCVIV|635~SITGRP|507~2006-10-03 14:18:26|101~TOMS NEW|1462~STEVE ROBB INC|507~2006-10-03 14:18:26|','|101~[^|]+|') from dual;thanksYou can use SUBSTR and INSTR.
If you know which pipe's to look between you can do something like:
SQL> select * from t;
STR
|83~GT67XVFU0RCVIV|635~SITGRP|507~2006-10-03 14:18:26|101~TOMS NEW|1462~STEVE ROBB INC|507~2006-10-03 14:18:26|
1 row selected.
SQL> select substr( str
2 , instr(str, '|', 1, 4)+1
3 , instr(str, '|', 1, 5)-instr(str, '|', 1, 4)-1
4 ) str
5 from t;
STR
101~TOMS NEW
1 row selected. -
How to implement a back functionally like the back of the browser
Hi, I have a commandImageLink("go back") in a template jspx. How to implement the back functionally like the back of the browser with a managed bean method??. For know I m not using task flows.
I think you can use a javascript method to go back to the previous browser page.
http://javascript.about.com/library/blback.htm
http://www.pageresource.com/jscript/jhist.htm
http://www.w3schools.com/jsref/met_his_back.asp
Perhaps you find something useful and related to backing beans here:
http://adfdevelopers.blogspot.com/2009/04/some-handy-code-for-backing-beans-adf.html
NA
http://nickaiva.blogspot.com -
How XAI implements 'get more' function in CC&B pages
Hi all,
There is a 'get more' button in CC&B page if you list more than 50 records, just clicking the button when I wanna get last records , but how should i implement the same function by XAI, I have researched much time about this issue and gotten nothing. so had Anybody here encounterd the same issue? and have solved it?
any help would be appreciated.The get more function works in the browser becuase there is a seperate "list" servlet which retrievs the data. It relies on certain HTTP context data for correct operation. Unfortunately the "get more" function is not supported by the XAI Servlet (it does not about the HTTP context data). Your only option is to roll your own paging mechnaism for the data you require.
The pattern goes likes this...
1. Work out the SQL for what you want to paginate
2. Create a new "List Service" class that will act as the underlying service
3. Annotate the service with inputs which include the page size, and the page number you want to retrieve
4. Annotate the service with a list data that will be returned
5. Use the page size and page number to create and execute the query and build the return result
6. Register the service as an XAI Inbound Service
7. Deploy the code
8. Test using Dynamic Submission
eg. Here is an example of Get More for Lookup Values....
import com.splwg.base.api.BusinessEntity;
import com.splwg.base.api.SimpleEntityList;
import com.splwg.base.api.service.DataElement;
import com.splwg.base.api.service.ItemList;
import com.splwg.base.api.service.ListBody;
import com.splwg.base.domain.common.lookup.LookupField_Id;
import com.splwg.base.domain.common.lookup.LookupValue;
import com.splwg.base.domain.common.lookup.LookupValue_Id;
import com.splwg.base.support.service.metainfo.ListBodyField;
import com.splwg.shared.environ.ServiceListConstant;
import com.splwg.shared.logging.Logger;
import com.splwg.shared.logging.LoggerFactory;
* @author edhoi
@ListService (name = CmGetMoreListValues, size = 10000, program = CMLGETMRL, service = CMLGETMRL,
* body = @DataElement (contents = { @DataField (name = COUNTER)
* , @RowField (entity = lookupValue, name = lookupValue)}),
* headerFields = { @DataField (name = ELEM_SIZE)
* , @DataField (name = FIELD_NAME)
* , @DataField (name = FIELD_VALUE)})
public class CmGetMoreListMaintenance extends CmGetMoreListMaintenance_Gen {
private static final Logger LOG = LoggerFactory.getLogger(CmGetMoreListMaintenance.class);
@Override
protected ItemList<DataElement> readList() {
// Call CmGetMoreBusinessComponent
CmGetMoreBusinessComponent cmGetMoreBusinessComponent = CmGetMoreBusinessComponent.Factory
.newInstance();
LookupField_Id lookupField_Id = new LookupField_Id(getHeader().get(
CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_NAME));
LookupValue_Id lookupValueId = new LookupValue_Id(lookupField_Id,
getHeader().get(
CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_VALUE));
BigInteger pageSize = getHeader().get(
CmGetMoreListMaintenance.STRUCTURE.HEADER.ELEM_SIZE);
LookupValue lastValue = lookupValueId.getEntity();
List<LookupValue> values = cmGetMoreBusinessComponent
.getLookupValuePageData(lookupField_Id, lastValue, pageSize
.intValue());
long count = cmGetMoreBusinessComponent
.countLookupValues(lookupField_Id);
if (values.size() > 0) {
lastValue = values.get(values.size() - 1);
} else {
lastValue = null;
ItemList<DataElement> itemList = new ItemList<DataElement>(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.name);
ListBody listBody = itemList.newListBody();
listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.COUNTER, new BigInteger(
Long.toString(count)));
if(lastValue != null) {
listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.FIELD_VALUE, lastValue.getId().getFieldValue());
for (LookupValue value : values) {
DataElement listElement= itemList.newDataElement();
listElement.addRow(value.getDTO());
return itemList;
@Override
protected void afterPopulateList_CmGetMoreListValues(
ItemList<DataElement> targetList, SimpleEntityList sourceList,
BusinessEntity sourceListParent) {
// TODO Auto-generated method stub
super.afterPopulateList_CmGetMoreListValues(targetList, sourceList,
sourceListParent);
} -
How to implement the shared lock in a table view
Hi,
How to implement the shared lock in a table view.for multiple users to edit on this same table.
Thanks in advance
SwathiHi,
Please refer this link to find solution to your querry.
Hope it helps.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c322c690-0201-0010-fb86-811c52b0acc2.
Regards,
Rahul
Maybe you are looking for
-
"ipod cannot update - file not found" after getting new ipod
i had my ipod replaced today at the apple store because of a bad HD. Seems like the one they gave me was brand new...anyway after following the restore/charge directions, i went to go plug it into my dock and Itunes is telling me it can't update the
-
The directions you provided above doesnt even work! when I selected "Click to open your account", there is an ERROR message and takes me to no where! when I try to access my itunes account, it says I have no history?
-
Problem regarding focusing elements after submit
Hi all I have a bunch of radio groups with submit on my page . The requirement is to set focus on the next radiogroup with submit after any radiogroup with submit is clicked. But the problem is When user changes the value the focus is moving to the t
-
Page overflow void reason in check printing
In case of page overflow, the requirement is that first check is valid and the subsequent are void. I have it updated in the print but not able to make it updated in SAP that it is void due to page overflow. Please advise. Also, will it get automatic
-
Calculating previous month and year of the previous month
Hi frenz, Can anybody know FM to calculate the previous month and year of the previous month. are there any standard FMs existed to achieve this? br, anil.