Need to incorporate the error message in ''phap_create'  T-code

Hi HCM Gurus,
I am new to PM Module ,  I've a requirment While attaching the apprasie attachment through ''phap_create'  i need check for file size. check if file size is more then 1 MB i need to give a error message to user. Could you please any one help me where to incorporate the code  is there any sepcific BADI .
Thanks in advance!
-Mallikarjuna

Maybe you are missing a step:
After creating and activting your new badi implementation:
- Call transaction OOHAP_BASIC
- Go to "Enhancment area", select the BS-Save appraisal document row
- Double-click on "Enhancement" subfolder (at the left)
- Add new entry with your new implementation.
After the previous steps:
- In the appraisals catalog (PHAP_CATALOG), double-click on your app template.
- Go to "Processing" tab,
- click on button "Further Template Behavior"
- In the dialog opened click on "Add Entry (F5)" button (or press F5)
- In the list showed, select the "BS" - "Save appraisal document" and 'enter'
- In the new row added with the previous selection, go to the blank cell and call matchcode (or press F4)
- Select your new implementation
- Press 'enter'
- Save your changes and release the template.
Now you should be able to debug or to see your "save" validation.

Similar Messages

Maybe you are looking for

  • Safari will not load

    I was using 3.0.? never saw the update when I ran software up dates so I DL safari from apple.com when I ran the DMG image, everything went well,said "installation succesful" computer needs to restart, after restarting the old version was there, the

  • HT201365 Can't access phone after activation lock triggered

    I flew to Puerto Rico, where my carriers coverage map said all was good, my phone worked for the first hour, then got a strange "Activation Required" screen, and couldn't access anything on my device. When I tried to activate it using my iCloud accou

  • Help formatting a play script (people talking) with Pages.

    How can I write a play script with certain formats. This is what I want to do: Person 1: Make it work like this. I want the dialog to wrap around like this ................Like this. So it stays even with the line above. I do not want to ............

  • Bridge CS5 Freezes when trying to preview mp3

    There are a few folders on my drive that have mp3's in them which, when I try to browse into the folder and click on the mp3 - bridge freezes. I have to restart Bridge. Other folders work fine. What is happening?

  • Photoshop CS6 and Photoshop CS6 CC simultaneity

    Is is possible to run Photoshop CS6  and Photoshop-CS6 CC simultaneously in the same computer? For instance PSSC6 for batch processing and PSSC6-CC for image editing?