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

Re: DUMMY2 in MEPOITEM - badi ME_PROCESS_PO_CUST method PROCESS_ITEM

$
0
0

Hi

 

I believe, you want to to set the delivery date to default to system date during creation through ME21N.

 

So once the PO is created now only through other transaction like ME22N / ME23N (change mode) the users you can change it and no need to set it default.

 

You can handle this through transaction type.

 

For Creation its 'H' ( tranasction ME21N), when transaction is H you set the delivery date to system date.

 

For Change its 'V' ( ME22N or ME23N (change mode) , you do not set here.

 

To catch the transaction type, you need to BADI - ME_PROCESS_PO_CUST, Method - OPEN.

 

The field is IM_TRTYP , you can pass it to a variable i.e creating instance attribute in the implementing class of the above BADI.


Re: Incompletion log in sales order

$
0
0

Hi Joeseph,

 

you can use the solution from this post:

Validation in VA01 AND VA02 and Display popup

 

The incomplete check can be done by Function module RV_CHECK_DOCUMENT_INPUT in USER_EXIT_CHECK_VBAP/VBAK/....

It's important to reset the XVBUV table before calling the FM like in J's solution:

 

Quote: <<

 

perform xvbuv_loeschen_vor_pruefen(sapfv45f) using rv45a_uv-posnr

                                                   etenr_low

                                                   'RV45A_UV'.

 

call function 'RV_CHECK_DOCUMENT_INPUT'

  exporting

    fehgr     = tvap-fehgr

    vbxx_wa   = rv45a_uv

    tbnam     = 'RV45A_UV'

    dialog    = us_dialog

  tables

    vbuv_tab  = xvbuv.

 

>>

Re: send invoice output to multiple external email addresses

$
0
0

Hi Ajith,

 

I have the same requirement. Can you please tell me some more details, like where do you exactly enhanced the invoice transaction?

 

Thanks in advance,

Manasa  Veena P.

Program error in activating SAPLMCEX&LMCEXTOP in SE38

$
0
0

Hi,

 

I am getting program error in activating SAPLMCEX&LMCEXTOP in SE38. I have attached the screen shot. Please check and confirm.

 

 

Regards,

VIGNESH.

Re: Program error in activating SAPLMCEX&LMCEXTOP in SE38

$
0
0

Hi Vignesh,

 

Any changes made in  the program.

 

mc06m_0itm_tab LIKE mc06m_0itm OCCURS 0 WITH HEADER LINE,

 

Regards,

Madhu.

Re: Program error in activating SAPLMCEX&LMCEXTOP in SE38

$
0
0

Hello madhu,

 

I didn't made any changes. Actually the issue is i am facing one ABAP DUMP issue at that time i have check above program it is showing the above one.

 

If you don't mind i am forwarding the  error screen shot. Please give me any solution.

 

 

Regards,

VIGNESH.ABAP.png

Re: which field represents 'LEDGER GROUP' in BAPI_ACC_DOCUMENT_CHECK.

$
0
0

Dear Venkat,

 

Can you please guide me for the below case.

 

I have to post GL with 0L,1L & 2L using BAPI -  BAPI_ACC_GL_POSTING_POST. In this case also i have to implement BADI?

 

Or can you please give sample code if possible.

Re: Program error in activating SAPLMCEX&LMCEXTOP in SE38

$
0
0

Hi Vignesh,

 

There is two options change the declaration type or post to sap in market place to get right sap note.I di not find any sap note on this.

 

Regards,

Madhu.


Re: Program error in activating SAPLMCEX&LMCEXTOP in SE38

$
0
0

Hello madhu,

 

I'll check and get back to you.

 

 

Regards,

VIGNESH

Re: Validation in PS

$
0
0

Hello Everyone,

 

If anyone could tell me how to get the PS tables in Validation ?

 

There are only selected tables available in validation in OPSI

 

Thanks

Samrat

Re: Program error in activating SAPLMCEX&LMCEXTOP in SE38

$
0
0

Hello madhu,

 

Thank you for help almost my problem was resolved.

 

Regards,

VIGNESH.

BAdI Interface IF_EX_ME_PROCESS_PO_CUST Method CHECK Get USERF1_TXT Value

$
0
0

Hi,

 

I have a requirement to validate value in field USERF1_TXT (User Field 3) before PO gets saved. I have checked the import parameter IM_HEADER structure and it's sub-structures but cannot find the field USERF1_TXT. This field is visible under Item Services tab and is part of ESLL structure.

 

Is there way I can read & update its value from this BAdI Interface IF_EX_ME_PROCESS_PO_CUST Method CHECK?

 

Thanks!

Re: Limit the Maximum Size of Attachment

$
0
0

Hi,

 

I have the same query.  Where is the size limit of an attachment is maintained which can be uploaded/viewed in SAP using ME23N?

We are currently having issues where business users are not able to view attachments larger than 10 MB.

 

Kind Regards,

Diltaj Singh

Re: Limit the Maximum Size of Attachment

$
0
0

Please Try This No Need Of ABAP Code,

Cross-Application Components

  • Document Management System
  • Control Data
  • Define Document Types

Here you select the document type for which you want to set a maximum size and then insert the desired value (in Bytes) in field File size.

Re: User Exit for ME22N

$
0
0

Hi Joseph,

 

I am facing a similar issue. Setting e_cekko-gnetw = e_cekko-gnetw + '0.01' in the user exit EXIT_SAPLEBND_002 does not seem to have an impact on the release status.


How to use segment ZCRMXIF_PARTNER_SAVE01 in LSMW to Generate/Change BP data using IDOC

$
0
0

Hi Gurus,

 

I have an requirement to add contact person first name and last name using Relationship kind as '0001' for an BP.

 

This requirement i need to work with LSMW and generate IDOC for respective changes.

 

To work with LSMW and IDOC i need to pass data to ZCRMXIF_PARTNER_SAVE01.

 

Can you all suggest me what are the mandatory fields to be passed to this segment and what are the fields to which i can pass FIRST NAME and LAST NAME of the CONTACT PERSON of the BP.

 

Please post me your replies in detail iam new to crm i can understand.

 

 

Thanks & Regards,

Saravanan Sambandam

Re: BAdI Interface IF_EX_ME_PROCESS_PO_CUST Method CHECK Get USERF1_TXT Value

$
0
0

You can try to get the itens by the method IM_HEADER-GET_ITEMS...

 

Then you can read the itens to an object, like IM_ITEM.

 

Finally you can check the services by the Handle Class cl_po_item_handle_mm.

 

Example:

   

    DATA lr_po_item_handle TYPE REF TO cl_po_item_handle_mm.

    DATA: lt_esll TYPE TABLE OF esll,

          ls_esll TYPE esll,

          lt_imputaciones TYPE TABLE OF ueskn,

          ls_imputacion TYPE ueskn.

    DATA: ls_mepoitem TYPE mepoitem.

 

    lr_po_item_handle ?= im_item.

 

    CALL METHOD lr_po_item_handle->get_data

      IMPORTING

        ex_data = ls_mepoitem

      EXCEPTIONS

        failure = 1

        OTHERS  = 2.

 

    CALL METHOD lr_po_item_handle->if_services_mm~get_srv_data

      EXPORTING

        im_packno = ls_mepoitem-packno

      IMPORTING

        ex_esll   = lt_esll

       ex_esuh   =

       ex_esuc   =

       ex_eskl   =

      EXCEPTIONS       

        failure   = 1       

        OTHERS    = 2.


    CALL METHOD lr_po_item_handle->if_services_mm~get_data

     EXPORTING

               *** RELEVANT PARAMETERS ***

      IMPORTING

 

               *** RELEVANT PARAMETERS ***

      EXCEPTIONS

        failure      = 1

        illegal_data = 2

        OTHERS       = 3.

  ENDIF.

 

Source: BADI Validation in services line for ME21N / 22N / 23N

 

At the source example the validation check is at the PROCESS_ITEM, but I think that it doesn't matter (maybe)...

 

I hope it helps!

Re: How to use segment ZCRMXIF_PARTNER_SAVE01 in LSMW to Generate/Change BP data using IDOC

$
0
0

Hi Saravanan,

 

Which method you used.

 

Regards,

Madhu.

Re: User Exit for ME22N

$
0
0

Hello,

 

 

Check the configuration for the release strategy maintain in SPRO.

 

Find the link for same for config setting

http://scn.sap.com/docs/DOC-46564

http://wiki.scn.sap.com/wiki/display/ERPSCM/RELEASE+PROCEDURE?original_fqdn=wiki.sdn.sap.com

 

you can check the change in the value from   it_bekpo and and in EKPO table.

 

if we have any change int he netvalue just pass the dummy value as below :

 

  e_cekko-gnetw = e_cekko-gnetw + '0.01'.

 

P.S. :Also Standard SAP itself reset the release strategy if we increase the quantity at the line item level.

 

Thanks

Ritesh Solanki

 


Re: User Exit for ME22N

$
0
0

I tried the same but it did not seem to have any impact.

My requirement was achieved by adding the code E_CEKKO = I_CEKKO in the user exit EXIT_SAPLEBND_002.

 

This was as per the suggestion provided in the SAP note 371667.

Viewing all 2464 articles
Browse latest View live


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