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

Adding custom message in exception list of F110 transaction without adding payment block

$
0
0

Hi All,

 

 

 

My requirement is to add custom message in exception list of F110 transaction based on certain fields validation without adding payment block .

 

 

 

I tried using BTE 1820 where I can add my validation but am not able to add the custom message in exception list.

 

 

 

 

 

Thanks,

 

Mihika.


Re: Adding custom message in exception list of F110 transaction without adding payment block

$
0
0

Check FM/BTE documentation

Status messages (message type S) can be output in the function module.

The log options from the payment run parameters in the structure I_TRACE

are given to decide which messages are required in the payment run log.

Did you try to add some S messages (I message too should also be displayed in log) also standard will also add a standard message after yours. (Document & & &: payment block/method changed by BTE 00001820 in &)

 

Regards,

Raymond

CO01 production order : Enhancement

$
0
0

Hi,

 

There is requirement to set the 'user status' while creation of Production Order,we have the Bapi to set the user staus.

That needs the PO number to be passed.

 

Can you tell us enhancement option to call th BAPI during the Save of Production order or BADI ..

 

Regards,

Narender

Re: CO01 production order : Enhancement

$
0
0

Hi,

 

Did you tried this PPCO0007

 

Regards,

Madhu.

Replicating Specific Payment Terms from Backend to SRM

$
0
0

I need to replicate specific payment terms from Backend System to SRM.

For this i need to add one field for Payment terms where in specific payment terms

are selected from ecc via RFC by user.

Can anyone suggest where in standard program do i need to make changes to replicate

specifc payment terms

Note:Standard Program BBP_UPLOAD_PAYMENT_TERMS replicates all payment terms .I need to copy this program

and make customized program to get the above task done.

Urgent help needed.

Re: Adding custom message in exception list of F110 transaction without adding payment block

$
0
0

Hi Raymond,

 

Thanks for your reply.

 

I did checked the document and tried giving the S and I message in my BTE with trace option checked on Additional log screen.

 

But Success and information message doesn't showed in Exception List.

 

If I set the Error message the Proposal gets cancelled and I can see my error message in log. (We don't want this option as in this option proposal is not getting created)

 

If I set the Payment block I can see that logged in exception list. But we don't want to set the payment block but the message should appear in exception list.

 

I added the message using simple message statement. Will you please advice if any other way to add the message other than using the MESSAFE statement.

 

Thanks,

Mihika.

Re: ME_GUI_PO_CUST and me_process_po_cust

$
0
0

Hi,

 

May I know how you mapped these fields...

 

      WHEN 'ZZITEM1'. <mapping>-metafield = mmmfd_cust_01.

      WHEN 'ZZITEM2'. <mapping>-metafield = mmmfd_cust_02.

 

I mean, how you came to know that you need to map mmmfd_cust_01 to ZZITEM1.

 

Regards,

praveen

Populate long text in FB03 using FF_5 tcode

$
0
0

Hi All,

 

We are using tcode FF_5 to update the Account statement .After posting the long text is not populating Long text.I used the user exit EXIT_RFEBBU10_001 to populate the long text.I tried passing value to the exporting parameter E_FEBEP-SGTXT but value is not getting populated in FB03.


Please let me know if any one came across the same requirement .

 

 

Thanks

Naresh B


Re: ME57 ALV Grid adding some custom fields (columns)

$
0
0

Hi Tony,

 

I am facing the same issue. Did you ever get to any solution regarding it ?

 

Thanks,

Gaurav

Re: QRFC debugging

$
0
0

See if this helps:

 

you can activate the user switch by setting the "rfc/enable_trfc_dbg_user_switch" profile parameter to 1 during the LUW debugging. After you set the profile parameter, you must restart the relevant application servers, because this is a static profile parameter.

Re: Update wagetype amount on Infotype 0008 via user-exit

$
0
0

Hi ,

I am facing the same prroblem.

calculated all values but in display mode it is not reflecting the calculated value ..

i m trying to use your code :

 

>     if sy-ucomm ne 'UPD' and sy-ucomm ne 'UPDL'.

>       show_data_again = 'X'.

>     endif.

 

but still not getting..

need to display

1spl wage type(bet06) and total amount (sumbb)

 

please guide....

Re: System second language

$
0
0

Hi Gilles,

I hope you found your answer already, but in case this helps.

 

You can edit profile parameters with transaction RZ10.
This Parameter should be changed in the DEFAULT profile and not be set in any instance profile.

 

Regards,

Niklas

Can we increase the char limit for a role name in PFCG T-code ?

$
0
0

When you create a role in PFCG t-code, there seems to be a restriction of 30 characters

This becomes a hurdle when we have long role names

Is there a way to increase the char length ?

If we can change it , How do we approach without disturbing the functions involved in it.

Enahncement in TRIP Tcode

$
0
0

Hi Experts ,

 

I need one help from all of you. Please help me out.

 

I have a requirement to add checkbox on following screen.

 

T Code :  TRIP and TP04 .

 

Its Program Name is :  SAPMFITP , Sub screen 4001 being called under main screen  4000.


And I have to add check box in 4100 sub screen.

 

But I am not able to find any screen exit for this.

 

So in order to get the required scenario , what should I do ?

Or if you can get exit for this , please share  with me.


Capture7.PNG

 

Please help me. Rewards points for sure .

 

 

Thanks & Regards :

Gaurav Singh

Direct SAP table update issues

$
0
0

Hello Experts,

 

    Currently, in my customer system i see one custom program which is updating SAP standard table (SCM EWM) directly using below statement.

 

 

 

     "update /SAPAPO/MATLWH set rsqty = zmax_qty where matid = mat_wa_chunk-matid and scuguid = mat_wa_chunk-entitled_id."

 

 

 

      I see that program is there in production from last almost 2 years and that is a product quantity update program which has to run periodically.

 

    As per my knowledge, this is not at all acceptable. Can you please share me your thoughts, what kind of problems will occur and pre-defined

    errors with direct data base table update?

 

 

 

    What should we do now on this?

 

 

 

    Thank you in advance.


Re: Validation Data in IW31/ IW32 with user-exit or BADI

$
0
0

You can achieve this through User-Exit IWO10009.

You need to provide the code in the include of this exit. ZXWOCU07. In fact this exit has no direct access to Components (RESB structure) so the coding has to use Field-symbols. I'm providing a code where the changes in Component Quantities are restricted after the Order release. You can modify this for your requirements.

 

Jogeswara Rao K

Re: User Exit for VA02

$
0
0

Hi Prashantha,

 

Could you please share the solution to this. I have an exact same requirement and am stuck with finding the exit for this. Your help would be appreciated.

 

Regards,

BGaurav

Re: Validation Data in IW31/ IW32 with user-exit or BADI

Re: Validation Data in IW31/ IW32 with user-exit or BADI

$
0
0

Hello Manuel,

 

Regarding the present thread. Forget about the code attached. Here is the solution code for your requirement. It is tested.

 

TYPES: BEGIN OF TY_RESB,        MATNR TYPE RESB-MATNR,        RSPOS TYPE RESB-RSPOS,   END OF TY_RESB.
 DATA: IT_RESB TYPE TABLE OF TY_RESB,       WA_RESB LIKE LINE OF IT_RESB,       LV_DISMM TYPE MARC-DISMM.
 FIELD-SYMBOLS: <FS_RESB> TYPE ANY.
 DATA: BEGIN OF I_RESB OCCURS 100.         INCLUDE STRUCTURE RESB.
 DATA:END OF I_RESB.
 ASSIGN ('(SAPLCOBC)resb_bt[]') TO <FS_RESB>.
 I_RESB[] = <FS_RESB>.
 SELECT MATNR RSPOS FROM RESB INTO TABLE IT_RESB 
WHERE AUFNR = CAUFVD_IMP-AUFNR.
 CLEAR LV_DISMM.
 LOOP AT I_RESB.   READ TABLE IT_RESB INTO WA_RESB WITH KEY RSPOS = I_RESB-RSPOS.   IF SY-SUBRC = 0.     SELECT SINGLE DISMM FROM MARC INTO LV_DISMM 
WHERE MATNR = WA_RESB-MATNR.     IF LV_DISMM = 'P1' OR LV_DISMM = 'P2' OR LV_DISMM = 'P3'.       MESSAGE: 'Please check the MRP type of the component materials used' TYPE 'E'.     ENDIF.   ENDIF.
 ENDLOOP.

 

 

According to this, the Order saving is refused in case the MRP types are  P1, P2, P3. This is as per Code line number 25. You can customise these types as per your requirement. In the the Order Components tab if any of the materials belong to these 3 MRP types, the following error is thrown in the status bar.

 

 

 

 

 

Hope this is of help to you.

 

Jogeswara Rao K

Re: Error while creating a overwrite method in class

$
0
0

Hi,

 

If you do not want to modify the standard class (repair it), you're usually stuck with using implicit extensions.

 

Best regards,

Guillaume

Viewing all 2464 articles
Browse latest View live


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