Application Development 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: 

A Table field needed

Former Member
0 Kudos

Hi all,

while creating Purchase order, the delivery date which we give in ME21 screen ..where that is going to be stored for <b>temporatily...</b>.

I know after saving that document .it goes to EKET table..

but before where that field is going to store?

cud anybody know this ..plz help me.

Thanks in advance

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

Hi Raja,

I think it will be temporarily in the XEKET Structure.

This is declared in the main program SAPMM06E and will not be available outside the program.(If you want it will be available for modification in the User Exit).

Regards,

Ravi

11 REPLIES 11

Former Member
0 Kudos

initially it is stored at:

table name: RM06E

field name: EEIND

program name: SAPMM06E

check the above program and search for field and table given above you will get all info.

for screen information:

screen no: 0100

screen field: RM06E-EEIND

regards,

Hemendra

Former Member
0 Kudos

Hello Raja,

The date is temporarily going to be stored in the field RM06E-EEIND in the program. Later on, an FM is called to convert the date into the internal format.

CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_INPUT'
     EXPORTING
          DIALOG_DATE_IS_IN_THE_PAST = SPACE
          EXTERNAL_DATE              = RM06E-EEIND
          EXTERNAL_PERIOD            = RM06E-LPEIN
     IMPORTING
          INTERNAL_DATE              = VEKET-EINDT
          INTERNAL_PERIOD            = VEKET-LPEIN.

Hope that helps...

Regards,

anand Mandalika.

former_member181962
Active Contributor
0 Kudos

Hi Raja,

I think it will be temporarily in the XEKET Structure.

This is declared in the main program SAPMM06E and will not be available outside the program.(If you want it will be available for modification in the User Exit).

Regards,

Ravi

Former Member
0 Kudos

Hi all,

Thanks for ur replies.

cud any body look into my requirement.

I want the price based on delivery date which we provide in ME21 at the time of creation.currently it is taking Po cretiondate instead of delivery date.

I need to fetch the price from Inforecords where iam maintaining the dates & corresponding prices.

your hlep will be appreciated.

Raja

Former Member
0 Kudos

Ravi,

can u tell me in which userexit will it availble?

0 Kudos

Hi raja,

Try this exit, EXIT_SAPMM06E_013. I'm not sure about this, but the XEKET strcuture is passed to this Exit.

Ravi

Former Member
0 Kudos

Ravi,

How cud i solve my problem as i explained in my previous post..

can u give me some idea..?

Message was edited by: raja gurrala

0 Kudos

Hi raja,

Go to the program SAPMM06E.

Press find button and choose the radio-button

In main Program,

Type in the exit name in the find.

You will get the list of hits for the string you have searched for(User exits in your case).

Double click on the hit list.

This will take you to the exit.

Ravi

Raja, I am not sure abt the correct Exit as already mentioned. Thats the reason, I don't want to take a chance. I think expert advice is needed in this regard.

Let wait for more answers. Cheers.

Message was edited by: Ravi Kanth Talagana

0 Kudos

goto Tx:smod:

write enhancement: MM06E005

in componant find function module: EXIT_SAPMM06E_013

double click you will goto exit and find: INCLUDE ZXM06U44

double click ignore warning and write your code in this exit.

regards,

Hemendra

Former Member
0 Kudos

Hemendra,

I expect you read my requirement.

are u sure this userexit suits to my requirement.

ravi,

told he is not sure about this exit.

what do u say?

0 Kudos

since this exit is to "Update Customer's Own Data in Purchasing Document" the here you can probably change price. wether the fields are available inside exit or not depends :

1st they must be defined in import, tables or changing fields of module.

or

2nd inside topinclude of function group.

you can add your attributes also in top include.

check fn gp and pkg: from exits attributes.

go to Tx: se80 look inside package the function group-> includes->ztopinclude.

in your case they are.

pkg: ME.

Fn gp: XMO06.

top include:MM06ITOP

hope further information you will find out.

In case of exits we have to do lot by ourself.

try to put debug . becoz the values you are changing might be changing siomewhere else also.

regards,

Hemendra