Mass delete of PO item texts for specific PO and SA
Hi All,
I have thousands open PO's and SA's coming in during conversion in SAP system. For many of them we have material specifications and drawing number coming in from legacy and we populate them using standard BAPI create function module.
On the other hand we also have a BADI activated ME_PROCESS_PO_CUST which populates the PO item text 'spec details' from material master CLASSIFICATION and drawing number from BASIC DATA2.
We have a logic implemented saying if legacy file has a value in Material Specification it will not trigger the BADI, if the value is NULL it will trigger the BADI and fetch the data from Material Master.
But now we want to have the material specifications coming in from legacy as it is. If it has a value it will populate, if it is blank it will leave it blank.
My question is without a change around the BADI and PO create function module what are the ways to delete the item texts from the PO's and SA's for which legacy value is NULL. The deletion will be only for specific PO's, say out of 10000 PO line items posted in the system I want to delete Material Spec for 6000 of them. Appreciate your help in advance.
Edited by: biswajit guha on Mar 15, 2011 1:10 AM
you have to write your selection logic in a small ABAP and then call the funcion module DELETE_TEXT
Similar Messages
-
CREATE SUBSTITUTION RULE FOR u0093COPYING LINE ITEM TEXT FOR LINE ITEMSu0094
Hi every body
When user post transactions in FB60 we have give the line item text, Suppose no.of lineitems are there in tht instnace my client asked to create the substitution rule to COPYING LINE ITEM TEXT FOR LINE ITEMS
pls tell me the processes how to create the substitution rule
Plz can anyboby help me out...
laxmi velagasorry,
link doesn't work:
here's the content:
you must add your rules at event 3 (complete document)
in an exit of ZGGBS000:
data htext type bseg-sgtxt.
*find
LOOP AT BOOL_DATA-BSEG INTO BSEG
WHERE bseg-sgtxt <> space.
move bseg-sgtxt to htext.
ENDLOOP.
*copy
LOOP AT BOOL_DATA-BSEG INTO BSEG
WHERE bseg-sgtxt = space.
move htext to bseg-sgtxt
*modify
MODIFY BOOL_DATA-BSEG FROM BSEG.^
ENDLOOP.
http://help.sap.com/saphelp_47x200/helpdata/en/5b/d231a843c611d182b30000e829fbfe/frameset.htm
please reward useful answers
thanks and regards
Andreas -
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 -
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 -
Hi All,
I Wants to pick the item text for Purchase Order. in my prog i already picked the header text by Read_text FM .i wants to used the same FM for item pickup . Can you please tell the FM parameter Value, so that i can pick proper Item text value.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Thanks in advance
Moni
Edited by: Alvaro Tejada Galindo on Sep 1, 2008 5:09 PMHi Moni
We can use the same procedure to retrieve texts of any document, just that the Name, Object and ID varies.
To find the required parameters for each object and document do as below:
1. Open an existing document
2. Go to the required Text
3. Double click on the same
4. It takes you to the editor screen.
5. Now use menupath: Goto->Header
6. In the popup screen you will find the required paramters.
For item texts the Name will be (PO Number + Item Number).
Using the details, you can pass the same to FM: READ_TEXT and retreive the texts in programs.
Regards
Eswar -
How do I read text from specific rows and columns in a tree structure?
How do I read text from specific rows and columns in a tree structure? In a table you can specify the cell to read from but I have not been able to figure out how to do this with a tree structure.
You need to set two properties to activate the correct cell and then you can read it's string property.
The positioning properties are the "ActiveItemTag" and
"ActiveColNum" properties. With them you select the tree item by it's tag and the active column. The string can then be read from the "Cell String" property.
MTO -
User login report in Active Directory for specific date and time
I want to get User login report in Active Directory for specific date and time e.g user logged in at15-01-2015 from 8:00am to 4:00pm
Is any query, script or any tool available?
Waiting for reply pleaseYou can identify the last logon date and time using my script here: https://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771
If you would like to get back in time and see when the user did a logon / logoff then you need to have auditing enabled. Once done, you can records from Security log in the event viewer: https://social.technet.microsoft.com/Forums/windowsserver/en-US/98cbecb0-d23d-479d-aa65-07e3e214e2c7/manage-active-directory-users-logon-logoff-events
I have started a Wiki about how to track logon / logoff and it can help too: http://social.technet.microsoft.com/wiki/contents/articles/20422.record-logon-logoff-activities-on-domain-servers-and-workstations-using-group-policy.aspx
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
Possible to make an item editable for certain users and read only for other
Is it possible to make an item editable for certain users and read only for others?
I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. However, I would like to simply reference the authorization scheme to utilize caching, and to help keep things cleaner for future maintenance.
Is it possible to reference an authorization scheme in an item condition similar to the way another item can be referenced by preceding it with a colon (i.e. :P1_First_Name)?Thank you, your suggestion worked.
It would be nice on a future release of APEX if a drop-down box existed under the Ready Only section that would allow an existing Authorization Scheme to be selected or negated when applying the Read Only attribute to a form item. -
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 -
Hello gurus,
I would like to delete up to 5000 purchase request items (i.e. set the deletion flag, EBAN-LOEKZ).
Unfortunatelly this is not possible using MEMASSRQ.
In another forum I found a message saying the deletion cannot be set using MEMASSRQ because there was no check wether a PO item was created for that PR item. So setting the deletion flag would lead to an inconsitency. This made sense to me, until I found out that it IS possible to set the deletion flag for PO items using MEMASSPO!
So, does anyone have an idea on how to do this without having to manually edit every singe PR?
Thanks in advance
AliciaHi Alicia
It's not possible to use EBAN-LOEKZ in the mass maintenance transaction. The MASS transactions simply update the tables EBAN, EKKO, EKPO,... without proofing things. Behind setting the deletion flag LOEKZ functionality exists. Not all requisitions or purchase orders can be deleted, if references exists. So it is not possible to set the deletion flags by MASS.
A possible workaround would be to create your own ABAP report to perform the mass deletion on your requisitions but this would not be supported by SAP in regard to data integrity issues etc.
Best Regards
Mark -
Header and Item Texts for Sales Order
Hi,
Can any one help me on Header Text and Item Text...........
<b>STXH & STXL</b>
TDOBJECT :__________
TDID:_____________
TDNAME :_______________
Regards,
Raghunath.SHi
Double click on the related text
it will open Text editor
from Menu GOTO-> header
for SO HEADER Texts
then you see the 4 paramters like OBJECT (VBBK),ID,OBJECTNAME (sales Order No) and LANG
FOR SO ITEM texts
OBJECT (VBBP table), ID, OBJECTNAME(SO no plus ITEM No) and LANG
You have to pass these 4 parameters to READ_TEXT fun module to fetch the corresponding texts
see the doc on READ_TEXT
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
<b>Reward points for useful Answers</b>
Regards
Anji -
Upload item text for FI document using BAPI_ACC_DOCUMENT_POST
Hi,
I need to upload FI document posting using BAPI_ACC_DOCUMENT_POST. However item text that I received is too long and need to store at item long text. So can we use BAPI_ACC_DOCUMENT_POST to upload long text for item text? If this possible, may I know how to do this.
Thanks.
Regards,
ainHi,
You cannot pass item long text using this BAPI, Call the function module SAVE_TEXT after successfull call of BAPI
Call Save_Text with following parameters.
Text_ID : 0001 (Notes)
Text_object : DOC_ITEM (Line Item Text)
Language : EN
Text Name : Company code +Document NO + Fiscal Year + Line item ID
Regards
Vinod -
Item renderer for specific rows
I need to have a checkbox item renderer for a spark datagrid column. I am using the following to get an item renderer into column:
var checkBoxRenderer:ClassFactory = new ClassFactory(GridCheckBoxItemRenderer);
column.itemRenderer = checkBoxRenderer;
My question is if I need to show a checkbox for specific rows can I do that without going into GridCheckBoxItemRenderer's source code?
ThanksHi Zolotoj ,
Please go through following links :
http://stackoverflow.com/questions/1952940/show-itemrenderer-in-specific-datagrid-rows-oth ers-empty
http://www.flexer.info/2009/01/09/different-rows-in-datagrid-programmatically-added-itemre nderers-classfactory-and-ifactory/
It will provide you some idea to how to proceed further for this problem.
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com -
Sales Text for Specific Plants
Hello SD Gurus,
Is it possible to turn off Sales Text in Material Master for specific Plant? For example, we have 10 plants and we want sales text only for 2 plants & for rest of plants it must be turned off.
This text we require to send the customer as a sales order confirmation once order is created.
Please advice.
Thanks,
PradeepHi,
Sales text is maintained at Sales Org and distributation level and not at plant level, so it is not possible to control the flow of the data at plant level
Text types in procedure will have access sequence number assigned to it. Each access sequence will have text object and requirment column in it. So Create a new requirment in VOFM and make use of TVARV logic or hard code in the program that only if this plant is determined in SO the text should be fetched from material master.
Check on this with technical consultant -
Header Text and Item Text for Sales Order
Hi,
Can any one help me on Header Text and Item Text............ ASAP.
<b>STXH & STXL</b>
TDOBJECT :
TDID:
TDNAME :
Regards,
Raghunath.SHi Raghunath,
Go to the text <b>in plain page mode</b>, and then you do via the menu '<b>GoTo</b>' -> '<b>Header</b>' and you get the parameters you need ( object, name, id, ...).
Repeat this operation for each text.
<u>Tips :</u> If you want to handle those text, use FM : READ_TEXT, EDIT_TEXT, and SAVE_TEXT...
Hope this helps,
Erwan
Maybe you are looking for
-
Adobe Illustrator CS3: Fatal error during installation
Hello, I just bought the AI CS3. It installed OK on my friend's laptop (windows). However, when I clicked the big button in the installation: "Install Adobe Illustrator CS3" A window showed: Initializing Adobe Illustrator... Then I got a message: "Se
-
I can't sign into my itunes account on my computer!
Every time i try to sign in to my account all it does it act like it will sign in and then go back to the sign in page? What do i do??
-
When I click to open Firefox, iTunes launches instead, and no Firefox browser window appears.
-
Hello friends To change the submit button functionality in Survey I am trying to change the CRM_SVY_GENERATE_SURVEY_TEMPLATE.XSLT file can any one let me know how can i do this as its not allowing to replacing the file or edit it. And i have imported
-
I'm running Mac OS X 10.6.8 Snow Leopard 64-bit on a 3GHz dual quad-core Mac Pro with 6gbs of ram, and terrabytes of open space. Within two hours of originally installing FF 5.0, i noticed that my bookmarks had stopped working (both in the bar, and i