We can help. Together we learn....




We are moving to a better and faster site SAPYard.com  (http://www.sapyard.com/).


The content has been moved to below link. Please visit it at your convenience. Thank you for all your cooperation.

http://www.sapyard.com/steps-to-add-custom-tab-in-standard-miro-item-screen-using-badi-mrm_item_custfields/



We are moving to a better and faster site SAPYard.com  (http://www.sapyard.com/).

The content has been moved to below link. Please visit it at your convenience. Thank you for all your cooperation.

http://www.sapyard.com/po-re-price-issue-in-bapi_po_change/


Enhancement Strategy

by Voice | Tuesday, February 21, 2012 in | comments (3)

1) Use of user validation and preferably with a control table.
2) Code should be written in the custom include and not in the enhancement.
3) In case same user exit, BADI or form routine is used for more than one changes, it is better to save the custom include in separate transports. The custom include should have the syntax 'IF FOUND'.
4) No CHECK statement should be used.
5) SAP internal tables should not be sorted in the custom logic
6) If entry is being read from the stack, please check whether the value is assigned to the field symbol or not.
7) Some form routines likes  MV45AFZZ does not have 'Fixed Point arithmetic' check. Beware of that and make adjustments in your calculations
8) Unless and until required, do not give an error message  from an ehancement

I will update the list if I remember more

Daylight Saving Setting in SAP

by Voice | Wednesday, February 01, 2012 in | comments (2)

Often we need to convert the system time to local time of the plant and if the local time of the plant observes day light then result is 1 hour off sometimes. This problem occurs due to time difference of daylight saving. If you are facing this problem (like me) then please check your DST system using transaction STZBC.

Fig1 - First check whether Daylight rule is active or not.


Fig2 Check the rule (Variable summer time rule)

Fig3 Check the rule (Fixed summer time rule)

Let us know if this was helpful.

Issue with Pop up display

by Voice | Tuesday, November 29, 2011 in , | comments (3)

Hi Friends.

SAP is full of surprises. Today when I was trying to test a program, I saw the messages are not coming properly. Instead of showing the full message, it is truncated with a cross icon.

Finally I was able to trace the source of the problem. The problem lies in the SAP FM - POPUP_WITH_TABLE_DISPLAY_OK. I have used this function module numerous times in past and but this time, I realized there is a "IF" condition in the source code of this FM at line no - 68.

  LOOP AT LISTTAB.
    IF LISTTAB+15(1) = 'S' OR LISTTAB+15(1) = 'F'.
      IF LISTTAB+15(1) = 'S'.
        WRITE: / LISTTAB+0(15), ICON_OKAY AS ICON.
      ELSEIF LISTTAB+15(1) = 'F'.
        WRITE: / LISTTAB+0(15), ICON_CANCEL AS ICON.
      ENDIF.
    ELSE.
      WRITE: / LISTTAB.
    ENDIF.
  ENDLOOP.

So if the 16th character of your message is either S or F, then your message will be truncated. If you are facing this problem now you the reason. You can solve this issue in your own way.

[My sol - simply convert the 16th character to lower case if it F or S.]

*.IDO file for IDocs

by Raju | Tuesday, October 25, 2011 in | comments (4)

We are moving to a better and faster site SAPYard.com  (http://www.sapyard.com/).

The content has been moved to below link. Please visit it at your convenience. Thank you for all your cooperation.

http://www.sapyard.com/ido-file-for-idocs/


A to Z of Custom Change Pointer

by Raju | Tuesday, October 25, 2011 in | comments (9)

We are moving to a better and faster site SAPYard.com  (http://www.sapyard.com/).

The content has been moved to below link. Please visit it at your convenience. Thank you for all your cooperation.

http://www.sapyard.com/a-to-z-of-custom-change-pointer/


Categories