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

User exit or Badi not available to modify the MARC-SSQSS in MM02 t.code

$
0
0

Hi All,

 

WeI have a requirement to update the MARC-SSQSS contents when MM02 t.code is saved.Tried all the user exits and BADI's mentioned below but none of them allowing to save the MARC contents.Please guide.

 

nhancement

MGA00001                                Material Master (Industry): Checks and Enhancements

MGA00002                                Material Master (Industry): Number Assignment

MGA00003                                Material Master (Industry and Retail): Number Display

 

Business Add-in

CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT

BADI_MM_MATNR                           Modification-Free Archiving Enhancement of MM_MATNR

BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection

BADI_MATNR_CHECK_PVS                    Check Material for Use in iPPE

BADI_MATERIAL_REF                       Addition of customer-defined default data for material

BADI_MATERIAL_OD                        Integration of New Objects in Material or Article Master

BADI_MATERIAL_CHECK                     Enhanced Checks for Material Master Tables

BADI_GTIN_VARIANT                       User Exit for Customer-Specific GTIN Variant Check

BADI_EAN_SYSTEMATIC                     BAdI for Internal Control of EAN Logic

WRF_DISCONT_PARAMS_I                    BAdI: Parameters in Fashion Discontinuation

WRF_DISCONT_FACT_E                      BAdI: Follow-Up Actions in Discontinuation

WRF_DISCONT_CHECKS_I                    BAdI: Scope of Check in Material Reorganization

MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance

MATGRP_SKU_UPD                          BAdI for Article Hierarchy Connection


user exit/enhancement to update profit center in KO01

$
0
0

in KO01 after entering the cost center on hit of enter key we need to update the profit center.

Please through some idea what is the appropriate enh we can use.

tried below not working.

 

Enhancement/ Business Add-in            Description                                                                              

Enhancement                                                                              

COOPA_01                             

Customer check modules for internal orders

COOPA002                              

Customer function for master data maint. - internal orders    

COOPA003                              

User-Defined Fields in the Order Master                       

COOPA004                              

Customer function: Print order master data                    

                                                                             

Business Add-in                                                                              

INTERNAL_ORDER_EXTND                  - Not for customer implementation !

Master Data Extension for Internal Order

 

 

Thanks,

Mahesh.

Re: user exit/enhancement to update profit center in KO01

$
0
0

I got fixed my self by implementing the implicit enhancement in include prog: LKAUFF1V.

end of the form:

form check_kostv using w_coas structure coas.

by passing coas-prctr = <calculate the profit center for given costcenter>.

 

 

Thanks,

Mahesh.

Re: User exit or Badi not available to modify the MARC-SSQSS in MM02 t.code

$
0
0

Hi,

 

Try to Implement the enhancement spot 'STANDARDMATERIAL_SAVE_DATA'.

 

 

Thanks & Regards

Bala Krishna

MIGO Batch Classification

$
0
0

Hi Folks,

 

 

I need your suggestion for the below Requirement.

 

 

in MIGO transaction when i enter the Bill of Ladding(GOHEAD-FRBNR), Automatically it has to sit in CLASSIFICATIONs in Details data BATCH TAB.

 

Please need your inputs.

 

Thanks,

Venubabu Divvi.

Re: ME9F message output issue

$
0
0

Hi,

 

What I figure out for today: one step missing only when calling ME9F from ABAP code.

 

The flow is like:

CALL TRANSACTION 'ME9F'  USING it_bdcdata

ME9F calls program RM06ENDR_ALV

After batch input "=9AUS" (Output Message) function WFMC_MESSAGE_SINGLE is called

after few more steps Z program Z_PO_SMARTFORM_MAIL is called (It sends pdf via email).

Z program calls FM SO_DOCUMENT_SEND_API1

There is an if statement at he end of this FM: 

 

if commit_work = on.

    commit work.

  endif.

 

if running tcode in normal way commit has like an 3 steps: Method: On_SAVE_Requested;

Method: Deque_From_Memory; and Garbage Collector.

 

But  if ME9F is being called from ABAP program commit work misses third step and returning to first program  not to Z_PO_SMARTFORM_MAIL.

 

Question is what we are missing?

 

Regards

Paulius Ilginis

Calling BAPI_MATERIAL_SAVE_DATA inside BTE 1250 FM sample_inetrface_00001250

$
0
0

Hi All,

 

I am calling BAPI_MATERIAL_SAVE_DATA  inside my BTE 1250 FM  sample_inetrface_00001250 , to update Z-fields in amterial master (MVKE-Zfield). But the issue I am facing is that  BAPI_MATERIAL_SAVE_DATA agains triggeres the BTE , and this goes on and on. Is there any way to avoid the BAPI call second time from the BTE or is the basic design itself flawed?

 

This development is an inbound IDOC process code , from which the BTE is triggered and I have to add validation and update material master inside the BTE. Kindly help.

 

BR,

Shankar.

Re: Calling BAPI_MATERIAL_SAVE_DATA inside BTE 1250 FM sample_inetrface_00001250

$
0
0

You should add some check in the triggered FM like CHECK I_MARA_NEW NE I_MARA_OLD or similar check ?

 

Regards,

Raymond


Re: Calling BAPI_MATERIAL_SAVE_DATA inside BTE 1250 FM sample_inetrface_00001250

$
0
0

Hi Shankar,

 

What is the Process Code your using to process the Inbound IDOC?

 

- BTE Event 1250 will only once when Material Data is posting after all the validation. If the custom FM which is linked to the EVENT 1250 is triggering then check the where used list and correct it.

 

If you still not able to fix it. Let me know the IDOC and Process code details to help you on this.

Re: Re Determine Batch number in salesorder during Delivery

$
0
0

HI Venubabu,

 

Try with Include Program MV50AFZ1 and Subroutine USER_EXIT_SAVE_DOCUMENT which will trigger at the time of saving the delivery document.

 

Also you have few other subroutine for different purpose.

 

Let me know if you need further help on this.

 

Regards,

Saravanan M

FB60 How to park document when the document is saved

$
0
0

I am looking for a BADI or user exit that I can be used to put the incoming invoice in PARK status when a user saves the document. If one found, how would I make the document status to PARK.

 

 

Thanks,

 

Vijay

Re: BADI_FDCB_SUBBAS04 Problem

$
0
0

Hi,

 

I have a very strange problem with BADI_FDCB_SUBBAS04 implementation.

 

I have used this BAdI to add custom fields to MIRO transaction.

First time I have added 3 fields to custom screen and it works fine, recently I have a new requirement

to add one more custom field to same screen but this newely added field is getting refreshed and is not getting saved in Database while previously added fields are getting populated fine.

 

I am unable to understand what may be the problem.

Re: FB60 How to park document when the document is saved

$
0
0

Remove authorization to FB60  to users and give them access to FV60 (with only activity PARK and not POST authorized), or can you give more information like always park or park if some check performed or other business rules. You will find some useful information in SAP Knowledge Base Article 1885677 - Authorization for T-code: FV50, FV60, FV70 and FBV0.

 

Regards,

Raymond

Re: Calling BAPI_MATERIAL_SAVE_DATA inside BTE 1250 FM sample_inetrface_00001250

$
0
0

Hi Saravanan,

 

First time my BTE 1250 FM gets triggered from the FM 'IDOC_WRITE_AND_START_INBOUND' . Then inside this BTE FM , I am  calling BAPI_MATERIAL_SAVEDATA to update other materials which are fetched based on some Z field in I_MARA_NEW of the original material for which the BTE was triggered the first time. Now this BAPI material save data is again triggering the BTE and the BTE again the BAPI etc.

I guess BAPI_MAERIAL_SAVE_DATA should not be called inside the BTE FM. That itself is wrong. PLs let me know your opinion.

 

BR,

Shankar.

Re: Re Determine Batch number in salesorder during Delivery

$
0
0

Thank you Saravanan,

 

i tried with that include program, in that i have wrote like this.

 

if CVBAP-POSNR eq XLIPS-POSNR.

CVBAP-CHARG = XLIPS-CHARG.

endif.

 

like this i wrote. in debugging i can able to see the Batch number but in Sales order level it is not updating.

 

Please let me know if you have any idea in this.

 

Regards,

Venubabu Divvi


UDM_DISPUTE Notes Update

$
0
0

Hey All,

 

I have a requirement of updating the notes of a particular dispute case either when creating a dispute case via FBL5N or directly from UDM_DISPUTE.

When run via FBL5N, the notes get updated as expected. However, when we try to create a dispute case via UDM_DISPUTE, the notes do not get updated.

We have implemented the BADI FDM_AR_DISP_COMPLETE where in we would be passing the notes to be updated.

 

Could someone please help me on this one? Why aren't the notes getting updated when we run via UDM_DISPUTE?

Thanks in advance!!

 

Veena

Re: FB60 How to park document when the document is saved

$
0
0

Our requirement is that if the amount on the invoice is less than the approvals allowable limit, the invoice should be auto posted when it is saved, otherwise it should be parked and should route for approvals through workflow. It is required to use transaction FB60 as users do not want to change this.

 

Regards,

 

Vijay

Re: Calling BAPI_MATERIAL_SAVE_DATA inside BTE 1250 FM sample_inetrface_00001250

$
0
0

Shankar,

 

I think you should not call BAPI in BTE function module. Check the User Exit in IDoc process code to populate the value to custom field. Also tell me the process code and IDoc your using to help you better.

 

Regards,

Saravanan M

To hide batch tab in MIGO screen

$
0
0

Hi,

 

MIGO screen is added with Batch tab with documentary batch enter option. I have resticted based on material type in SPRO and
based on certain plant, classification test_db if exist then displaying documentary batch tab in MIGO.

If class TEST_DB doesnot exist then clearing c_control in  BADI VBDOCUBATCH so that
In LMIGODC2, goitem-docubatch_control will be blank and   g_sub_batch will be'0336'. and batch tab wont get displayed.


*   set subscreen for batch
    g_sub_batch = '0335'.                  "normal batch
    IF goitem-xchpf = abap_false.          "not batch managed...
      IF NOT goitem-docubatch_control = ' '.
        g_sub_batch = '0338'.                 "... but documentary batch
      ELSE.
        g_sub_batch = '0336'.                 "... and no batch at all
      ENDIF.
    ENDIF.


I am having problem with another case,
For a material - In purchasing tab - General tab- batch management is checked ( mara-xchpf Batch management requirement indicator)
then g_sub_batch = 0335 normal batch tab will get dispalyed in MIGO.For this case VBDOCUBATCH wont trigger.

and also I am not getting badi to make condition based on movement type so that batch tab wont get dispalyed.

 

Please let me know any user exit/badi available to achieve this.

 

Thanks & Regards,
Priya

Re: FB60 How to park document when the document is saved

Viewing all 2464 articles
Browse latest View live


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