Changing the item data in MIRO ,MIR7,MIR4 transactions
Hi,
Please help in finding out the BADI/User exit to change the line item data and passing changed data back to the main screen for MIRO,MIR7 and MIR4 transactions.
Hi Neil,
1. U said u have used SAVE_TEXT
and it saves.
2. To check if this happens or not,
After that write COMMIT Work.
3. In DEBUG mode,
execute till the FM and COMMIT Work,
4. In another session,
see the table STXH
to know whether it REALLY Gets
updated or not!
regards,
amit m.
Similar Messages
-
How can I get and change the items grid of MIRO trx
Hi everyone,
I have a requirement where I need to get and change the tax code field in MIRO's item grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi only allows read but not change them.
Do you have any idea?
Thanks in advance!
Regards.
Leo.Hello,
You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
LOOP AT ti_drseg INTO ls_drseg.
lv_index = sy-tabix.
***... do your processing
MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
ENDLOOP.
FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
<drseg> = ti_drseg[]. " this will modify the data in MIRO with your modified data
Regards,
Naimesh Patel -
BAPI_PO_CHANGE not changing the item data
Hi All,
I am facing an issue with bapi_po_change......though the return message says that the po is changed but then also i am not able to see the changes via me22n/me23n . Below is the code Can anyone please let me know how to resolve this issue .
REPORT ztest111.
DATA: git_po_items TYPE STANDARD TABLE OF bapiekpo ,
git_bapimepoitem TYPE STANDARD TABLE OF bapimepoitem,
git_bapimepoitemx TYPE STANDARD TABLE OF bapimepoitem,
git_bapimepoheader TYPE bapiekkol ,
git_bapimepoheader1 TYPE bapimepoheader ,
gwa_bapimepoitem TYPE bapimepoitem,
gwa_bapimepoitemx TYPE bapimepoitem,
gwa_po_items TYPE bapiekpo.
DATA lv_pur_ord TYPE bapiekko-po_number VALUE '4500000201'.
DATA lv_return TYPE TABLE OF bapiret2 .
CALL FUNCTION 'BAPI_PO_GETDETAIL'
EXPORTING
purchaseorder = lv_pur_ord
items = 'X'
TABLES
po_items = git_po_items.
LOOP AT git_po_items INTO gwa_po_items.
gwa_po_items-short_text = 'Text changed'.
MOVE-CORRESPONDING gwa_po_items TO gwa_bapimepoitem.
gwa_bapimepoitemx-po_item = gwa_po_items-po_item.
gwa_bapimepoitemx-short_text = 'X'.
APPEND gwa_bapimepoitem TO git_bapimepoitem.
APPEND gwa_bapimepoitemx TO git_bapimepoitemx.
ENDLOOP.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = lv_pur_ord
TABLES
return = lv_return
poitem = git_bapimepoitem
poitemx = git_bapimepoitemx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.HI,
Check this link
[Sample Abap code on BAPI_PO_CHANGE |http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
[bapi_po_change |Re: bapi_po_change]
Edited by: Avinash Kodarapu on Mar 2, 2009 11:33 PM -
How to change the posting date in UD stock posting for a HU managed item?
Hi,
We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has generated an inspection lot. Now while trying to do UD and stock posting, I do not see the "Doc" tab which we normally see in UD stock posting for normal inspection lots (non-HU managed items) for changing the date.
I don't see any other way to change the posting date for the HU managed item in UD stock posting. Anyone can help please?
Thanks & Regards,
Madhavan Krishnamoorthy.I don't think you can.
Craig -
How to change the posting date at the line item level in a sales order
how to change the posting date at the line item level in a sales order
Hi,
I believe the POSTING DATE will appear on the accounting document
In the Accounting document, the posting date will be based on the Billing date.
Please let me know if you need any more details
santosh -
CRM-ISU: Need to change the END date and Start Date for contract items
Hi,
There is an old contract item for which I need to change the end date
and there is a new contract item for which I need to change the start date.
I need to change the contract item end date and start date using some function module in IS-U system (may be as RFC to CRM).Pleaselet me know if any body is ware of this functionality?
I am aware of a FM EECRM_CONTRACT_DATE_CHANGE which may be used for changing End Date
but how to change the start date of a new contract item?
Please let me know if any body is aware of this?
ThanksHi,
Hope you can solve it by this [Link1|Re: Function modules; [link2|CRM material;.
Regards,
Surjith -
How could I change the Invoice date automatically in MIRO?
Of course, I can change it manually. But the user want to calculate the due date in their own way---we have a special way to calculate the due date. So, I am looking for User-exit where I can write ABAP codes to recalculate the invoice date and cover the default invoice date, so the system can get the right due date by calculate the invoice date in the standard way.
Did anyone have any experience in change the invoice date??Pls tell me. THKS!You can use the badi MRM_HEADER_DEFAULT.
(See in transaction SE18) -
Unable to change the item category in existing Scheduling Agreement
HI,
I have a schedule agreement where there are already list of line items but saved without the appropriate item category field in all of the line items. Now I see that the Item category column is greyed out & unable to edit or change thru ME32 T.code.
I am already aware that deleting the item codes & adding again with resolve the issue. But when try to delete, those codes shows that they have GR & PO not completed one.
My question is :
Is there a way to edit/change the Item category field without deleting the item?
Whethere is it possible to do it in bulk update for group of items in SA?
If it is possible, pls provide how to do it with steps.
Kindly advice.
Thanks. in advance!
-UmeshPlease try using MASS tcode with object BUS2013
or MEMASSSA
Its a direct table update where you can select the Table Item and Field Item category and input the document number to change the value os item category and try with one sample data then do it in mass.
Before cahngin the item categry Please make sure all the dependancies are met then nly the system will allow you to save.
Refer for Mass upload function it is common for all
[Mass update|http://www.sapkshare.com/user/image/mass-maintenance---mm17.pdf]
Edited by: Karthik on Jul 29, 2011 2:44 PM -
Deriving/ change the item category from handling unit
Hi SAP GURUS,
In vl01n I want to derive the item category based on the handling unit. Hnadling unit is derived from the payment terms.
Please let me know the required configuration or the development for this.
Thanksi need ur help regarding the Sales order item category redetermination.
we are having two item categories YNAE and YNAG and it contain schedule line categories CP and CB ( i.e for item category YNAE schedule line category is CP and
for item category YNAG schedule line category is CB), for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG
which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and it is working fine .
But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule on SAVE and its delivary dates are also not getting determined properly. If press the option ATP check at the schedule line level than very things will getting corrected in the order.
i am using UPDKZ = U in both xvbap and xvbep for changes
I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
Regards,
Vaddepally Manoj -
Error message while changing the delimit date of a job in ppome
Hi experts,
I have delimited a job in ppome to date 11.05.2011. But now i want to remove that delimit date and change it to unlimited(31.12.2999). when iam trying to change the delimit date it is showing a popup message 'select a date between 15.11.2008 and 11.05.2011'. Can anyone say why it is showing this message. how can i delimit that job again to 31.12.2999.? Same problem with the position also.
Pls help...Dear Priaynka,
Thanx for ur reply, I am again furnishing below the details:-
I have to change the Valuation Class of the material :-
7 POS for which Goods Receipt & Invoice Receipt have been done from period 1 to 7.
1 PO for which Goods Receipt & Invoice Receipt have not been made.
All the material reced in period 1-7 have been consumed by MFBF. Now no material is available in the material in that plant.
Should I change the valuation class by deleting the line item of all the PO's 7 POs + 1 PO.
Please advise, as the fresh PO will be made with new val class and GR/IR and Consyumption will happen after the change is made.
Please advise if I am wrong in the procedure.
Regards,
Alok -
How do I use AppleScript to Change the Creation Date to the Current Date?
I sorted my downloads folder by creation date and found that the items were sorted seemingly randomly. On closer inspection, I saw that the creation dates were not the same as the dates that I downloaded the items, so I figures that Snow Leopard was using the date given to it by the server.
In order to get the items sorted by download date, I figured I'd use Hazel, but it doesn't have a “change creation date” item. It does, however, have an “run AppleScript” item.
So my question is this: how do I use AppleScript to change the creation date of an item to the current date?TC (Techno Cat) wrote:
Okay, I tried changing the creation date with SetFile, but it kept giving me an error:
What am I doing wrong?
Looks like the date and time was not quoted
Try this Applescript. It will change the creation date of every file in the Downloads folder to the current date and time:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #E6E6EE;
overflow: auto;"
title="this text can be pasted into the AppleScript Editor">
set current_date_and_time to do shell script "date \"+%m/%d/%Y %H:%M\""
tell application "Finder"
set filelist to every file of the alias (the path to downloads folder as text)
repeat with currentFile in filelist
do shell script "/usr/bin/SetFile -d " & quoted form of current_date_and_time & space & quoted form of POSIX path of (currentFile as string)
end repeat
end tell</pre> -
How to cancel the second ATP after changing the delivery date in the SO
Hello,
our solution creates automaticly a production order accorting to sales order.
The system calcule ATP for each items at the creation of the sale order.
Sometime, we change the delivery date on the scheduled line and SAP do another ATP. If the composants are not available we get an TSUP status on the order production.
How can we cancel the second ATP ?
Is it possible to cancel it when we change delivery date ?
Thanks
Regards
PierreI think its not possible to skip the atp during change of the sales order. All these determinations will trigger before saving the order
regards,
Ramana -
Revision: 14837
Revision: 14837
Author: [email protected]
Date: 2010-03-18 00:26:27 -0700 (Thu, 18 Mar 2010)
Log Message:
Changing the way data tips are rendered in when mirrored.
Single data tip shows to left in RTL now which shows to right in LTR
Callouts connecting datatips to chart items are also modified.
QE notes:
Doc notes:
Bugs: FLEXDMV-2347 ( Datatips cluterred in bubble chart when layoutDirection=rtl)
FLEXDMV-2348 ( Position of datatips not changing WRT layoutDirection)
Reviewer:
Tests run: checkintests
Is noteworthy for integration:
Ticket Links:
http://bugs.adobe.com/jira/browse/FLEXDMV-2347
http://bugs.adobe.com/jira/browse/FLEXDMV-2348
Modified Paths:
flex/sdk/branches/4.x/frameworks/projects/datavisualization/src/mx/charts/chartClasses/Ch artBase.asSetting Lightroom's preview size to larger than screen resolution is guaranteed to slow things down. I have a dual monitor system whith Lightroom showing the loupe on one screen and the grid on the other. The screen sizes are 1920x1080 and 2560x1440. Following your practice for previews would bring my system to a crawl and I have an entry level workstation.All my previews are of standard 1024x768 in size. The only delays in viewing come when Lightroom is asked to display an image where there is no preview. Once the preview has been created, browsing is near instantaneous.
I beg to differ! The reason is that a preview can be used for any size, which is smaller than that of the preview. Scaling down a preview can be done with little or not loss in quality compared to getting the full resulution and scale that down. Scaling up is not possible.
In your case, you will not use the previews of 1024x768 at all for full screen display. Instead you will force L3 to create bigger previews the first time you open the photo. You could try this by generating the standard previews for new imported photos before you start browsing. Then try to browse. You will probably get the "Loading" message, which indicates that the preview was not used and another one with higher resolution will be made. Then try the same experiment, setting the size of the standard preview to 2048. If, and only if, the size of your display area is not more than 2048 pixels wide and you display a photo in lanscape orientation, you will be able to browse without delay after generating the standard previews.
If I understand your setup correctly, you display the photos in a window of 2560x1440 pixels. I suspect that only 1:1 previews could be used for that. I think Adobe should increase the maximum size of the previews to a value larger than 2048, so that you are not forced to use only the 1:1 previews.
I agree, that when the previews have been generated, browsing is near instantaneous. -
User exit or BADI to change the delivery date in ME51N transaction
Hi Gurus,
I need a user exit or a BADI where I can change the delivery date in the item overview tab for each material. I need to calculate the date according the vendor contact details.
Please let me know if there is any BADI or a user exit for the same
Thanks a lot!!!
Sharathquick search for exits/badis: get package name and supply it into se80
or
se15
thanq -
How to change the default date in Person assignment tab?
Hi experts,
Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
Thanks and rgs,
MichelleHi Michelle,
Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
Hope this is useful...
Regards
Aatish
Maybe you are looking for
-
[SOLVED] X not quite right (resolution, driver, color depth)
I am followed the instructions in the Beginner's Guide, and I am quite happy with my system. However although I am certain I installed the open Radeon driver, any time I enable it, X just gives me a blank screen. If I can ctrl-alt-backspace out of it
-
8i Lite and Java Stored Procedure
Has anyone had success running the Java Stored Procedure examples with 8i LIte. My SQLPLus window alwways dies when the demo sql script triest to attach the stored procedure to the table. The line causing error is: +++++++++++++++++++++++++++++++++++
-
Hello Experts, I am unsing SRM 4.0 SP13 & standalone scenario. At present RON currency set with "No Deciamal Places" in Currency setting. Now user wants to put 2 decimals with this currency. In SPRO -> SAP Web Application Server -> General Settings
-
Why doesn't the role of IP in portal exit?
Hi, Why doesn't the role named 'pcdportal_contentcom.sap.pctplatform_add_onscom.sap.ip.biRolescom.sap.ip.bi.bi_showcase' for IP exit in portal. But the t-code RSPLAN workds. Any suggetions are appreciated. B.R Gerald
-
Word processing application?
After being burned too many times by Microsoft and Lenovo Thinkpad, I bought myself a Macbook PRO. I can't believe how easy Apple makes it. This notebook is incredible. Far more durable than any notebook that I've ever used too. THANKS APPLE! I decid