Field should be automatically be copied down
hi all,
i m using oracle form 6i
here is my form
[http://i838.photobucket.com/albums/zz307/abhi124/12.jpg]
i want that when i enter work order in my workorderno field, next time its should automatically be copied down how to achieve this ??
Regards
Abhi.
One option I can think of to implement this would be to capture the Work Order No in a session scoped variable through a combination of aWhen-Validate-Item (WVI) and When-New-Item-Instance (WNII) triggers. The session scoped variable can be as simple as creating a Forms parameter object called "Prev_Work_Order" or by creating a Forms Package specification with session global variables. For the sake of simplicity, my suggestion will use a parameter object. I would normally use a Forms Package specification as this is the preferred method and it more memory efficient.
Here's the concept: The Item WVI trigger captures the value of the WORK_ORDER_NO. The Item WNII trigger sets the default value of the WORK_ORDER_NO.
Here is a code sample:
/* WHEN-VALIDATE-ITEM */
BEGIN
IF :MY_BLOCK.Work_Order_NO IS NOT NULL THEN
:Parameter.Prev_Work_Order := :MY_BLOCK.Work_Order_No;
END IF;
END;
/* WHEN-NEW-ITEM-INSTANCE */
BEGIN
IF :Parameter.Prev_Work_Order IS NOT NULL THEN
:MY_BLOCK.Work_Order_No := :Parameter.Prev_Work_Order;
END IF;
END;You could put additional checks in this code, but this gives you the basics to start with.
Hope this helps,
Craig
If a response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Apr 20, 2010 10:23 AM
Edited by: CraigB on Apr 20, 2010 10:24 AM
Similar Messages
-
Field value should come Automatically
Hi Experts..
I hav a requirement,
In transaction QA32 -> Usage Decision(UD) -> Inspection Lot Tab (Program SAPMQEVA 0102) -> In this screen Storage Location Field (screen field : RQEVA-QLGO_VM01 ) should come Automatically .
Logic :based MATNR value It will Pick the Corresponding LGFSB Value from MARC Table
how to resolve this Issue ??
Pls help me out
Thanks in Advance
SatyaHi
In User Exit QEVA0006 i hav to add the logic...
FM : EXIT_SAPMQEVA_006 .
Include : INCLUDE ZXQEVU07.
can u please help me out in writing code that Include Program ?? What to write in Importing and Exporting Parameters ??
Thanks in Advance
Satya -
Automatic clearing vs down payment clearing
Dear Guru's,
I got a problem regariding clearing,My Client wants to clear customer down payments against invoices through Automatic clearing f.13.
Is it possible or not? If possible let me know other wise why it is not possible.
And also give me few points regarding F-39 ( Customer down payment clearing ) vs F.13 ( Automatic clearing.
Appreciated your kind of help.
Shekar.Hi
In order to clear these documents both invoice & down payment - assignment field and amount fields should be same.
Down payment clearing is manual - this will be done manually.
F.13 - automatic clearing is done by the system based on the criteria maintained in the configuration
VVR -
Hi Experts,
As per the customer requirement , he want when he tried to enter document in FB60, the Reference Field (BKPF - XBLNR) should be automatically populate with the following format:-
YYYYAMMDD0001
The information should
be the following
YYYY : Year of the document entered (BKPF-BLDAT)
A: The value is always = A
MM: Month of document entered (BKPF-BLDAT)
DD: Day of document entered (BKPF-BLDAT)
0001: This has to be a counter of the documents entered per day and per vendor.
what should i do in this requirement............ please help me.......?
Thanks & Regards
RajeshHi Rajesh,
I completely missed that part
I assume that this requirement is only for a particular document type.
If yes, for Counter, again you Need to write your own logic.
e.g. for the entry date, go to BKPF with co. code, year of the entry date, Document type = XX and entry date and fetch all the posted documents.
With the document list, go to BSEG and sort the documents per vendor so that you can Count the number. Add 1 to the number of such documents posted (you can filter the list using Account key e.g. K for vendor so that only vendor lines are fetched).
The only things which strike me now is that probably the substitution will not work at Header Level as Vendor Information Comes only when you start entering the line item Details. so you might Need to write the Substitution at complete document Level.
BR
Amitash -
Application should start automatically as soon the user logs into windows.
Hello All,
I have a requirement.
I am developed a time sheet application using web dynpro. This application is configured on the portal & is working fine. Now, I want to make some changes, may be at Portal Content side or Application side, but want this -
As soon as the User loges into the Windows with user id & password, this timesheet application residing on the portal should start automatically and should record the time. Similarly, if the user shuts-down, the application should again record the time. Thus giving the actual time the user worked.
Please reply. Thanks.
Best Regards
Chander KarariaHello Satyajit,
Below are the comments on your queries.
1. It would be better if the application starts silently. But, in case, if we choose other way i.e the browser opens automatically and displays the application (expecting the button needs to be clicked by the user) that will also do.
2. In case of system shut-down, I am still to come up with some materialized concept. But, here are few ideas...
a). The application should check if the time entry is available for the current date. If so, should display the text for LogOut only. This will make user understand not to hit it.
b). It should keep on accepting all the sessions (logging & logout) n number of times for the current date.
I would prefer (b) as a better option.
If you have some more conceptual idea, please suggest.
Best Regards
Chander Kararia -
Missing field info. after created by copy Customer
Dear Experts,
Found a problem relevant to creating by copy Customer using XD01. After extending Co. Code & Sales Area Data for the same Customer with ref. to another Co. Code & Sales Area, found that info. of a field "Prev.acct no. (Previous Master Record Number)" under "Co. Code Data - Account Mgt - Reference data", and Partners under "Partner Functions" of Sales Area Data could NOT be copied. Is it a standard SAP logic ? Could you advise reason for this ? Besides these, any other field(s) also CANNOT be copied after creating by copy Customer ?
Many Thanks,
KH FongHello KH Fong,
"Prev.acct no." issue:
The "copy with reference" is a SAP functionality that allows you to quickly create customers master data. Anyway not all the fields will be copied into the new target master data. Even if You create a customer with reference and all the information will be reported into the new master data.
EXAMPLE:
- In Accounting info screen: ALTKN (Previous Master Record Number) or PERNR (Personnel number) are not saved.
- In Payment transaction accounting screen: LNRZB (Account number of the alternative payee) or ZAHLS (Block key for payment) are not saved.
- In Correspondence accounting screen: ZSABE (Clerk at vendor), TLFNS (Accounting clerk's telephone number at business partner), TLFXS (Accounting clerk's fax number at the customer/vendor), INTAD (Internet address of partner company clerk) or KVERM (Account memo) neither are saved.
Other fields as Reconciliation account, interest calculation indicator, terms of payment and so on should be reported into the new master data.
"partner function" issue:
Usually the partner functions, that are mandantory in a partner determination procedure are copied for the customer into the new sales area.
You need to check if the relevant partner functions are set as mandantory partner function in the partner customising:
- Transaction VOPAN
- Select 'Cust.Master' -> Button 'Display'
- Mark the relevant partner determeination procedure, that is
assigned to the account group used, and double-click 'Partner
Functions in Procdure' in the navigation on the left side
- Check which partner functions are marked as 'MandFunction'
These are the partner functions, that are copied.
Hope above information is helpful.
Best regards,
Crystal Lin -
Reference Field to populate automatically when doing manually clearing F-30
Hi,
I have a requirement from my client where we have to get the reference field XBLNR to the clearing document from the document it actually clears when doing the manually clearing through F-30.
Is there any standard SAP note for this.
Can you please suggest any other way. It should be automatic.
Thanks,
SriniHi,
Sorry you both are thinking in the wrong direction, let me explain by giving an example...
Open Item Document Number Reference Number
£2500 3500000253 ABC125663
Cleared Item
£2500 6500000562 ABC125663
My requirement is I want to auto populate the reference number of the cleared item with that of open item.
That means "ABC125663". I hope I have explained the requirement clearly.
If you have any answers please let me know.
Thanks,
Srini -
Automatic blind copy to myself
Hi,
how do I set-up an automatic blind copy to my main email account, when i sent an email from my BB Z10 device?
or is there any other alternative function that I store / have the sent emails from my BB Z10 in my outlook inbox / sent folder?
many thanks
IGAre you using an IMAP email server, if so, those sent from the Z10 emails should appear in your server in the Sent folder.
If not, check your server for any Auto BCC settings... most have them.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Copy down - only one line (mac) - why?
I'm using the dynamic form wizard and when I'm trying to copy down a value for many posts I only get it on the next line, not on every one.
I'm on a mac - for the first time. It's always worked on Win.
Anyone know a recipe for it??I tested on Windows and it doesn't work there either.
It's quite a long time since I used it, but then it was possible to copy down text fields on several rows. Now I seem to have to use menus.
I wonder if it's something I've missed... -
What key fields should i set in DSO extracting data from 2LIS_02_ITM
hi experts
i extract data from 2LIS_02_ITM into a DSO, i know the DSO isn't a must, becoz the 2LIS_02_ITM delta type is ABR, but i want to keep the info in change log.
so, what the key fields should i set in the dso? just ebeln and ebelp is enough?
hunger for ur advice and thanks a lot!If you extract ITM toa DSO you cannot maintain a log of every change....the data will come ....but when the data must be activated the reference of the ebelp ebeln will remain only a single record....if you want to maintain all the data you must create another field in extractor with you can difference all the changes for one single ebelp ebeln...
Regards -
SOME FIELDS SHOULD NOT SHOWN IN THE REPORT
Hi,
this is to inform you that, there is a requriment in reporting perspective (ALV),
Requriment:
i have to generate a ALV report which is viewed by our CFO with one t.code, in that report suppose there are 10 fields.
That is a specific report if some body apart from my CFO uses the same tcode to generate the same report than it has to display only 5 fields.
if my CFO uses the same t.code all the 10 fields must be visible.
please help me how to do it.
regards,
balajia.There are couple of ways to achieve this,
1) - Create 2 variants, 1 variant for CFO with all the fields & 2nd variant with only relevant fields. Then use the authorization concept, where basis can restrict the access / execution of the report with specific variants.
From the basis view, they create role & assign this variants in one of the object ( not sure). Basis assistance required
2) - When developing report, write the validation for the respective fields such as maintain Customize table in which maintain userID's & fields which they can access. Display only those fields to the userID who executes this report. It should check this customize table for this UserID & only those fields listed should get displayed. ( for all the fields, instead maintaining each field, you can enter "ALL",
Eg: UserID -
Fields
CFO -
ALL ( report should display all the fields)
NONCFO-------Field1 | Field2 | Field3 | Field4 | Field5 ( only these fields should get displayed)
Note: In Customize table either you can maintain with User ID or Role. It will be more convinient in future as well.
Regards,
Reazuddin MD -
Copy down Ship-to Partner from main item to sub-items on Sales Order
This is my first post on the forums here. I'd appreciate any help you can give on my issue below.
I have a requirement to copy down the ship-to partner from the main item to sub-items during sales order create or change. Currently I have code in include MV45AFZB within user exit USEREXIT_FILL_VBAP_FROM_HVBAP as follows:
<i>* Need to be able to copy the ship-to of a BoM parent down to the
respective BoM children if the parent has a different ship-to
from the header.
data: wa_xvbpa like vbpa.
Clear: wa_xvbpa.
read table xvbpa into wa_xvbpa with key posnr = hvbap-posnr
parvw = 'WE'.
A BoM parent line has a different ship-to from the header.
if sy-subrc = 0.
read table xvbap with key uepos = hvbap-posnr.
See if current line is the child of that BoM parent
If xvbap-uepos = hvbap-posnr.
move wa_xvbpa-kunnr to xvbpa-kunnr.
move xvbap-vbeln to wa_xvbpa-vbeln.
move xvbap-posnr to wa_xvbpa-posnr.
move 'WE' to wa_xvbpa-parvw.
modify vbpa from wa_xvbpa.
endif.
Endif.</i>
This isn't working for me. At one point, I was able to copy the ship-to down to the first sub-item but not any subsequent ones. I'm sure I need to add some code to another sales order user exit to get this to work, but I'm at a loss at this point. Has anyone had to do this or something similar before?
Thanks very much in advance for your help.
AngelaHi,
Can you check few more things and tell me?
- In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
- In Sales order creation time, do these table have VBELN populated when this exit triggers.
- If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
Try this code. See if it works. Let me know if you still have a problem.
DATA: wa_hvbpa LIKE vbpa,
wa_xvbpa like vbpa.
CLEAR: wa_hvbpa, wa_xvbpa.
* check if HVBAP and VBAP line items are not same
IF vbap-posnr <> hvbap-posnr.
* read the ****-to partner from main-item
READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
parvw = 'WE'.
IF sy-subrc = 0.
* read the line item data for sub-item based on main item
READ TABLE xvbap WITH KEY posnr = vbap-posnr
uepos = hvbap-posnr.
* See if current line is the child of that BoM parent
IF sy-subrc = 0.
MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
MOVE xvbap-posnr TO wa_xvbpa-posnr.
MOVE 'WE' TO wa_xvbpa-parvw.
MODIFY vbpa FROM wa_xvbpa.
ENDIF.
ENDIF.
ENDIF.
Regards,
RS -
Save a pdf file without Adobe automatically adding "-Copy" to the end
How can I save a pdf file without Adobe automatically adding "-Copy" to the end of file name?
If you have actually made any changes (e.g. adding a Sticky Note or filling out forms), the Save button will appear in the bottom toolbar. It will save it as the same name.
"- Copy" is added only when you tap/click the Save As button. You can change it to something else, if you'd like. -
Automatic Clearing of Down Payment
We have scenario
1. Downpayment request is triggered from SO
2. Payments is received against the request
3. When we post invoice we want it to be automatically cleared against down payment received. I have heard that standard SAP functionality does that. Our invoice from SO doesn't clear the invoice against received downpayment.
Any Suggestions?Hi Pankaj,
As per SAP standard design, it is not possible to clear the down payments during invoice booking.
See, basically till the time you book / post invoice, the down payment is treated and shown under CURRENT LIABILITIES.Once you finish billing, then you have to clear the pending / uncleared down payments against the posted invoice. This will transfer the down payment transactions from alternative reconcilation account to normal recon account.
After doing this only, you will be able to clear all items together in F.13. Otherwise you have to manually clear all line items (including invoice lines and down payment lines) in F-32.
Regards,
Srinu -
if i add an event on my iphone calendar, should it automatically update it on my icalendar on my mac
how can I check if i am using the same calendar? Also, do have I have to sync the two everytime I add an event?
Maybe you are looking for
-
Migrate Open items - Sales orders/ purchase orders and unbilled deliveries
Hello All Can you please tell me the best practice to migrate open sales orders, purchase orders and deliveries due for billing at Cutover to the new system? Also how can the historical data be migrated? What all comes under historical data? Many Tha
-
When I try to activate my prepaid CC card I get: "This card was purchased in a country that does not match your Adobe ID." I bought it in the USA for use here in the UK...how can I activate it? It is a student edition. Thanks
-
BTE for changing profit center based on MCN values
Hi , I need to change the profit centre value in accounting document line items based on MCN number. The iMCN value is updated in a BTE .We tried using substitution but since BTE is triggered after substitution ,MCN value is not updated. Kindly sugge
-
Entourage freezes after 10.4.7 update
after installing 10.4.7 update, entourage is freezing all the time. anyone experiencing similar problems
-
Install Errors (CTEngine) DVD Bur
GRRRR........ I keep getting CTengine won't install message and dvd burner wont install when installing my soundblaster platinum software, Also it takes about 45 minits to install, is this normal? I have updated the driver on the creative page, and t