Populate header text of ME22N
Hi All,
I wan tto populate the header text field of the transaction code ME22N. I want to populate the header text by the requester's email-id. Th erequirementment is like all the POs has been created but now the email-ids has to be populated. Is there any way to populate all the email-ids we have in the header text field of the Tcode except populating them One by One ?
Many Thanks...
Hi,
You can create a BDC for that.
That would be simplest way to do it.
Regards,
Raj
Similar Messages
-
HI All,
There is a requirement to popuate the Header text of a sales order,
When the item -VBAP-POSNR for example : item 20,50,70 has beyond deliver date then I have to populate the header text
as - 'Item 20,50,70 has beyond deliver date'.
For this Im using SAVE_TEXT... but unable to get the right functionality how to make use of it.
Could anyone provide some pointers.
Thanks.Plz refrer to followin code I have used it and it works. Originally i wrote this code to copy text from ref SO to internal SO.
but it will work for u just change it a bit.
USER EXIT is USEREXIT_SAVE_DOCUMENT in include MV45AFZZ.
CONSTANTS: lc_language TYPE thead-tdspras VALUE 'E',
lc_object TYPE thead-tdobject VALUE 'VBBP',
BE CAREFUL with TEXT ID
LOOP AT lt_text_copy INTO ls_text_copy WHERE matnr = l_matnr.
Read the maintained text (w.r.t Reference Order)
MOVE: ls_text_copy-tdid TO l_id,
ls_configuration-atwrt TO l_name.
Wait for a few moments before reading the data.
WAIT UP TO 20 SECONDS.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = l_id "(Text ID of text to be read)
language = lc_language "(Language of text to be read)
name = l_name "(Concatenated value of VBELN and POSNR)
object = lc_object "(Object of text to be read)
IMPORTING
header = ls_header "(Object of text to be read)
TABLES
lines = lt_lines "(Lines of text read)
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Create the text (w.r.t Current Sales Order)
Name of the text to be created
MOVE: p_vbak-vbeln TO l_vbeln,
ls_vbap-posnr TO l_posnr.
CONCATENATE l_vbeln l_posnr INTO l_so_posnr.
CLEAR l_name.
MOVE l_so_posnr TO l_name.
Wait for a few moments before writing the data.
WAIT UP TO 20 SECONDS.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = l_id "(Text ID of the text to be created)
flanguage = lc_language "(Language of the text to be created)
fname = l_name "(Name of the text to be created)
fobject = lc_object "(Object of the text to be created)
save_direct = 'X'
TABLES
flines = lt_lines "(Lines of the text to be created)
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = ls_header
insert = 'X'
savemode_direct = 'X'
TABLES
lines = lt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
Clear variables
CLEAR: l_id, l_name.
ENDLOOP. "(END OF LOOPING ON TEXT IDs)
ELSE.
when material does not exists in the ztable.
EXIT.
ENDIF.
ENDLOOP. "(END OF LOOP ON THE SALES ORDER LINE ITEM)
ENDCASE.
ENDIF.
ENDFORM. " ZZ_TEXT_COPY
Edited by: Prasenjit Singh Bist on Aug 23, 2011 3:35 PM -
Populate header text with reference number and vendor name
Hi Experts,
My client wants to populate the line item text field - SGTXT in MIRO / FB60 with the reference number field XBLNR and the vendor name.
Is it possible to do it before the invoice get posted?. Like, just after the user entered the vendor account number and the reference number in FB60 system picks the vendor name against the vendor number from LFA1 table and the reference number entered in FB60 screen and populates them in text field ?
Similarly in MIRO - before the invoice get posted is it possible to pick the reference number from MIRO screen and pick the vendor name based on the PO number entered on the MIRO screen.
Please advise how to do this.
Thank you
ShinoHi
This can be achieved by using a User Exit in Substitution rule. This is done through GGB1. Define the rule
Prerequisite
(System T Code =FB01 or MIRO) and Account Type = K
Substitution
User Exit
The following link will be of help to you to define a user exit in substitutition rule
http://help.sap.com/saphelp_46c/helpdata/en/5b/d231a843c611d182b30000e829fbfe/content.htm
Regards
Sanil Bhandari -
Auto Populate Header Text in-ERS(MRRL)
HI Guru's,
Iam new to MM
Using with T.Code:MRRL Evaluate Reciept Settlement( ERS) Logical INvoice Verification. posting FI Document..my client wants to auto polulate PO Item Text (ekpo-txz01) into BSEG-SGTXT.for all line itmes.. is there any config settings need to change? any one can please advice me..
I excute the T.Code: MRRL following FI Documents Posting..
1 31 305556 Black Bag and Access
2 86 202002 GR/IR - Non FA (Displaying Text for thislline item)
3 40 106002 Input GST
regards
JKHi,
To copy PO item text to the FI doc item text, it means they need to have a 1 to 1 relationship. So when running MRRL, you must use Document Selection '3' (Document selection per order item).
You can implement user exit MRMH0001 to copy the PO item text to the logistics invoice item text which should then propagate to the FI doc item text. Make sure currently in FI there is no substitution rule that overwrites the item text field.
Another thing to consider is that PO item text can be multiple lines with hundreds of characters where as BSEG-SGTXT is only 50 char long.
Phyllis. -
Hi all,
While creating PR in ME51n i want to populate 'Header Text' with some predefined texts.
Any suggestinos to achieve this pls.
I tried with 'ME_PROCESS_REQ_CUST' but didnt got it.
Regard's,
Jean.Got it with 'ME_PROCESS_REQ_CUST' .
-
Hi
I am looking to populate header text depending on the value of the billing document. I have some standard text the needs to be displayed plus a value that needs to be calculated during processing e.g.
"Blah blah value £ 12.32 blah blah"
What is the best approch for this (SAP 45b)?
1. Access sequence requirment number for 'texts'
2. Access sequence requirment number for 'data transfer'
3. User exit?
Thanks...
Jbasic question, please search before posting (in the correct forum).
Thread locked
Thomas -
How to populate the Ser Entry ext key into the Doc Head text in ML81N Txn??
Hello all,
My requirement is to to populate the Service Entry external key into the Document Header text.
( ServiceEntry - ERS Invoice (MRRL) ). through ML81N Transaction.I have checked for exits in ML81N as well as MIRO. those doesn't seem very convincing.
IF i see the field of Document header text where i need to populate the data it is
( BKPF-BKTXT ) how do i populate the data ( SE external field ) which is in ESSR table..?
if any one has some piece of code please send it across.
this is urgent pls help...........
Any pointers for this would be highly appreciated.
Thanks,
Sreekanth...Please close this thread.Open new thread in forum [SAP Community Network Forums » ABAP Development » ABAP, General |;
-
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 -
Populate document header text in SES by bapi BAPI_ENTRYSHEET_CREATE
Hi,
I am using BAPI BAPI_ENTRYSHEET_CREATE to create a service entry sheet. But I am not able to populate the document header text (bktxt) in acceptance tab in service entry sheet header in ML81N.
Can anybody help me what I need to pass to this BAPI in order to populate this field.
Thanks,
MainakHey Mainak,
I am aware that the question was posted by you long back, but I am replying so that other readers probably can benefit from the answer below -
I faced the similar issue recently in one of the projects. The solution that i have opted is as below -
1. I leveraged the changing parameter 'ESSR' work area of the user exit 'EXIT_SAPLMLSR_010'. This user exit is internally called via BAPI_ENTRYSHEET_CREATE.
2. You can export the value of 'ESSR-BKTXT' field to memory ID from the calling program and import it within this user exit and pass it to changing parameter ESSR.
Hope this helps to other readers!
- Thanks,
Urvi. -
How to populate Doc Header Text Field & Ref Field in OASV Transaction?
Hello everyone,
I need to seek your help regarding, on how can I populate values in "Document Header Text Field" & "Reference Text Field" in OASV transaction, as these fields are invisible and are mandotory at document type.
(I know we can disable their status in the document type, but we don't want to do so).
Regards,
Saurabh PatniHi Mukthar,
Thanks for the quick reply.
I had tried to work out with substitution rule for the document type and transaction code, but still no use, the same error persists.
(In Subsitution I am going with constant value to be replaced), I am defining it for Callup point 1, but it is not working. -
Header text not getting populated in PO in R/3 from SRM!
Hi,
Our requirement is to automatically populate the email ID of the user in the header text once the PO is created in R/3 with reference to Shopping Cart in SRM.
our scenario is classic.
So far, we have used the following Badis in our development but seems to be not working.
1.ME_Process_PO_Cust
2.BBP_PO_INBOUND_BADI
Need your inputs to solve this email querry.
Regards,
Archit Gandhi
Edited by: Archit Gandhi on Feb 4, 2011 11:14 AMCheck "Text Schema" & "Text Mapping" config part under Cross-Application Basic Settings..
This should help you.. If you need help in configuration let me know..
Thanks!!
Bharath -
PO Header Texts and item texts
Dear Experts
PO header texts and item texts are stored in which table. please tell me the table name.
Here i have configured PO version management. in that i want to control some sensitive fields change only version management will get triggered. it is done through for this i have configured the sensitive fields in PO Print relevant changes. in that config the PO header texts and item texts table and field name is not exist.
Now i have change the PO through me22n in header texts version management is triggered for this. i want to control this if some body change the po header texts and item texts version management should not triggered.
is it possible.
Regards
Anand.Hai,
Try this table STXH.
Get the required information(input) for the function module 'READ_TEXT'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ST'
LANGUAGE = sy-langu
NAME = thead-tdname
OBJECT = 'TEXT'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
if sy-subrc eq 0.
loop at lines.
wa_HEADER_TEXTS-TEXT_FORM = lines-TDFORMAT.
wa_HEADER_TEXTS-TEXT_LINE = lines-TDLINE.
append wa_HEADER_TEXTS to lt_tmp_HEADER_TEXTS.
endloop.
Better take the help of abaper.
With Regards,
Jaheer -
Default text in Purchase Order Header text
Hi,
When i create a PO, only for a specific plant I want a default text description to be captured automatically in the Header Text.
How to get this done?
Please post your inputs.
In case you need any additional info please revert.
Thanks,
Suresh.Hi
Use this BAdi
The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
Typical applications for this BAdI include:
Processing of own objects
Processing of additional data on standard objects
Implementation of additional checks and derivations
Change of data in standard fields
Change in field selection
The PROCESS_ITEM method enables you to change the item data and check it for correctness.
Thanks & Regards
Kishore -
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 -
Hi All,
In the Accounting Document of Intercompany Invoice (Document Type- V1-Inter-com AP Invoice) ,Header text is getting copied from Header Text of Invoice Documents (Where ever the Text is maintained -for any text type/ID).
How can we stop flow of Header Text from Invoice to Accounting Document as the Text entered by Delivering Company is featuring in the Accounting Documents of Ordering Company.
Thanks in Advance.
Regards,
VikasHello Amit,
you could use the user exit to write the code to populate the information in the accouitng document
the exit is EXIT_SAPLV60B_001
through this, the billing document will always carry the value that you want , even if this is created manually also and not through bdc
Hope this helps
Thanks
akasha
Maybe you are looking for
-
How to display output of SQL Loader in a readable format
Hi All, We have an inbound interface wherein we are uploading data from a flat file to Oracle Applications. The entire process is happening in a request set - 1. Loading from flat file to staging tables via SQL Loader 2. Validating Data in staging ta
-
Method to locate row and column in TableView
In a TableView.setOnMouseClicked () How to capture that row and column were clicked?
-
Data template creates empty line in output xml when running in application
I converted oracle rdf report to xml, everything is good, except when I run data template it produce xml with empy line after <?xml version="1.0" encoding="UTF-8"?> here is unwanted line <COA_PO_ST> </COA_PO_ST>
-
Adding Keychain issue using Keychain Access - 10.3.9/eMac
I recently crashed and had to erase my 10.3.9 volume. I'm trying to add a Keychain in a new system I installed, from a 10.3.9 library that I had backed up on a DVD, using Keychain Access. When I navigate to the Keychain folder on the DVD in the "add
-
Not receiving Registration Key for my Oracle product
I have tried creating 3 different accounts with 3 different email addresses, and have not receive 1 email on any of them. I have to have Oracle installed by tomorrow night, and because your website isn't working this isn't going to happen. Can you se