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

Data not saving

Former Member
0 Likes
3,395

Hi,

  In transaction 'me21n' i created a screen exit with some fields after completion of screen exit. i run transaction i comes but when i enter data to those fields and click on 'save' the data of those fields are not saving the table 'ekko'.how can i avoid it.

please help me urgent.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,013

Hi Krishna,

If you are using  MM06E005  exit for customer fields in purchasing document ,then you have to do it in EXIT_SAPMM06E_008. in this u need to enable the "update".

for ex:

e_ci_ekko-zzpcardid = ekko_ci-zzpcardid.

e_ci_update = 'X'.

Note: u need to give  Screen field as EKKO_CI-ZZPCARDID(custom field name).

Regards,

Lakshmi.

14 REPLIES 14
Read only

FredericGirod
Active Contributor
0 Likes
3,013

Hi,

does it works if you modify any others data of EKKO or EKPO  ?

(standard fields)

regards

Fred

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
3,013

Hi Krishna

In the PAI of your subscreen did you pass back the data to the standard. If not please pass it their is an exit to pass back the data from custom field to standard.

Nabheet

Read only

0 Likes
3,013

Hi,

   Give me one example how to pass.

Read only

0 Likes
3,013

Are you using MM06E005 if yes then you have to do it in EXIT_SAPMM06E_008

Read only

0 Likes
3,013

This message was moderated.

Read only

0 Likes
3,013

This message was moderated.

Read only

Former Member
0 Likes
3,013


Hi Krishna,

                  transfer the data in the FMs EXIT_SAPMM06E_007 and/or EXIT_SAPMM06E_008 it its header and if its item please refer below , read the SAP documentation

Functional Exits

The Dynpros are linked to the Standard Program via Function Modules.There are Function Modules that provide your subscreen with data (Export) and Function Modules that fetch data from your subscreens (Import).

Header Screen:

- <b>EXIT_SAPMM06E_006</b> - Export Data to Customer Subscreen for Purchasing Document Header (PBO)

- <b>EXIT_SAPMM06E_007</b> - Export Data to Customer Subscreen for Purchasing Document Header (PAI)

- <b>EXIT_SAPMM06E_008</b> - Import Data from Customer Subscreen for Header

Item Screens:

- <b>EXIT_SAPMM06E_016</b> - Export Data to Customer Subscreen for Item (PBO)

- <b>EXIT_SAPMM06E_017</b> - Export Data to Customer Subscreen for Item (PAI)

- <b>EXIT_SAPMM06E_018</b> - Import Data from Customer Subscreen for Item

Please look at documentation for further usage.

Happy Coding,

Santhosh Yadav

Read only

Former Member
0 Likes
3,014

Hi Krishna,

If you are using  MM06E005  exit for customer fields in purchasing document ,then you have to do it in EXIT_SAPMM06E_008. in this u need to enable the "update".

for ex:

e_ci_ekko-zzpcardid = ekko_ci-zzpcardid.

e_ci_update = 'X'.

Note: u need to give  Screen field as EKKO_CI-ZZPCARDID(custom field name).

Regards,

Lakshmi.

Read only

0 Likes
3,013

Hi,

   After doing this also not saving the data.

Read only

0 Likes
3,013

Hi,

If u r not including the custom fields in  include tables, we need to include . please observe the following screen.

Read only

narendar_naidu
Active Participant
0 Likes
3,013

hi Krishna,

First let us know r u trying to save Custom fields data or standard fields.

if ur designing custom fields (or standard fields)to save in your EKKO table, create a Zstructure and append in EKKO and try saving them.

regards,

Read only

0 Likes
3,013

krishna let me know if your issue resolved or not.

Read only

Former Member
0 Likes
3,013

Hi Krishna ,

First to create zstr and append with standard table EKKO_CI and then after simply

assign field value and use

move corresponding ekko_ci to e_ci_ekko .

Regards

Vivek

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,013

Did you

  • Read SMOD MM06E005 documentation
  • Read  407975 - MM06E005: Collective note: Examples for implementation
  • Define your fields in includes CI_EKPODB or CI_EKKODB
  • Insert a TABLES statement for one of those structure or main table/structure EKKO, EKPO in include ZXM06TOP
  • Use those structure/table names in dynpro field definitions
  • Activate every object

Regards,

Raymond