Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update T024D table

former_member2492
Active Participant
0 Likes
7,772
I am trying to update table T024D MRP controllers.

Please let me know how you have done it.
16 REPLIES 16
Read only

FredericGirod
Active Contributor
5,853

Transaction SM30 enter T024d press button Find dialog ... it will find the corresponding view (V_T024D) and you could press Customizing to find where this view is manage in the customizing

And after you could play with SM30, LSMW, ecatt, Gui Scripting whatever you want

Read only

0 Likes
5,853

I mean programmatically...

Read only

0 Likes
5,853

As said Frederic: "ecatt, Gui Scripting". And I add "batch input".

There's also the function module VIEW_MAINTENANCE_NO_DIALOG, but it's not intended to be used by customers, and I don't even know if it's really for the goal that its name let suppose.

Read only

0 Likes
5,853
Sandra Rossi VIEW_MAINTENANCE_NO_DIALOG requires to provide the Transport Request number which will capture those entries But the problem and the Business Analyst who will be using this program will never have authorization to create trin production
 VIEW_MAINTENANCE_SINGLE_ENTRY does not require but I have to submit save and return to the previous screen :(
Read only

5,853

if it is too complex do a simple batch input or a program that call the transaciton

you could record your bdc using SHDB transaction

Read only

0 Likes
5,853

the problem is not complexity ,the problem is 1.I have to remain in the same program 2.I have to catch the error also..if there is any

Read only

5,853

so use CALL TRANSACTION ... USING bdcdata ..

https://wiki.scn.sap.com/wiki/display/ABAP/Batch+Input+-+BDC

you could catch error, and you stay in your program

Read only

0 Likes
5,853

do you even read my comments?how do you catch the error if the records does not get updated?

Read only

0 Likes
5,853
Jonathan Blavatsky Can you explain why you think Frederic did not read your comments?
Read only

5,853
Sandra Rossi them do not answer my question on how t o catch the error...
Read only

5,853

Jonathan Blavatsky Okay, it was just a misunderstanding, Frederic probably supposed that you would read the whole wiki and documentation of CALL TRANSACTION. It's a little bit offensive to say that your comments are not read, though. It happens to anybody to not read enough, it's human, just repeat, possibly in a different way because maybe your first comment was read but not understood.

Read only

FredericGirod
Active Contributor
0 Likes
5,853

I assume you read the help

CALL TRANSACTION ta WITH|WITHOUT AUTHORITY-CHECK
USING bdc_tab { {[MODE mode] [UPDATE upd]}
| [OPTIONS FROM opt] }
[MESSAGES INTO itab]


Addition 4

... MESSAGES INTO itab

Effect

Using this addition, all the messages sent during batch input processing are saved to an internal table itab of the type BDCMSGCOLL from ABAP Dictionary.

Read only

0 Likes
5,853
Sandra Rossi Frederic Girod thanks but how do you solve the part that it requires a customizing request? do you create one and transport it into production? let me know
Read only

FredericGirod
Active Contributor
0 Likes
5,853

Run your CALL TRANSACTION in mode 'E' means Error. When you will save the data, SAP will open a windows requesting the transport request. You will just have to specify it manually at this moment.

I think your initial question is now fully answered, and I think you should start to work in your side

Good luck

Read only

0 Likes
5,853

the transport request is a problem...I will wait for an alernative solution hopefully ,if not then this is not an option from my side.I have awarded your effort with an upvote.

Read only

0 Likes
5,853

Jonathan Blavatsky Why is it a problem? If the users want to maintain the table in the DEV system, they will have to assign the changes to a transport request and transport it to the production system. If the users want to maintain the table in production only, then you have the possibility to deactivate the transport in the production system by using the "current setting" flag (cf notes 523213 - Set maintenance view in production system to changeable, Note 135028 - Transfer IMG activity to current setting, 356483 - Customizing: Current settings in the test system, and eventually 351041 - Recording routine for table content to deactive the transport request also in DEV system...)