Quantcast
Channel: SCN: Message List - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all 2464 articles
Browse latest View live

Re: Mapp custom field in MM06E005: ME21N, ME22N and ME23N.

$
0
0

Ciao Seshadri,

 

I changed my name custom fields into mmmfd_cust_0-10 in dynpro 0111 and in EXIT_SAPMM06E_012

and also I have tryed via BADI ME_PROCESS_PO_CUST method CHECK wit macro

 

mmpur_business_obj_id w_item-id.

mmpur_metafield mmmfd mmmfd_cust_0              and so on...

 

but this is not sufficient to link my error message.

 

any way many thanks for your reply.

Fabio


Re: Exit for Automatic Task list updation from PLPO table

$
0
0

Hi Ram,

 

Do you need it when entering the Sorder from transaction IW31 or when creating a new operation?

Re: IN CJ20N transaction need to enhance on some condition .

$
0
0

Hi sreekanth.

 

      in include LCONWFH0H   when i'm trying to impliment implicit enhancement it will ask me access key....

 

pic2.png

 

is there any way to achive this requierment.

Re: IN CJ20N transaction need to enhance on some condition .

$
0
0

Must create a new implementation using create new button.

Choose the newly created implementation name.

Capture.JPG

Re: IN CJ20N transaction need to enhance on some condition .

$
0
0

Hi sreekanth,

 

enhancement point created but its not working.

 

could you please provide me example to greyout any field from cj20n txn,

 

lets take field network number for gryout with any condition.

 

  let me show how it will work with screen shot.

 

regards,

Avinash.

Re: Populate cost centre in FBL1N report

Re: MV45AFZZ cancel document saving process

$
0
0

Dear Tamas

Thanks for the solution, it worked well.

 

I just want to give another hint:

When the saving process is stopped, a warning is often not apropriate. But changing to message type "E" isn't an alternative , caused to the influence to the screen handling.

Use the following:

 

MESSAGE iXXX(X) DISPLAY LIKE 'E'.

 

instead of


MESSAGE wXXX(X).

Kind regards

Damian

Replicate field values in ME51N from 1 positions/items to other positions/items

$
0
0

Hello,

 

is it possible to replicated the values of a field for eg: sakto from one position to other available positions in a purchase requistion on enter or befor save.

 

I have tried with badi ME_PROCESS_REQ_CUST but its not really working the way I want it to be.

 

The issue here is sometimes when there are more than 5 positions in a purchase requisition, and the user has to change a field value that has to be same in other positions, then one has to enter in each position and change that particular value.

 

If someone implemented the same, kindly share your inputs.

 

Regards,

Ak


Re: User exit (To change the PO Release Strategy): M06E0004

$
0
0

Hi Nagarajun,

 

I am able to solve this problem.!

 

 

 

All u have to do is follwoing two step.

1.maintained a flag in ur enhacement part (FM to Z_FIND_PO_RELEASE_STRATEGY)

inorder to know whether the current PO is without PR or not then export its value to memory.


2.Do enhancement in standard FM ME_REL_STRATEGIE_EKKO

(which is used to reset release strategy and indicator).

Inside this fm u can find  below code

if xchange ne space.

*- Strategie geändert --------------------------------------------------

    if e_frgst ne i_frgst or

       e_frggr ne i_frggr.

      perform reset

         using e_frgst e_frggr

               e_frgzu e_frgkz e_frgrl.

      e_reset = 'X'.

*- Wertänderung prüfen -------------------------------------------------

    else.

      if t16fb-kzfae eq '4' or

         t16fb-kzfae eq '6' .

         perform currency_conversion using *cekko-waers

                                          bwkurs_old

                                          hwaers

                                          fwaers

                                          bwkurs

                                    changing *cekko-gnetw.

        f1 = *cekko-gnetw * t16fb-tlfae / 1000.

        f1 = f1 + *cekko-gnetw.

        if cekko-gnetw gt f1.

          perform reset

            using e_frgst e_frggr

                  e_frgzu e_frgkz e_frgrl.

          e_reset = 'X'.

        endif.

      endif.

    endif.

  else.

    perform reset

       using e_frgst e_frggr

             e_frgzu e_frgkz e_frgrl.

  endif.....

 

above code is use to check the PO amount and with old net amount,Since normally code is done to reset indicator only when amount is greater than old one, u can copy above code and modify with ur condition(i.e flag) and paste in last line.

 

 

 

Please check & reward is useful.

Enhancement in F110 APP is it possible ?

$
0
0

Hi everyone,

I know your time are valuable,

with all do respect, i just want to know.

 

Is it possible to implement the concept of New GL Substitution, in F110 (Automatic Payment Program).

Exactly what i want is while entering parameters in APP the system should recognize to the Identification (REGUA - LAUFI) and according to that system identify starting few Char and automatically update the field name Payment Method (LFB1-ZWELS), values , select Exclude Value by default.

 

I just want to know is it possible, if yes can i ask how.

 

 

In Advance Thanks.

 

Message was edited by: Thea Hillenbrand: I deselected the category ABAP Trials and Developer Editions. This category should be used for ABAP Systems in the Cloud Appliance Library related contributions. Kind regards, Thea

Re: User exit (To change the PO Release Strategy): M06E0004

$
0
0

Hi Abhijeet ,

 

Thanks for your reply , I fixed this using comment from Hari shankar K , same day I posted ...

Re: IN CJ20N transaction need to enhance on some condition .

$
0
0

Hi,

Here is the code to grey out field Amount.

Insert this code in implementation.

 

loop at screen.

  if screen-name = 'AFVGD-PRKST'.

    screen-input = 0.

    modify screen.

    exit.

  endif.

endloop.

 

Regards

Sreekanth

Re: IN CJ20N transaction need to enhance on some condition .

$
0
0

Hi sreekanth,

 

    thanks for reply  but i dont want to greyout amount field. i want to gry out network number whos ending with 13(xxxxxx13).

 

     for amount field.

Error message in project builder for changes in Amount field, if Network ending xxx13
and user is not Finance controller.

 

     to gry out network no where i can put the logic.... and what about amount field

please help me.

Re: IN CJ20N transaction need to enhance on some condition .

$
0
0

I couldn't find network number field.

In which screen? Or simply u can find it by press F1 on field and then F9.

Then change AFVGD-PRKST with its screen field name.

Re: Problem in BADI_FDCB_SUBBAS01


Re: IN CJ20N transaction need to enhance on some condition .

$
0
0

Thanks sreekanth,

 

          as u suggest logic it works.........

 

 

thanks once again.....

Re: Enhancement of standard class method

$
0
0

Maybe a bit too late, or not relevant anymore, but at the moment I had the same issue, but Suhas gave me the answer. Although the customer also has Release 701, you can still do the same but then manually, as Suhas suggested, :

 

In the include, between your enhancement class' definition and implementation, just add

 

CLASS <sap's class> DEFINITION LOCAL FRIENDS <your class>.

 

and then you can access everything via core_object->....

Re: User exit (To change the PO Release Strategy): M06E0004

Re: Mapp custom field in MM06E005: ME21N, ME22N and ME23N.

$
0
0

Hi Luca,

 

Few points in the documentation provided in example class CL_EXM_IM_ME_GUI_PO_CUST for ME_GUI_PO_CUST.

 

1.Mapping to metafields which are used for field selection purposes and error handling can be attained by standard definitions in type pool MMMFD.


So by these point my assumption is the Error handling can be done by through BADI only and not by user exit.


Please read the whole documentation of the example class and if u have any issues plz revert me.


Thanks,

Seshadri.

Enhancement sections:- More than one implementation.

$
0
0

Hi Experts,

 

I have created one enhancement spot, with two implementations, see the image below. Both implementations are assigned to the same package. When I run the program, only enhancement 1 that is implementation "ZSAC_IMP1" is executed, but I want second implementation to execute and first one to suppress/deactivate, how could I do it, kindly suggest.

 

 

Moreover, if only one implementation can be created for an enhancement section, then why does SAP allow us to create more than one implementation, I believe there is some reason behind it, please could anyone share some thoughts on this topic.

  Enhancement section.jpg

 

I have written the same code here:

 

 

DATA: iTYPEi.

START-OF-SELECTION.

i = 20.

ENHANCEMENT-SECTION ZSAC_TEST1 SPOTS ZSAC_SPOT1 .
  DO  iTIMES.
    WRITE : 'Hello'.
  ENDDO.
END-ENHANCEMENT-SECTION.

*$*$-Start: ZSAC_TEST1--------------------------------------------------------------------------$*$*

ENHANCEMENT1  ZSAC_IMP1.    "active version
  DO  iTIMES.
    WRITE : 'sachin'.
  ENDDO.
ENDENHANCEMENT.

ENHANCEMENT1  ZSAC_IMP2.    "active version
  write : '/'.
  DO  iTIMES.
    WRITE'sharma'.
  ENDDO.
ENDENHANCEMENT.

*$*$-End:   ZSAC_TEST1--------------------------------------------------------------------------$*$*

 

you can copy paste the above code and try.

 

Viewing all 2464 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>