Skip to Content
avatar image
Former Member

can i update a ztable from a program on mini sap?

I want to know if is possible to add data to a ztable from a program on mini sap. i have added to a table but directly, and i want to add and modify data from a program.

Can someone tell me if this is posible on mini sap 6.10

Thanks in advance...

Fidel Peralta

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 01, 2004 at 09:05 PM

    Hi.

    Yes it's possible to add, to remove and to update data from a ztable in miniSap. Use the abapdocu transaction and check a big numbers of examples about what you can do with the ABAP language and test it in the miniSAP.

    Hope it'll help u.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 02, 2004 at 06:34 PM

    Hi Armando.

    I fallow your advice and I didn't see any example code

    with the update, insert or modify command. I saw the explanation of how to do it. and so I did, but it didn't work. If you have a sample code that you can send me I will appreciate it.

    to illustrate you.... I am trying to insert data from a screen that I call on a selection screen, but any update code will help me.

    Thanks for your help.

    Fidel Peralta.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Fidel,

      Just clutching at straws but have you tryed writing a simple report with hard coded values to update a table instead of doing it via the dialog techniques. Could posibly narrow the problem down depending of the result.

      for example try somthing like this:

      REPORT ztest.

      TABLES zclient.

      • should not need this assuming it is you MANDT field,

      • will automatically be set to current client

      *zclient-client_id = '500'.

      zclient-last_name = 'smith'.

      zclient-first_name = 'John'.

      zclient-street = 'street name'.

      zclient-city = 'blackpool'.

      zclient-zipcode = 'b12 6tw.

      zclient-phone_number = '0111 2222222'.

      zclient-status = 'X'.

      MODIFY zclient.

  • avatar image
    Former Member
    Apr 05, 2004 at 08:06 PM

    Mart it worked, and it may me see what was my error.

    now working just fine.

    Thank you very much.

    Fidel Peralta.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi all! Hola Fidel y Armando (by the way, are you guys from latin america?)

      Where did you get minisap 610? From the ABAP objects refrence book?

      <b>Cheers</b>

      Message was edited by: Francisco Verdesoto

      Message was edited by: Francisco Verdesoto