Text in miro tcode
hai friends,
can u please tell how to store a text in note tab in MIRO transaction usging function module.
please help me.
Regards,
N.selvamuthukumar
Hello,
This forum is related to Financials Area. I think that the best would be to report this inquiry in Materials Management forum. They will be able to help you better
Best Regards,
Vanessa.
Similar Messages
-
Copy of header text to Line item text in MIRO transaction
Hello Friends,
I have a requirement where i need to copy the header text ( BSEG-SGTXT) to item text ( EKPO-TXZ01 i.e PO text) during MIRO creation.
Is there any user exit or BADI .OR is there any other method for doing the same .
Thanks and Regards !
AshishDear,
Go to se37 MRM_FINAL_CHECK.--display
then click on that enhance source button ( shift+f4) then go to edit--enhancement operation ---show implicit enhancement option this is how you can find out the eh=nhancementts .
Cheers
fareed -
User exit/BADi to change the header text in MIRO transaction
Hi all,
I am searching user exit or badi to change the header text in MIRO transaction.
My requirement is, before post the invoice I need to populate the vendor name in Header text field(MIRO -> Details tab -> header text field ). I have tried all the user exits and BADi's related to MIRO. Doesn't work. If anybody knows please share.
Thanks,
PranavTry BADI INVOICE_UPDATE.
If you are in system version is ECC 6.0, you can find out a Enhancement SPOT (ES_SAPLMRMC) under Function module MRM_FINAL_CHECK, which can be used to perform this requirement
Hope this helps.
Thanks,
Balaji
Edited by: Balaji Ganapathiraman on Mar 14, 2008 4:43 PM -
User exit/BADi to populate the header text in MIRO transaction
Hi all,
I am searching user exit or badi to populate the header text in MIRO transaction.
My requirement is, before post the invoice I need to populate the some text in Header text field (MIRO -> Details tab -> header text field). I need to populate this field in the MM document as well as FI document (Accounting Document). I have tried all the user exits and BADi's related to MIRO/MRRL. Doesn't work. If anybody knows please share.
Thanks,
Santosh
Edited by: Santosh Ghonasgi on May 13, 2010 4:48 PMHello santosh,
I am not sure whether a suitable exit / BADI exists to update the header text in MIRO directly.
there is one related forum:
User exit/BADi to change the header text in MIRO transaction
Hope, it may helpful for you to proceed with some other parallel solution.
Regards,
Selva K.
Edited by: Selvakumar Krishnan on May 13, 2010 5:29 PM -
Exchange rate as optional mode in MIRO Tcode
Dear All Expert,
How can we kept exchange rate as optional mode in MIRO Tcode?
Thanks & Regards
Santosh KadamHello,
In customizing, there is an IMG activity 'Define Currencies of Leading Ledger' under Financial Accounting (New) -> Financial Accounting Global Settings (New) -> Ledgers -> Ledger (transaction code OB22).
Here, you can define per company code, which type of date FI posting will use for currency conversion. The values for field 'TrsDte typ' are 1 - document date, 2 - Posting date and 3 - Translation date.
Regards, -
Hello ,
Can anyone tell me how do i get the partner text in CJ20N tcode for a Project and WBS element.
In CJ20N i have a project which has 3 wbs elements . For project and WBS i have the Partner and Name resp. in the Partner TAB .
I am able to view the partner names for these but i don't know from where these name are getting populated in the grid .
Can anyone tell me the table or FM that help's me in getting the partner name for a given partner number.
Thanks,
Ravi AswaniHi,
You can able to retrieve all the project related information from the tables PROJ and PRPS table. Please check and get bact to me. -
hI Expert
Can anyone tell me any menu exit EXISTS IN MIRO T CODE??
Moderator message: please do more research before asking, show what you have done yourself when asking.
Edited by: Thomas Zloch on Aug 19, 2011 9:37 AMHI VINO
any other alternate solution is there to add button on menu in miro tcode ?
any other menu badi for miro .
thanks -
Regarding miro tcode copy to zmiro.
Hi Experts,
i got requirement like copy miro tcode to zmiro, i copied all includes and all objects, finaly transaction code is also created.
while executing the program i got the dump,
how to solve this dump , please give me an idea to solve this issue.
Error analysis
On account of a branch in the program
(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
or a transaction call, another ABAP/4 program
is to be loaded, namely " ".
__' *However, program " " does not exist in the library._ "_*
Possible reasons:
a) Wrong program name specified in an external PERFORM or
SUBMIT or, when defining a new transaction, a new
dialog module or a new function module.
b) Transport error
Trigger Location of Runtime Error
Program SAPLMR1M
Include LMR1MO1W
Row 21
Module type (MODULE PBO)
Module Name MOVE_DATA_TO_TAX
Regards
vijay.Hi Vijay,
There are lot of complications in copying MIRO. So better try to find some alternative way for meeting your reuirements like BADI or enhacements etc.
For this error message, MODULE move_data_to_tax is declared in screen no 6005 of Function Group : MR1M. The codeing for MODULE MOVE_DATA_TO_tax OUTPUT is done in include LMR1MO1W. Include LMR1MO1W is included in include LMR1MO0M.
Going further LMR1MO0M is included in LMR1MO10. So there are lot of level available in this scenarios. So try to navigate to all these includes and check whether all these includes are there in your copied version.
Thanks & Regards,
Harish -
Runtime Error when Posting Invoice with text added (MIRO)
Hi Gurus,
We are getting a shortdump (runtime error) when we post certain invoices in MIRO. This happens when we input some text in the text field or add some text to the NOTE tab.
We are having exception ERROR_DP raised in the program c_textedit_control.
If the text field is blank and nothing is writing in the NOTE tab, the invoice gets posted with no problem.
Has anyone come accross this issue before and how did you solve it please.
Thanks.are u processing thru BADI, then it is very easy there are interfaces and methods for handling texts. u sud not get any error and plz never write commit work in BADI.
May be i cud provide more help if u share more details but let me tell more but let me share one recent development that i did.
In ME59n when we do PR TO PO then texdts sud be copied to header text in PO and get reflected in PO. the coding is like below may be can give some clues wid ur MIRO stuff.
METHOD if_ex_me_process_po_cust~process_header.
* Author : Prasenjit Bist *
* ID : PRBIST *
* Date : 04.08.2011 *
* Changes : New Devlopment *
* Change Request: *
* Description: To copy LSP information in PO *
TYPES:
BEGIN OF ty_text,
auto_pr_po TYPE zman_auto_pr_po,
plant TYPE zman_plant,
vendor TYPE zman_vendor,
lsp_vendor TYPE zman_lsp_name,
contract_no_text TYPE zman_contract_no_text,
END OF ty_text.
TYPES:
BEGIN OF ty_address,
ort01 TYPE ort01_gp, " city
ort02 TYPE ort02_gp, " district
pfach TYPE pfach, " PO Box
pstlz TYPE pstlz, " Postal code
region TYPE regio, "Region (State, Province, County)
telf1 TYPE telf1, "1st telephone number
telf2 TYPE telf2, "2nd telephone number
telfx TYPE telfx, "Fax number
land1 TYPE land1,
END OF ty_address.
DATA:
get the header level details
ls_mepoheader TYPE mepoheader,
lt_purchase_order_items TYPE purchase_order_items,
ls_purchase_order_items LIKE LINE OF lt_purchase_order_items,
get the line item details
lt_mepoitem TYPE STANDARD TABLE OF mepoitem,
ls_mepoitem TYPE mepoitem,
lt_textlines TYPE mmpur_t_textlines,
ls_textlines LIKE LINE OF lt_textlines,
TEXT TYPES
lt_texttypes TYPE mmpur_t_texttypes,
ls_texttypes LIKE LINE OF lt_texttypes.
DATA: l_name TYPE thead-tdname,
ls_header TYPE thead,
lt_lines TYPE STANDARD TABLE OF tline,
ls_lines TYPE tline,
l_tdobject TYPE thead-tdobject,
l_metafield TYPE mmpur_metafield.
DATA: ls_text TYPE ty_text,
l_text(50).
DATA: l_continue(1).
DATA: l_pass_vendor TYPE lifnr,
l_pass_plant TYPE werks,
l_name1(35).
fetch the address
DATA: ls_address TYPE ty_address,
l_landx TYPE landx.
CONSTANTS: lc_id TYPE thead-tdid VALUE 'F01',
lc_langu TYPE thead-tdspras VALUE 'E',
lc_object TYPE thead-tdobject VALUE 'EKKO'.
CONSTANTS: lc_set(1) VALUE 'X',
lc_vendor(11) VALUE 'Vendor: ',
lc_lsp_vendor(11) VALUE 'LSP Vendor:',
lc_contract_no_text(14) VALUE 'Contract Text:'.
CLEAR: l_continue.
IF sy-uname EQ 'PRBIST'.
Read the header data
ls_mepoheader = im_header->get_data( ).
read teh item level data.
break prbist.
lt_purchase_order_items = im_header->get_items( ).
LOOP AT lt_purchase_order_items INTO ls_purchase_order_items.
The item attribute of the structure is reference to line item
ls_mepoitem = ls_purchase_order_items-item->get_data( ).
APPEND ls_mepoitem TO lt_mepoitem.
ENDLOOP.
CHECK VENDOR IS THE ONE WE WANT.
SELECT SINGLE name1 FROM lfa1 INTO l_name1 WHERE lifnr = ls_mepoheader-lifnr.
First read the vebdor name based on LIFNR.
TRANSLATE l_name1 TO UPPER CASE.
IF ( l_name1 EQ 'LSP1' ) OR ( l_name1 EQ 'LSP2' ).
LOOP AT lt_mepoitem INTO ls_mepoitem.
TRANSLATE ls_mepoitem-werks TO UPPER CASE.
IF ls_mepoitem-werks EQ 'FI01'.
l_continue = lc_set.
l_pass_vendor = ls_mepoheader-lifnr.
l_pass_plant = ls_mepoitem-werks.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
IF l_continue EQ lc_set AND sy-tcode EQ 'ME21N'.
Call the POP UP screen to display LPS information.
CALL FUNCTION 'ZMAN_LSP_POP_UP'
EXPORTING
im_vendor = l_pass_vendor
im_plant = l_pass_plant
IMPORTING
ex_text = l_text.
GET Text Object (TTXOB)
im_header->if_longtexts_mm~get_textobject(
IMPORTING ex_tdobject = l_tdobject
ex_metafield = l_metafield ).
GET TEXT IDS
im_header->if_longtexts_mm~get_types(
IMPORTING ex_texttypes = lt_texttypes ).
CHECK TEXT TYPE 'F01' EXISTS.
READ TABLE lt_texttypes INTO ls_texttypes WITH KEY tdid = lc_id.
IF sy-subrc EQ 0.
UPDATING ITEM TEXT.
MOVE: l_tdobject TO ls_textlines-tdobject,
ls_texttypes-tdid TO ls_textlines-tdid,
'*' TO ls_textlines-tdformat.
break prbist.
ls_text = l_text.
CONCATENATE l_text ls_texttypes-tdtext INTO ls_textlines-tdline.
CONCATENATE ls_text-vendor
ls_text-plant
ls_text-lsp_vendor
ls_text-contract_no_text
INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT VENDOR
CLEAR ls_textlines-tdline.
CONCATENATE lc_vendor ls_text-vendor INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT LSP VENDOR
CLEAR ls_textlines-tdline.
CONCATENATE lc_lsp_vendor ls_text-lsp_vendor INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT CONTRACT TEXT.
CLEAR ls_textlines-tdline.
CONCATENATE lc_contract_no_text ls_text-contract_no_text INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT A BLANK LINE.
CLEAR ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
INSERT addreSS CAPTION.
CLEAR ls_textlines-tdline.
MOVE 'Address:' TO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
break prbist.
READ THE ADDRESS
SELECT SINGLE ort01 " city
ort02 " district
pfach " PO Box
pstlz " Postal code
regio "Region (State, Province, County)
telf1 "1st telephone number
telf2 "2nd telephone number
telfx "Fax number
land1 "COUNTRY
FROM lfa1 INTO ls_address WHERE lifnr = ls_mepoheader-lifnr.
GET COUNTRY
SELECT SINGLE landx FROM t005t INTO l_landx WHERE spras = 'E' AND land1 = ls_address-land1.
INSERT ADDRESS DETAILS.
CLEAR ls_textlines-tdline.
CONCATENATE ls_address-ort01 ls_address-ort01 INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT COUNTRY.
CLEAR ls_textlines-tdline.
MOVE l_landx TO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
TELEPHONE DETAILS
CLEAR ls_textlines-tdline.
CONCATENATE 'Tel:' ls_address-telf1 '/' ls_address-telf2 INTO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
FAX DETAILS.
CLEAR ls_textlines-tdline.
CONCATENATE 'Fax:' ls_address-telfx INTO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
SAVE THE HEADER LONG TEXT.
im_header->if_longtexts_mm~set_text(
EXPORTING im_tdid = ls_texttypes-tdid
im_textlines = lt_textlines ).
ENDIF.
ELSEIF l_continue EQ lc_set AND sy-tcode EQ 'ME59N'.
No need to display POPUP simply read the values and show.
if not
ENDIF. "(l_continue = 'X' and transaction code is ME21N or ME59N)
CLEAR l_continue.
ENDIF. "(sy-uname)
ENDMETHOD.
Edited by: Prasenjit Singh Bist on Aug 14, 2011 10:15 AM
Edited by: Prasenjit Singh Bist on Aug 14, 2011 10:21 AM -
FI document Header text formation using tcode F110 (Automatic payment )
After completion of tcode F110 i.e. completion of a cycle of automatic payment transaction
Then we can see header text of created FI document number by using tcode fb03.
But the header text created through F110 has a concatenation of Run Date and Identification.
There is problem that how it can happen?
I have gone through all program code; there is no such direct coding for concatenation of header text, rather concatenate happens at different level of coding.
We can create FI document using FB01 also and there is choice to enter Header text manually as well as we can select it using F4 help.
Any one has any IDEA regarding this?
Thanks,
SuyogHi
I'm not sure it's helpful answer. The code below shows the way to change FI document header text (BKPF-BKTXT).
tables: bkdf, bkpf, bsec, bsed, bseg, bset.
constants: c_bukrs type bkpf-bukrs value '11',
c_belnr type bkpf-belnr value '1900000001',
c_gjahr type bkpf-gjahr value '2011'.
data: t_bkdf type standard table of bkdf with header line,
t_bkpf type standard table of bkpf with header line,
t_bsec type standard table of bsec with header line,
t_bsed type standard table of bsed with header line,
t_bseg type standard table of bseg with header line,
t_bset type standard table of bset with header line.
start-of-selection.
* BKDF
select *
from bkdf
into table t_bkdf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BKPF
select *
from bkpf
into table t_bkpf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
loop at t_bkpf.
concatenate t_bkpf-bktxt '-R'
into t_bkpf-bktxt.
modify t_bkpf.
endloop.
* BSEC
select *
from bsec
into table t_bsec
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSED
select *
from bsed
into table t_bsed
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSEG
select *
from bseg
into table t_bseg
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSET
select *
from bset
into table t_bset
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
end-of-selection.
call function 'CHANGE_DOCUMENT'
tables
t_bkdf = t_bkdf
t_bkpf = t_bkpf
t_bsec = t_bsec
t_bsed = t_bsed
t_bseg = t_bseg
t_bset = t_bset
* T_BSEG_ADD =
hope it's help.
Peerasit -
PO line item text copied into Line item text on MIRO
i have entered line item text on the PO that i would like to get copied over to the line item of the invoice when created either thru MIRO or MIR7. I have looked and it looks like the copy rule for item text is in TEFP, but i have not got it to work. Am i missing something. Sorry, but i am the FI guy trying to work in the MM side.
Thanks,
SeanMaintain Customer Exits for Invoice Verification
The following SAP enhancements are available for maintaining the customer exits in Invoice Verification:
MM08R001 ERS (conventional Invoice Verification)
MM08R002 Tolerance checks
LMR1M001 Transfer of document header and item data,
account assignment proposal for invoices for blanket
POs
LMR1M002 Account grouping for GR/IR account determination
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Item text in follow-on documents
LMR1M005 Change criteria for releasing parked documents for
posting
LMR1M006 Change XML data for BAPI call CreateFromData
RMVKON00 Consignment/pipeline settlement
MRMH0001 ERS (Logistics Invoice Verification)
MRMH0002 EDI invoice receipt (Logistics Invoice Verification)
MRMH0003 Revaluation (Logistics Invoice Verification)
MRMN0001 Message output for Invoice Verification -
DESELECT FUNCTION IS NOT WORKING IN MIRO TCODE
Hi All,
I am creating a BDC for MIRO t-code, When recording I have selected
DESELECT function( technical function text is ADMA) to deselect all the items.
The Deselect function is working well when i do recording, But same is not
working when i execute the BDC. Why?
If any one of u having sample code , send me. reply ASAP
Thanks in advance,
s.senthil kumar.u can't do bdc recording for enjoy transactions .....................
miro is enjoy transaction...................tats y it didn't worked for u.....
reward points if helpful..... -
Miro Tcode Executing Normal In QUAL But Processing Slow In PRD Server
Hi,
I am facing a strange issue when i execute the tcode MIRO it is working fine in quality server but when it comes to PRD it is taking time in retrieving data from the PO Reference tab. I had checked in SM50 tcode and observed that Report SAPLJ1I4 is accessing data from MSEG table.
I had verified the indexes of MSEG in QUAL and PRD both are same . We had done client copy in the beginning of this month.
Please provide some guidelines for it.
Thanks & Regards,
RickkyYou might have a discussion with your basis team about reorg on MSEG, or update runstats, etc. This is really a question for that team.
-
Hi friends,
In Tcode MIRO, i want to upload amount and qty for basci customes, CVD, ECESS, ECESS ON ALL DUTIES AND ADDITIONAL DUTY ON IMPORTS for a particular purchase order.
How to upload data. Thanks in advance.
regards,
senthilkumar.rHi Senthil,
SAP doesn't recommend to do call transactions in MIRO transactions. You should use the BAPI_INCOMINGINVOICE_CREATE BAPI Function Module. If you have any problems with this BAPI, please answer this message in the Forum.
Regards,
Daniel Carvalho. -
Is there Method to make Header Text empty for Tcode: COR1?
When we use tcode COR1 to create a process order, there is a long text near by the process order number. Generally, after we create a process order, the long text will be filled by relevant material description in my Production system, My requirement is that when I create a process order, the long text should be Empty or should be filled by specific value automatically.
Please suggest how to do this????
Thanks in Advance
MudassarHi,
There are a lot of Exits for COR1 and otherwise try the (new) possibility of program enhancement.
Exits on COR1:
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determinatio
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
Success,
Rob
Maybe you are looking for
-
Hi all, I'm using function FIND `##` IN l_text MATCH OFFSET l_off. to search the pattern '##' in string l_text. But the function fails and returns sy-subrc = 4. The pattern '##' is definitely included in l_text. What am I doing wrong? Regards, Domini
-
Can you set a layer to "Template" through script?
Hi there, I am creating a script to batch export multiple artboards as SVG, and setting a layer to "Template" will keep my unwanted paths from exporting. I am using Illustrator version 17.1.9(64bit) Is there a way to set a layer to "template" th
-
Files burned to DVD on Windows XP not visible on my iMac
Of eight zip and PDF files burned to a DVD+R on Windows XP using Nero, only about half are visible when I put the DVD in my iMac. The DVD is 4.7 GB. There is plenty of leftover space. When I take the DVD back to my pc at work, all of the 8 files are
-
Hi all, I am trying to write a code to peak pick in 2 dimensions on a rather large data file (approximately 1000x72000 points). The results from this should be integer values where each peak has been reduced to its maximum point for further statistic
-
Internal microphone not working on a T420s
Hi, I have been googling a lot and reading the forums, but nothing seems to help. No matter what I do, the internal mic does not record any sound. I tried with pulseaudio and without, various options in alsa-base.conf, all kinds of settings in alsami