Change log needed when item Text is changed via a customised tab in PO
Hi all,
In ME21N, ME22N and ME23N we have added a tab CUSTOMERDATA which contains input to enter no. of batches. When ever we enter something, say 1 in the field for no. of batches, this will trigger a FM which will create a batch and update the TEXTS tab at item level with the batch created. This functionality is achieved using the exit EXIT_SAPMM06E_013.
Now the requirement is whenever the TEXTS tab is updated by means of CUSTOMERDATA tab, I can see that some text is added to the TEXTS tab. Now I want to see this in the change log at item level that text is updated.
I can see the change log when i manually go to TEXTS tab and change/add something but not when i do it via the CUSTOMERDATA tab.
Could you please help me how to achieve this.
Thanks in advance!
BR,
Aravind.
Ok, looks like you haven't received good replies yet, so here's what you need to do. The difference is that CHANGEDOCUMENT_TEXT_CASE is being called for the application transaction entry but not for your exit-based entry of the texts inside EINKBELEG_WRITE_DOCUMENT. This means that UPD_ICDTXT_EINKBELEG was not set - you need to make sure the field value is set to 'U' for the call.
Similar Messages
-
Urgent: Updating Item Text Via SAVE_TEXT
HI Friends,
I need to update the item text in me22n via some FM.
Can somebody suggest some FM with eg..
I have found SAVE_TEXT FM to update the item text.
i am not sure about the parameters and value could any body help me with some code ..
I have written a code like this
I have got a error like the length of the header table passed is higher ...and goes to short dump.
GW_THEAD-TDNAME = 'Concatenated value of Ebeln and Ebelp".
GW_THEAD-TDID = ?F01?.
GW_THEAD-TDSPRAS = SY-LANGU.
GW_THEAD-TDOBJECT = ?EKPO?.
IT_LINE-TDFORMAT = ?*?.
IT_LINE-TDLINE = ?Test Create Text?.
APPEND IT_LINE.
CALL FUNCTION ?SAVE_TEXT?
EXPORTING
CLIENT = SY-MANDT
HEADER = GW_THEAD
INSERT = ? ?
SAVEMODE_DIRECT = ? ?
OWNER_SPECIFIED = ? ?
LOCAL_CAT = ? ?
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = IT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Please help with some code /Hi
thank you very much for your reply.
Can you explain more about the inport parameters of the FM. lets say for example I need to update "item note" in the item of a outbound delivery with text " I am doind the testing". for this scenario what the are the parameters i need to send to the FM
thanks
sankar -
Changing PO item text when material number changed in ME22N
Hi all,
I am facing a problem as described below. Please provide me a concrete solution.
My customer wants me to add a custom item text as Work Authorization Data in ME21N and ME22N. I have created a user exit to implement this requirement. So whenever the user enters a material as a PO Item and saves the PO, my user exit is invoked and the custom data pertaining to that material is displayed as an item text. Later when the user edits the PO and changes the material number from any line item, the system deletes all the item texts corresponding to that line item.
My problem is, after that when my user exit is invoked, the corresponding text is not getting stored. If I change any other data (like quantity or unit) again and saved, then the text gets saved.
Can anyone provide me solution to make this item text get saved at the time of change in material number itself.
FYI, I am working on SAP R/3 - 4.7 version. If more details are needed then I shall provide them.
Thanks and regards
Abdul Shabeer.Hi,
it does not matter if the BADI is already implemented. You can add your additional logic there. If you put break points in all methods of BADI implementation and run ME2xN then you will see when is each method called. You are right that here is no BADI method SET_DATA. What I meant is that you get a reference to PO item (type IF_PURCHASE_ORDER_ITEM_MM) in BADI method PROCESS_ITEM. This interface has to methods GET_DATA and SET_DATA. Using these methods you can get current item fields and change them according to your needs.
Cheers -
Need help to change line item text for 220 Line items
Hi Specialists,
The user has posted a reversal entry ( doc type : Manual Accrual) using TCODE FBS1.
It has 220 line items.
Is there a way in SAP he can change the text of All Line Items for a particular document number in one shot ( Mass Change).
Pls note : Header text remains same . Only the line item text needs to be changed in one shot .
For Eg :
1 50 2758000047 Accruals for CAS Accrl - Dec 08 / Nalini Marketing(Door Mats) - Oth
2 50 2758000047 Accruals for CAS Accrl - Dec 08 / SKC - M&E Repair
Changed Description:
1 50 2758000047 Accruals for CAS Accrl - Jan 09 / Nalini Marketing(Door Mats) - Oth
2 50 2758000047 Accruals for CAS Accrl - Jan 09 / SKC - M&E Repair
Thanks,
Abhinav.Hi
This is possible, please follow as below:
If it is GL (FBL3N), Customer (FBL5N), Vendor (FBL1N) line item use the TCODE' mentioned.
In the selection screen, if possible give all the document numbers (it is possible with addition selection).
Once you get the output with the line item, select all line items and go to the menu options there you can see the mass change option, it will give one popup screen give the new value in the text field and proceed further.
VVR -
Change in Work item Text for Approval Workflow WS14000133
Hi,
I need to change the work item text for Shopping Cart Approval Workflow WS14000133.
I have created an Attribute in Business Object BUS2121 and called the same attribute in work item text.
In PFTC -> Redefine Work item text - > and i have defined the work item text as well called the attribute from the container.
what the problem over here is - when I am passing the attribute in the work item text in the task, I am unable to see the work item text with the Dynamic Attribute but I am able to see the work item alone (not with the Dynamic attribut)
But when i debug the workflow from SWI1 then i can see the dynamic attribute in the Container of the workflow but nt in the approver's inbox in portal..
Can you please tell me - that why is this a strange behaviour that i can see the Dynamic attributed created initially in the workflow container of the Business Object but nt in the Approvers inbox either in Backend nor in the front end...
Thanks,Hi,
Maybe this SAP note/KBA will help :
1470761 - How to change the text of the SRM approval links in inbox or UWL
Kind regards,
Siobhan -
Trigger delta on sales order header/item text change
Hi,
I need to create an trigger delta when header or item text on sales order is changed.
Any pointers to this will be helpful.
<REMOVED BY MODERATOR>
Thanks a lot.
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 4:03 PMIn Mv45afzz u will find save document prepare ..once the document is saved it will trigger if executed from VA02 Transaction create your delta.
-
Changing Vendor Line item text @ FB03
Hi Gurus,
When running MEB4 (Rebate Settlement) it'll create Accounting Entries that can be seen @ FB03... My problem is how to change the vendor line item text at FB03 upon running MEB4.
Thanks in advanceHi,
You can use FB02 to change the vendor line item text.
Regards,
Vinod -
To change the Purchase order header and line item text
Hi everybody,
I need to upload the PO Header and item text for the combinaion of PO and a material.
Please help???Hi,
Try this beloe code
Length of the PO item text
If the length > 132 Chars
BAPI Function module for changing PO item Text
commiting the bapi change
SORT t_bapi BY ebeln ebelp.
LOOP AT t_ebeln INTO wa_ebeln.
LOOP AT t_bapi INTO wa_bapi WHERE ebeln = wa_ebeln-ebeln.
REFRESH t_return.
READ TABLE t_input INTO wa_input
WITH KEY ref_num = wa_bapi-ref_num
item = wa_bapi-ebelp.
IF sy-subrc EQ 0.
APPEND wa_input TO t_output.
w_len = STRLEN( wa_input-text ).
wa_potextitem-po_number = wa_bapi-ebeln.
wa_potextitem-po_item = wa_bapi-ebelp.
wa_potextitem-text_id = 'F01'.
wa_potextitem-text_form = '*'.
wa_potextitem-text_line = wa_input-text+0(132).
APPEND wa_potextitem TO t_potextitem.
IF w_len > 132.
wa_potextitem-po_number = wa_bapi-ebeln.
wa_potextitem-po_item = wa_bapi-ebelp.
wa_potextitem-text_id = 'F01'.
wa_potextitem-text_form = '='.
wa_potextitem-text_line = wa_input-text+132(123).
APPEND wa_potextitem TO t_potextitem.
ENDIF.
ENDIF.
ENDLOOP.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = wa_bapi-ebeln
TABLES
return = t_return
potextitem = t_potextitem.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '
IMPORTING
return = wa_bapiret2.
Regards
Krishna -
Change Item Text and Header Text in Posting Document
Hi Experts,
When Travel Document is posted in FInance -
i) Document Header is blank.
ii) and Item Text is *Trip from 01.09.08 To 01.09.08 to Mumbai
I want to change the Header Text with Expense Schema and Item text with Schema and additional Text.
Regards,
Kamal Rawalhi,
There is a BADI available for the same.
BADI definition name: TRIP_POST_FI
Thanks,
Rajkumar.S -
In "Previews" when adding text to a picture I can't change the font, even though a few days ago I could. How do I fix this?
kgwrotethis wrote:
10.6
Use Software Update to update your os to 10.6.8 and anything else that needs to be updated. After the installations go to /Library/Preferences - trash the com.apple.Preview.plist file. Repair permissions, restart your computer and empty the trash. Your Preview issue should now be resolved. -
Detect purchase requisition item text changes
Hi Abap Gurus,
During a PR modification (ME52N), I need to read the purchase requisition item text at runtime to compare with the stored item text (read text) and detect if it have changes.
Actually, I am using the badi ME_REQ_POSTED.
How could I detect the PR item text changes? or How could I read the item text at runtime.
Somebody could help me with this....
Other ideas will be welcome.....
Regards,
Jaya Sankar.MHi,
But can you change the purchase requisition item text using the badi? -
Opacity level changing when exporting text with alpha
Hello,
I am hoping someone can shed some light on what is happening with my opacity levels when exporting text with an alpha. I have animated text where some words are black at 50% opacity and some words are white at full opacity. They are on a textured background. I need to give the other editors a version of the text married to the background and one that is just text with an alpha. When I export it and bring it into Premiere, the "married" version looks fine, but the black in the version of the text with alpha appears more transparent. I can fix this by changing the blend mode to Hard Light or Luminosity, but this alters the color of the white text slightly (and I should note that the blend mode in AE was normal). I can of course work around this by exporting my black and white text separately, but I was hoping someone might know why this is happening.
I am working on AE CC (ver12) and Premiere CC (ver7)
Thank you!Rick, I am judging visually.
I have since taken the cue from Mylenium, and I think the problem has to do with the fact that AE's default opacity is not linear and Premiere's is. When I change the sequence settings of Premiere and uncheck "Composite in Linear Color" the blacks of my clips match. Similarly when I change my Project Settings in AE and check "Linearize Working Space" the blacks appear lighter as they did when with the text only clip in Premiere. Since I am working with other editors that are using Premiere, I assume I should change the settings in After Effects to match Premiere (linear). Unless there is any reason I shouldn't do that?
Thank you,
-Keri -
Formatted Search is not auto-refreshed when Item Description changes
Hi all,
I have a UDF "Packing Details" at Goods Receipt screen row level.
My formatted search setting is the field should be auto-refreshed when Item No is changed.
1) I press TAB at Item No and choose an Item, Packing Details UDF will auto-refresh. (No problem)
2) However, if i press TAB at Item Description and choose an Item, Packing Details UDF will not auto-refresh. I need to press SHIFT+F2 to make packing details appear.
I try the same setting at Goods Receipt PO, the Packing Details UDF will refresh automatically regardless i choose the item from Item No or Item Description.
Is anyone face this problem before?
Thanks.
Regards,
Lay ChinThanks Gordon.
I have told this to customer before, but they prefer to have 'Refresh' on both Item Code and Item Description.
I think we have no choice but let the customer to choose either one, right?
Thanks.
Regards,
Lay Chin -
Detecting change on header and item texts for sales order in user exit
Hi,
In the user exit of VA02, I need to identify/detect if header or item texts for sales order is changed or not.
Please advise on this.
Regards,
ShreyasNormally system stores the old values in XTables and new values in YTables. Check if you have access to these in your user exit. If you give the user exit name, someone will be able to guide you.
hith
Sunil Achyut -
User exit for change PO (me22n) for save header and item text.
Hi Experts,
I have a requirement to read the header texts/item text at run time .
please tell me is there any save user exit for tc me22n .
Thanks in Advance.
PareshTransaction Code - ME21N Create Purchase Order
Exit Name Description
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
No of Exits: 35
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal
Maybe you are looking for
-
Vendor Name is not coming in Studio
Hi, Vendor name as well as the name is not coming in the development studio. Rather it takes directly the sap.com as vendor name. I have created product, software components(with necessary dependencies). but still i am not getting it right. Can
-
IPod touch keeps loosing my home hub as the default wifi connection
Can any one tell me how I can keep the Home hub as my default wifi connection when I am at home. Currently I will set it to connect to the Home hub and it does no problem. then when I stop using it for a while it becomes disconnected and I have to re
-
Photos missing from camera roll
About two months worth of photos are missing from my camera roll. Don't know when this happened, only noticed it recently. I would have thought they were backed up to the iCloud as I have back up on, but have no idea why they aren't reappearing in
-
How to save iMovie project as .mov file?
That's my question!
-
Hi, We are using BO XI R2 SP5 with Oracle 10.2.0.3 DB, both on Solaris 10. We are trying to use DataDirect 5.3 ODBC to establish the connection. We have a Windows environment that works when pointing to the same DB but on UNIX, we get errors of Fai