Iam not getting the data on screen after using the user exit zxpadu01
Dear Freinds
As per my requirement when the user enters value Ansal it should get defaulted to Amount field (bet01 ) based on the wage type
i have written calculation ( q0008-bet01 = ansal/100) before it getting defaulted to bet01, i found that value is not getting default on the screen for bet01 once i enter value for Ansal , please any body correct my code
in ZXPADU02 i have written the code as below :
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008. -- HERE I GOT ALL THE DATA EXCEPT BET01
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- HERE I CAN SEE EVEN THE BET01 IS FILLED
IMPORTING
prelp = innnn. --- HERE I CAN SEE LGART BUT NOT AMOUNT VALUE
endif.
when others.
endcase.
IN ZXPADU01 I HAVE WRITTEN AS BELOW:
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- I CAN SEE ONLY WHEN I COME AGAIN
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
Now my problem is as follows :
i have entered the value for Ansal (ex: p0008-Ansal = 1000) ..........and i say enter then i should found the calculated value for the ansal through my coding
and it should display in bet01 as 10 ( q0008-bet01 = p0008-ansal /100)
but i dont find the value 10 being displayed for the field bet01 on the screen when
user enters Ansal as 1000 .........even then i have saved it to test the scenario......
now i came in displayed mode (pa20 ) for the infotype 008 for the same personnel no for the same dates .....where i created the record........i found that the value
bet01 is there i.e i can see the value bet01 as 10 ( my requiremnt here matching)
but when the user say enter during the time of creation of the record the value
bet01 is not getting defaulted with 10 .........why iam not able to understand
PLEASE ANY BODY HELP ME IN THIS REGARD
regards
shanti.
Hi Pranesh,
i have used the logic which you hav given as below
in ZXPADU02
FIELD-SYMBOLS <fs> TYPE ANY.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount . --- amount as (ansal /100 i.e 1000/100 = 10) 10
endif.
still iam not getting the data for the field bet01
this is the coding i am using
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
FIELD-SYMBOLS <fs> TYPE ANY.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount .
endif.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
please help me as iam still not getting (value in bet 01) when i press enter once i enter value in ansal feild.
regards
shanti.
Similar Messages
-
Sometimes when using the Google search engine, after using the Back button in the Firefox 4.0.1 browser, I am no longer able to click in the Google search box.
This problems has been occurring on two different machines over the last two days.I think this may not be a browser problem but rather a Google problem.
I am getting the same problem with the Google Chrome browser. -
Blue Checkered Screen after using the Recovery Disks
I have a Compaq Presario SR2034NX XP Media Center computer. I followed the instructions and installed all the recovery disks. The screen then said to remove all disks and that it's going to reboot several times to finish the installation. During this process I got a blue checkered screen. I'm not sure what to do at this point. I took a picture of what the screen looks like and I'm enclosing a link to the picture here.
Click below to see the picture of what my screen looks like after using the restore disks:
http://bit.ly/ifajT6
Thank you for your help and time!I run into the same problem with fresh installation of W7 Pro on T530 with 1TB samsung disk.
This solution worked for me:
Running check for updates will trigger this error message:
“Windows Update cannot currently check for updates, because the service is not running. You may need to restart your computer.”
Solution:
1. Go to Administrative Tools/Services, and stop the Windows Update service.
2. Then go to the folder c: /Windows/SoftwareDistribution and delete all of the files and folders.
3. Then go back to Services and restart the Windows Update service which will recreate all of those folders again.
4. Then manually run the Update Service and everything should work. -
Can we update the data of ztable by using the BAPI FM
Hi Experts,
Can we update the data of ztable by using BAPI FM 'BAPI_CUSTOMERCONTRACT_CHANGE'.
Can anyone help this issue.
regs
ramsHi Ramesh,
After the BAPI 'BAPI_CUSTOMERCONTRACT_CHANGE' is called, check the return message and use UPDATE <DBTABLE_NAME> command to update the ZTABLE.
Use COMMIT WORK after the call. If the BAPI is standard BAPI and not a customized BAPI, then it wont update Z Table direclty. You need to build the logic in program to update Z Table.
Best regards,
Prashant
PS : Please reward all helpful answers -
Getting back the pertially filled screen after showing the error
Dear Exparts,
I have come across a situation where i am populating data in a screen with a table contrlol. Before populating the table control, i have some input fields.
In the table control i have some data check. while checking the data i have given some error message with type I. But whenever i am pressing enter after showing the message, the already filled fileds(input fields and the fields in table control) are getting blank.
I want to show already filled data and make that fileld blank where i put wrong data.
Waiting for your valuable inputs.
Supratimjust check with
set HOLD DATA on. -
I can not get my mouse to work after changing the batteries
I can not get my wireless mouse to work after changing the batteries
Some ‘dumb’ questions just so we don’t assume what you have done:
Batteries installed with both + poles pointing to the top as you hold the mouse?
Mouse switch has been returned to the ‘on’ position - do you see a green light? First it will be solid green and then flashing green as the mouse tries to pair with the computer.
Try clicking the mouse a few times as it’s trying to pair.
If you don’t see a green light, try wiping off all battery contacts and reinserting the batteries. If still no green light and the mouse switch is ‘on’, are these old rechargeable batteries that been recharged many times or are they fresh normal batteries (not rechargeable batteries)? -
Am not getting correct status of IDOC after using MASTER_IDOC_DISTRIBUTE FM
Hi,
Am triggering an out bound custom IDOC by using my_custom_FM for sales orders. With in my_custom_FM am calling standard FM 'MASTER_IDOC_DISTRIBUTE' and distributing custom IDOC. If IDOC got failed I have to send an error message to SAP inbox (am achieving this, explicitly by using a standard FM). But, immediately after executing FM MASTER_IDOC_DISTRIBUTE, i checked the IDOC status in 'communication_idoc_control' parameter, its saying '30'(am keep on refreshing EDIDS table and WE05), even though IDOC went well. After am completely coming out from debugging the status has changed to '03' in EDIDS and WE05!
1) Let me know how to get the correct status of IDOC immediately after executing the FM MASTER_IDOC_DISTRIBUTE (because, in next line am calling my message sending FM based on IDOC status).
2) Or do i need to place my message sending FM some where else?
Thank youThank you.
Unfortunately this is happening in an UPDATE task, still as a trial i tried to use COMMIT WORK, as expected it thwon a dump. Also tried only with DEQUE_ALL, no use.
Are you sure that I can process the subsequent step/block of code(calling error message sending FM to SAP inbox) based on SY-SUBRC of MASTER_IDOC_DISTRIBUTE FM, not based on the IDOC STATUS?
Because, just as trial, i have given a junk value(say, XXXXXX) for Message type in IDOC control, just before triggering the MASTER_IDOC_DISTRIBUTE FM.......but, still am getting SY-SUBRC = 0!! with a status of 29. Hence am thinking to do not relay on SY-SUBRC=0, sorry if am wrong
Should i put my code of (calling error message sending FM) in any user-exit?
Thank you -
Update the data in hGrid After fetching the data in Search Page
Hi All,
i have a search page,when we click on search button,we got the data and here we have update button to update the data,
here, i am going to show and updatae the data through hGrid functionality. i don't know how can we update through hGrid.
could you please tell me how we update the data through hGrid. Any examples are there in OAF ToolBox.
could you please any one explain this one.
Regards,Hi,
---In HGRID page try to create update button.
---In button set propertoes action , pass parameters in SPEL and set event:Update.
---In CO get the action of the event navigate to the next page.
---In update (3rd page) co process request get the value of po header id.
---Create eo based vo adn pass po header as bind param and execute the query.
---Here u can edit the fields
---after editing on click on save button call OADBTrancation.commit().
Regards
Meher Irk -
Can I buy a SmartPhone without getting the data plan, and just using the wifi?
I was looking into buying an iPhone or smartphone of some sort, but don't want the data plan. Can I get a smartphone or iPhone without the data plan and just normal service?
AT&T GoPhone plan does not require a data plan, you can activate a smart phone on a basic gophone plan. However, if you don't turn data off at the carrier level, you will get a per use charge for data.
IT is not how the phone and service is expected to work, yet it can and does. If it works on AT&TA, it will probably work on Verizon also.
I will repeat, this is not how it is designed to work. -
How to delete the data from KNVP without using the delete statement
Hello friends,
I have a requirement that I have to delete the data from KNVP table without using any delete statement. For it I have to use the Standard BAPI or any standard program.
Can you please tell me the name of the standard program or BAPI to delete the data .
Thanks in Advance
KuldeepHello Raymond,
I have use the function 'CUSTOMER_UPDATE' in which I only gives the data in T_XKNVP table only but still the data is not get deleting. Please see the code below.
=============================================================
REPORT ZK_TEST2 .
data :
I_KNA1 LIKE KNA1,
I_KNB1 LIKE KNB1,
I_KNVV LIKE KNVV,
I_YKNA1 LIKE KNA1,
I_YKNB1 LIKE KNB1.
Data :
T_XKNAS LIKE FKNAS occurs 0,
T_XKNB5 LIKE FKNB5 occurs 0,
T_XKNBK LIKE FKNBK occurs 0,
T_XKNVA LIKE FKNVA occurs 0,
T_XKNVD LIKE FKNVD occurs 0,
T_XKNVI LIKE FKNVI occurs 0,
T_XKNVK LIKE FKNVK occurs 0,
T_XKNVL LIKE FKNVL occurs 0,
T_XKNVP LIKE FKNVP occurs 0 with header line,
T_XKNVS LIKE FKNVS occurs 0,
T_XKNEX LIKE FKNEX occurs 0,
T_XKNZA LIKE FKNZA occurs 0,
T_YKNAS LIKE FKNAS occurs 0,
T_YKNB5 LIKE FKNB5 occurs 0,
T_YKNBK LIKE FKNBK occurs 0,
T_YKNVA LIKE FKNVA occurs 0,
T_YKNVD LIKE FKNVD occurs 0,
T_YKNVI LIKE FKNVI occurs 0,
T_YKNVK LIKE FKNVK occurs 0,
T_YKNVL LIKE FKNVL occurs 0,
T_YKNVP LIKE FKNVP occurs 0 with header line,
T_YKNVS LIKE FKNVS occurs 0,
T_YKNEX LIKE FKNEX occurs 0,
T_YKNZA LIKE FKNZA occurs 0.
T_XKNVP-KUNNR = '7000002648' .
*T_XKNVP-VKORG = '0001' .
*T_XKNVP-VTWEG = '01' .
*T_XKNVP-SPART = '01' .
T_XKNVP-KZ = 'D' .
append T_XKNVP to T_XKNVP.
CALL FUNCTION 'CUSTOMER_UPDATE'
EXPORTING
I_KNA1 = I_KNA1
I_KNB1 = I_KNB1
I_KNVV = I_KNVV
I_YKNA1 = I_YKNA1
I_YKNB1 = I_YKNB1
TABLES
T_XKNAS = T_XKNAS
T_XKNB5 = T_XKNB5
T_XKNBK = T_XKNBK
T_XKNVA = T_XKNVA
T_XKNVD = T_XKNVD
T_XKNVI = T_XKNVI
T_XKNVK = T_XKNVK
T_XKNVL = T_XKNVL
T_XKNVP = T_XKNVP
T_XKNVS = T_XKNVS
T_XKNEX = T_XKNEX
T_XKNZA = T_XKNZA
T_YKNAS = T_YKNAS
T_YKNB5 = T_YKNB5
T_YKNBK = T_YKNBK
T_YKNVA = T_YKNVA
T_YKNVD = T_YKNVD
T_YKNVI = T_YKNVI
T_YKNVK = T_YKNVK
T_YKNVL = T_YKNVL
T_YKNVP = T_YKNVP
T_YKNVS = T_YKNVS
T_YKNEX = T_YKNEX
T_YKNZA = T_YKNZA
============================================================= -
HT4889 How do change the ownership of files after using the migration assistant?
After I copied all of my files across using the migration assistant, the tool is nice enough to assume that I want to use the same ID that I had on my PC. This is not my case as I am using a different name on the mac. How do I get the files from the other user name? I have already set the sharing permissions so that I can see them on both user ids, however the only way I can see to update is to copy them all. As I have about 1TB of files, this is a little inconvenient. Any thoughts?
Thanks. It got me on the right track. At the end, I copied the 1TB over and just deleted the other profile. I tried to set the ownership to my regular ID by removing the lock from "Get Info" but I still had to move them out of the other "user" folder.
-
Why the 2LIS_08TRTK extractor can not get all data
Hello, BW Gurus.
Why the 2LIS_08TRTK and 2LIS_08TRTLP extractors can not get all data. I had used the RSA3 and get 10 registers, when a check at the VTTK table I had 20 registers, I didnt use filters at RSA3, could you help to know what happen o correct it.Is it because
<i>
Shipment documents and their dependent objects (shipment stages as well as shipment items [deliveries in the shipment]) are only extracted into BW when the Shipment completion status has been set.
This is necessary because the numeric values that result from the delivery documents are only established at the time. If the data were already stored earlier in BW, the shipment data would not be updated if the delivery notes were changed in BW.
</i>
- from oss note 573470. -
Does anyone get a black screen after dismissing the balance on a paygo phone
I get a blank, black, screen after dismissing the balance on my paygo 3GS iphone. To get rid of it I put the phone into standby and then wake it up!
From your logfile
[787100.353] (EE) Failed to load /usr/lib/xorg/modules/drivers/i740_drv.so: /usr/lib/xorg/modules/drivers/i740_drv.so: undefined symbol: I740_Sync
Corruption seems the correct assumption here; I'd boot using a rescue disc; then mount your actual system and reinstall all packages. After chrooting, that should be something like pacman -Sf `pacman -Qqet` -
Tab not getting focus on left-click after suspend in Windows 7 64-bit.
When I left-click on a tab in Firefox 4 rc 2 after my pc wakes up from suspend in Windows 7 64-bit the tab is not getting focus. I have to use the hotkeys in order to move to that tab. My mouse works fine in other programs.
I have an imac
I have an magic pad (same thing as the touch pad on a macbook really)
I have an usb mouse I use both in windows and osx
if your trackpad somehow was registered as actived for some reason it would seem as if it was the mouse
had some *** situations both in windows and osx when my cat sit on the magicpad -
I have a new iPhone 5C, have the sounds alerts set up. But I'm not getting sound alerts for new voicemail, only the red circle on the screen. How can I make the sound alert work?
I have had this same problem for weeks now with my 4S. I just got a new 5S after being extremely frustrated and the same thing - no sounds. After searching posts all over, I couldn't find a solution. I just told my friend of the issue and he asked "Do you have the Do Not Distrub on?" I didn't even know such a function existed. Upon looking that was exactly the issue.
To resolve, go to Settings> Do Not Disturb> Manual. If it is green, turn it off. You will now get phone calls and text alerts.
This functionality is also on your quick access utility menu (slide up menu). I assume this is how it was enabled on my phone.
I will post on other sites since I searched for weeks for this solution and didn't see it anywhere. Good luck!
Maybe you are looking for
-
When I ask Thunderbird to print an email, it shows a printer which I have uninstalled, not my current default printer. (In fact it shows 2 uninstalled printers!) How do I change it? Also, it is rather annoying that I have lost the pound sign and the
-
Airdrop iPhone to Macbook Pro Retina
I am trying to Airdrop a photo from my iPhone 6 Plus to my Macbook Pro Retina 15" early 2013 and it is not working. I can Airdrop between my iPad Air 2 and iPhone 6 Plus, but not between my Mac. My Mac can send to my iPhone and iPad. I can see my p
-
HT201335 iphone 4 support AirPlay Mirroring ? Reply me fast
hi, I have iphone 4 . and im planing to buy apple tv 3rd Gen. Im from india. So, can you please tell me iphone 4 AirPlay Mirroring is supported in iphone 4 ? Thank you in advance. VISHAL PATEL
-
BBP_BD 002 Buffer table not up to date
Hi, We are hitting similar error . We are implementing Extended Classic Scenario. When i create shopping cart - it saves perfectly - status approved. However if i log in as SRM Administrator and check on Application Monitors - the shopping cart is sh
-
Can i use combination peoplesoft system and http adapter on sender side
hai can i use combination peoplesoft system and http adapter on sender side is their any modifications i have to do on module tab can any body tell me how to post data to http adapter is there any application gui is there to post data