How to Update&Delete a field in a record of tablecontrol in screens
Hi,
I have one requirement in table control of Modulepool Programming. I want 2 put 2 pushbuttons as "Delete","Update" in Tablecontrol Screen.when ever i select a record that time i want 2 delete that and i have 2 update particular value on tablecontrol itself and that reflects the custom table
Moderator message - duplicate post locked
Rob
Similar Messages
-
How to update a single field in Word macro
Hello,
I am trying to create an AutoOpen() macro that will update the file name and path when user opens in a Word document, but I can't seem to find anything explaining how to update a single field, specifically the {FILENAME \p} field. There
are other fields in the document, so I do not want to update all the fields. Most of the links I found only explain how to update ALL fields. Can somebody please tell me how I can update only the filename and path field using an autoopen macro?
Thank youStefan's response is correct.
Here is a macro that should update only filename fields.
Sub FileNameFieldUpdateAllStory()
' Written by Charles Kyle Kenyon 15 November 2001 - modified for filename 10 Sept 2014
' repaired by Jezebel
' All Story Field Updater - Filename fields
Dim oField As Field
Dim oStory As Range
' On Error Resume Next
For Each oStory In ActiveDocument.StoryRanges
' This goes into headers and footers as well as the regular document
Do
For Each oField In oStory.Fields
If oField.Type = wdFieldFileName Then
oField.Update
End If
Next oField
Set oStory = oStory.NextStoryRange
Loop Until oStory Is Nothing
Next oStory
End Sub
See Installing Macros for help in using this.
Charles Kenyon Madison, WI -
How to update a custom field in declarative workflow with VS 2013
Hello,
How to update a custom field in declarative workflow with VS 2013
any help would be appreciated!!!!!
Thanks regards, Vignesh.Dear all,
I'm using 4.6C right now, i already implement BADI MEREQ001, but this only valid
for creating PR via ME51N.
I found an EXIT_SAPLEBND_001 and tried to implement it,
but i got another difficulties since how i transfer CEBAN structure to EBAN structure.
thanks very much.
Regards,
Billy -
How to update a particular field in a form.
Hi Guys,
I just want to know how to update a paricular field in a form.
I want to upadate a field in a view BOM_RESOURCES_V
for that i've a procedure called process_rtg.
now i want to know how to use that procedure.hi,
check metalink Note:264711.1 on how to use ROUTING BUSINESS OBJECT API
( BOM_RTG_PUB.Process_Rtg package) -
How to update ADRT-REMARK field (by which tcode)?
How to update ADRT-REMARK field (by which tcode)?
Hi,
ADRT-REMARK basically stores the notes which you enter against any communication number such as Telephone Number, Fax number etc for any business partner.
Say for example if you want to address details of a customer via XD01 or XD02; then in the communication tab enter the telephone number or fax number.
Click the button to add more details or more telephone numbers.
Over there you will find a field called as Comments.
This field is ADRT-REMARK.
You do not have a single transaction to maintain this field.
It depends upon the business partner for whom you want to add the details.
For a customer it is XD01 or XD02
For a vendor it is XK01 or XK02.
For a business partner it is BP.
For a user it is SU01D.
Regards,
Ankur Parab -
IS-RETAIL: How to update custom enhancement field using BAPI?
Hi gurus,
Like ECC BAPI: BAPI_MATERIAL_SAVEDATA,
This BAPI(BAPI_MATERIAL_MAINTAINDATA_RT) is specific for IS-RETAIL to create and update material master data.
But now If I append one custom field "ZFIELD" to end of table MARA, my question is how to update this custom enhancement field(ZFIELD) using BAPI(BAPI_MATERIAL_MAINTAINDATA_RT)
Thanks in advance!Hi DongHai,
I suggest you create your own BAPI. Just copy the codes in BAPI_MATERIAL_MAINTAINDATA_RT and add your custom fields. If you want to append the data of the custom field in table MARA, first, you have to create a structure table then goto SE11, type MARA and display. Click the APPEND STRUCTURE then choose the structure that you've created. Hope this will help.
Rewards if useful
Regards,
Mark -
How to Update Business Area Field in Posted Document?
Dear All,
Pls tell me how to update Business Area in documents which are posted without entering Business Area field. Pls tell me how to achieve this without using Validations & Substitutions. Any table entries can be maintained for this? Kindly guide.
Regards
AbhijeetHi,
I think, you need to post mannually if you have the list of documents posted with out business area.
ex:
1.Before posting of accounting entry as below, you should deactivate business area component in OB65 againest your co.code
2.Post accounting entry as below
40 123456 without business area 100
50 123456 with business area ABC 100
3. Goto T.Code: OB65 activate the business area component.
4. After posting of accounting entry like above you should run transaction F.5D and F.5E again, make sure that above entry not come again while executing F.5D.
First you can try this process in dev client, if you are comfort with this process then follow the same in quality and production.
Note: You can do this transactions in production client, only when there were no users working on the system.
all the best
Regards,
Prasad -
How to Update the INTRASTAT field for Inclusion/Exclulsion (EIPO-SEGAL)
I would need to know how to update this field in transaction ENPA when the invoice is already posted ( so we cannot use the VF02) from an ABAP program that update the INTRASTAT data for an Exportation.
This field can be found in EIPO-SEGAL
Thanks in advance.Hi
See the Std Doc of this field
Exclusion/Inclusion indicator for declara. to authorities
Using this indicator, you can control if a document or a document item (SD billing document, MM purchase order) will be excluded from or included in one or more types of declarations to the authorities.
Proceed as follows:
1. Define the inclusion or exclusion indicator. Define for which declaration type an inclusion or exclusion is to take place.
2. Assign the indicator to the document or document item that you want to include in or exclude from a declaration. The assignment takes place in the Foreign Trade data of the document.
3. If you also want to exclude document items with particular item types from a declaration, assign an exclusion indicator to the corresponding item types in Customizing.
Example
You want to define an exclusion indicator that excludes documents from the EXTRASTAT and KOBRA declaration. Create an exclusion indicator and select the "exclusion column" in the definition of exclusion indicators for the EXTRASTAT and KOBRA declaration types.
As soon as this indicator is assigned to a document, this document will not be included in the EXTRASTAT and KOBRA declarations.
Note
Inclusion or exclusion indicators assigned at FT data header level in the document apply to all document items if there is no other indicator at item level.
in our case the values for this field are '01'
take the help of a functional consultant to populate this field
Reward if useful
regards
Anji -
How to update a custom field of MARC table using BAPI_MATERIAL_SAVEREPLICA
Hi,
I want to update a custom field (Appended field) of MARC table using BAPI_MATERIAL_SAVEREPLICA. Please help me in this issue. I cannot use BAPI_MATERIAL_SAVEDATA as this updated the MARC table record by record. I have to update bulk records at a time.
Thanks
Rahul.Hi,
Use the Documentation given for struture in BAPI docuemntation...
For loading data into custom fields of MARC use the structure - BAPI_TE_MARC.
First, structures BAPI_TE_<NAME> (<NAME> = MARA, MARC, MARD, MBEW, MLGN, MLGT, MVKE, MARM, MAKT) and the appropriate check structures BAPI_TE_<NAME> (<NAME> = MARAX, for example) have to be extended by the customer to include the required fields. The structures that are delivered as standard only contain the relevant key fields. When new fields are added to this structure, you should ensure that a field has the same name as the field in the database table. Furthermore, the fields in the structures BAPI_TE_<NAME> can only be CHARACTER fields. Data element BAPIUPDATE is to be used for the fields in the check structure (exception to this: key fields.)
Parameters EXTENSIONIN and EXTENSIONINX are used for transferring data to the method. Field STRUCTURE contains the name of the structure (for example, BAPI_TE_MARA or BAPI_TE_MARAX). This names is used to identify the work area (for example, WA_BAPI_TE_MARA or WA_BAPI_TE_MARAX) to which the data is transferred. The remaining fields in parameters EXTENSIONIN or EXTENSIONINX contain data for the key fields (for example, the material number) and the data for customer-specific fields. The number of characters reserved in both parameters for the contents of the customer-specific fields must match the number of characters for the relevant field in the work area. If the number of required characters is less, the remaining characters are left blank. Only when all characters have been filled can the contact for an additional field be transferred. Bear in mind that only data for which an appropriate indicator has been set in the work area can be updated to the database.
Regards,
Bhargava -
How to update the Customer field value of PO Item under the Delivery Address Tab?
Hi Friends,
i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
Thanks,
DineshThank you friends,
My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
Thanks,
Dinesh -
How to update Business area field for alread
Hi,
Recently we activated Business area financial statements in our system. After that all SD entries are showing Business area field in all SD billing-Accounting documents.
But the entries before the above change were not showing Business area since it was not activated before. But i want to update the Business area for the old documents also. so that it will be useful for me in reporting purpose.
Kindly suggest me if there is any PROGRAM to update Business area field for the old documents.
Thanks
SunilHi,
Please check the OSS Note 549182 - FAQ: Business Area Accounting
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=549182
Also OSS note 41294:-
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=41294
Regards,
Gaurav -
How to update a Z d/b table record from report - urgent
Dear SDN Team Members,
I have created a ztable for list of all active customers.
This ztable has link with other SAP Standard D/b tables and I need to compare the entries with my ztable.
After doing so, I need to update a DATE field (called last_req_date) from the program.
Until now, i only worked on internal tables and update the fields in internal table. But this time I need to update my zTable and i've not updated any records of the database tables directly from the program.
Please kindly provide the complete syntax and procedure on how to update z database table.
Your help will be appreciated and points will be awarded for the same.
Thanks in Advance.
Best Regards!
Krishna.Hi,
To update or Insert fields into teh dbase table.
INSERT INTO dbtab [CLIENT SPECIFIED] VALUES wa.
INSERT INTO (dbtabname) [CLIENT SPECIFIED] VALUES wa.
2. INSERT dbtab [CLIENT SPECIFIED] FROM TABLE itab. oder
INSERT (dbtabname) [CLIENT SPECIFIED] FROM TABLE itab.
3. INSERT dbtab [CLIENT SPECIFIED]. oder
INSERT *dbtab [CLIENT SPECIFIED]. oder
INSERT (dbtabname) [CLIENT SPECIFIED] ...
1.TABLES SCUSTOM.
SCUSTOM-ID = '12400177'.
SCUSTOM-NAME = 'Robinson'.
SCUSTOM-POSTCODE = '69542'.
SCUSTOM-CITY = 'Heidelberg'.
SCUSTOM-CUSTTYPE = 'P'.
SCUSTOM-DISCOUNT = '003'.
SCUSTOM-TELEPHONE = '01234/56789'.
INSERT INTO SCUSTOM VALUES SCUSTOM.
2.TABLES SAIRPORT.
SAIRPORT-ID = 'NEW'.
SAIRPORT-NAME = 'NEWPORT APT'.
INSERT SAIRPORT.
To UPDATE
TABLES SFLIGHT.
UPDATE SFLIGHT SET SEATSOCC = SEATSOCC + 3
WHERE CARRID = 'LH' AND
CONNID = '0400' AND
FLDATE = '19950228'.
TABLES SFLIGHT.
UPDATE SFLIGHT CLIENT SPECIFIED
SET SEATSOCC = SEATSOCC + 3
WHERE MANDT = '002' AND
WHERE CARRID = 'LH' AND
CONNID = '0400' AND
FLDATE = '19950228'.
TABLES SCUSTOM.
SCUSTOM-ID = '00017777'.
SCUSTOM-DISCOUNT = '003'.
UPDATE SCUSTOM.
OR UPDATE dbtab FROM TABLE itab. -
How do I delete vertical color stripes on my destop screen. There are 6 of them in pink, red and green. Can't believe I'm having problems with my wonderful iMac!
Unfortunately, they aren't something to be "deleted." Might be a hardware/graphics chip problem. You should run the Hardware Test in Extended. Might have to run it several times to pick up an error.
http://support.apple.com/kb/ht1509 -
How do I delete a field that's Tab 0 or change field order?
I created a fillable form in Acrobat 10 Pro. Some of the fields became Tab 0 and they don't show up when viewing tab order, and also those fields can't be changed or deleted. The fields were originally set up as distinct data entry fields with specific names. I don't know how they changed from their original field properties (i.e., state, zip code, etc.). When I opened the document to continue my set-up the tab 0 fields which had previous taken on the field name Start Work were now titled Middle Name/Initial, yet another field in use that works properly.
I've already done all the reinstall/repair and PC based troubleshooting/malware removal but these issues persist.
Any help in diagnosing what happened and how I can remedy this strange occurrence would be much appreciated.I like the redaction tool idea as a workaround. That will make life a good deal easier so I can do the more permanent fix when I have more time on my hands. Thanks GIlad.
Anne
Update - Good news is once those fields are minimized and moved off the visible page, they disappear. Unfortunately redaction doesn't work as the only way to view those fields was when in form editing mode. Also couldn't remove hidden information as those fields don't show up in the field list, either. For now they are just sitting as tiny spots in a corner on each page where they existed. And the finished product looks and works as it should. . . . -
DTW update deletes UDT fields values
hello
i work with sap 2007A 8.00.242 sp:01 pl 15, dtw version 2005.0.31 api version 8.0.242
and i have a special user tables ordered from a sap partner company that replaces several excel files in our company.
i tried to import data into them using DTW, but the import erases all the fields that i left blank in the csv, i even tried to delete all the blank columns from the csv but it didnt help.
im importing into udt table found under "user defined data" > tables(UDT) > U_PASSPORT(**my table) using "update existing data" option.
this table is the big part of a window with several tabs - each tab is a different table(U_example) and it gets data from items(OITM) so i dont think that filling all the blank csv columns is the answear because can affect child tables in this window as well as production order and customer orders.
when i tried to update fields in OITM it was doing great.
what can i do?
mickelhey gordon thanks for the fast reply
yes i can add new records.
the main issue is that i want to make the transfer from execl documents with its simple data insertion, as smooth as it can be as my colleagues are very afraid from the sap and the time that it will steal from them.
i want to make them a simple template with an XML and a batch file so they only have to insert data into csv and press a windows shortcut without going through the DTW annoying wizard every time.
can i change the values at the second row of the template into a caption i choose?
mickel
Maybe you are looking for
-
IBook keeps going blank or doesn't turn on
I have an iBook G4 and it the screen has been going blank but the computer is still on. Sometimes it just won't turn on at all. I have been having to pull out the battery and reset it. I have repaired the permissions and emptied the Cache. Would my b
-
Allocation table for consignment PO
Friends, We are creating allocation table . When doing the follow on document, We want to create PO with consignment Item category. What are the settings to accompolish this. Article is created with consignment control 1 and source of suppy D Consi
-
Query Program ! use this for your query's like SQLPlus , copy-paste and run
H! Like the Subject Title: If you have PHP and Oracle then you can use this if you are learning the query's or you don't wanna use SQLPlus. BTW this is my first script, but it works fine here. //the code <?//made by [email protected] IF($_SERVE
-
How to get rid of Autopager? I did not install it from the Add-ons menu, it seems to have come as default with my 3.6.6 update, and I really dislike it... I have tried all the standard add-on uninstall techniques btw, but Autopager doesn't even show
-
Configure clients to develop essbase and planning applications
Hi Gurus I have installed hyperion on one of the windows server. Now I want to configure the client components on local machine to develop essbase and planning applications. How to do that? My goal is to have multiple clients configured so that multi