Rectfy
Dear all
The following coding not working how to rectify
REPORT ZV_F4 .
TABLES: LFB1.
SELECTION-SCREEN: BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.
SELECT-OPTIONS : S_AKONT FOR LFB1-AKONT.
SELECT-OPTIONS : S_LIFNR FOR LFB1-LIFNR . "Vendor
SELECTION-SCREEN: END OF BLOCK B3.
DATA BEGIN OF IT_RETN OCCURS 0.
INCLUDE STRUCTURE DDSHRETVAL.
DATA END OF IT_RETN.
*AT SELECTION-SCREEN ON S_AKONT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_LIFNR-LOW.
DATA: BEGIN OF LT_LFB1 OCCURS 0,
LIFNR LIKE LFB1-LIFNR,
END OF LT_LFB1.
IF S_AKONT[] IS not INITIAL.
SELECT LIFNR FROM LFB1 INTO TABLE LT_LFB1 WHERE AKONT IN S_AKONT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'LIFNR'
DYNPPROG = 'ZV_F4'
DYNPNR = '1000'
DYNPROFIELD = 'S_LIFNR-LOW'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = LT_LFB1
RETURN_TAB = IT_RETN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT IT_RETN WHERE RETFIELD = 'LIFNR'.
S_LIFNR-LOW = IT_RETN-FIELDVAL.
EXIT.
ENDLOOP.
Regards
Suresh
Write this coding :
REPORT ZV_F4 .
TABLES: LFB1.
SELECTION-SCREEN: BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.
SELECT-OPTIONS : S_AKONT FOR LFB1-AKONT.
SELECT-OPTIONS : S_LIFNR FOR LFB1-LIFNR . "Vendor
SELECTION-SCREEN: END OF BLOCK B3.
DATA BEGIN OF IT_RETN OCCURS 0.
INCLUDE STRUCTURE DDSHRETVAL.
DATA END OF IT_RETN.
DATA: BEGIN OF DYNP_TAB OCCURS 1.
INCLUDE STRUCTURE DYNPREAD.
DATA: END OF DYNP_TAB.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_LIFNR-LOW.
DATA: BEGIN OF LT_LFB1 OCCURS 0,
LIFNR LIKE LFB1-LIFNR,
END OF LT_LFB1.
CLEAR DYNP_TAB. REFRESH DYNP_TAB.
DYNP_TAB-FIELDNAME = 'S_AKONT-LOW'.
DYNP_TAB-STEPL = 0.
APPEND DYNP_TAB.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-REPID
DYNUMB = '1000'
TRANSLATE_TO_UPPER = ' '
REQUEST = ' '
PERFORM_CONVERSION_EXITS = ' '
PERFORM_INPUT_CONVERSION = ' '
DETERMINE_LOOP_INDEX = ' '
START_SEARCH_IN_CURRENT_SCREEN = ' '
START_SEARCH_IN_MAIN_SCREEN = ' '
START_SEARCH_IN_STACKED_SCREEN = ' '
START_SEARCH_ON_SCR_STACKPOS = ' '
SEARCH_OWN_SUBSCREENS_FIRST = ' '
SEARCHPATH_OF_SUBSCREEN_AREAS = ' '
TABLES
DYNPFIELDS = DYNP_TAB
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
S_AKONT-low = DYNP_TAB-FIELDVALUE.
S_AKONT-sign = 'I'.
S_AKONT-option = 'EQ'.
append S_AKONT.
IF S_AKONT[] IS NOT INITIAL.
SELECT LIFNR FROM LFB1 INTO TABLE LT_LFB1 WHERE AKONT IN S_AKONT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'LIFNR'
DYNPPROG = 'ZV_F4'
DYNPNR = '1000'
DYNPROFIELD = 'S_LIFNR-LOW'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = LT_LFB1
RETURN_TAB = IT_RETN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT IT_RETN WHERE RETFIELD = 'LIFNR'.
S_LIFNR-LOW = IT_RETN-FIELDVAL.
EXIT.
ENDLOOP.
ENDIF.
Similar Messages
-
Report to see PO and invoice price diff
Hello All,
Which t-code/report can I use to see any difference between PO price and info record price diff?
We have a customized tcode ZMMR003, but it is giving runtime error even if I run for one date and corrsponding data exists..
Regards,Dude, as far as Z is concerned you want get much help from any source.
Firstly goto ST22 and see the cause of dump -> get it rectfied from your technical guy.
Next you can check RM07MMFI report. if you dont see this goto se38 -> type *MMFI -> press F4.
Try FBL3N also -
I use Gmail as my main contact/email - info gets corrupted in iCloud
I have a realitive noob to this - we use Macs at my office but I have never owned a Mac until I bought a mid 2011 Macbook Pro from my IT guy at work. He maxed it out with RAM, etc so it suns sweetl Well I am now a Mac addict with a 1st gen iPad mini and also a 5S (stood in line it the day it came out). I have only one apple ID which I use with all three devices and when I make changes in my gmail online book it doesn't automagically work. I have also noticed that I when I enter contacts on iCloud it doesn't necessarily show up in my Gmail addresss
Obviously, this makes me a sad panda and I need the situatioin rectfied since a lot of this is medical related to my disorder and I need the info alwaysl
So, any response you can give me will be much appreciatedl
Thanks,
aichessgee
P.S. Sorry if the spelling is atrocious - I broke my ankle two days ago and I am on a LOT of good drugs right now to help with the pain.
P.P.S. I also have a SERIOUS problem with my Photostream/iPhoto/whole photo deal where I am *this* close to busting a cap in the *** of all Mac products and going back to Androids.Thanks for the initial question - I will attempt to move the other stuff when I am not on medication and let you know how it works.
Ok - the photostream/iPhoto issue:
From the albums view on my iPhone I have the followingL
Camera Roll
My Photo Stream
Panoramas
Videos
Events from my Mac - which if I go under this folder, I have all sorts of crap that have things like "resources" and images of file icons (we're talking like Windows 98 gifs), plus albums of the other albums listed below in addition to ones that I are missing from the original list.
Last 12 months (from my Mac) which has 1249 photos
Last import from my Mac (has 10 photos)
My son's recovery from my Mac (has 54 photo)
Pics of me from my mac (has 6 photos
My sister's wedding from my Mac (176 photos)
Pics of my kids from my Mac (6 photos)
Dude's First Hike from my Mac (1 photo; there were originally 30+ photos in that album)
USMC Ball 2013 from my Mac (16 photos)
Caps Season Ticket Holder Party from my Mac (9 photos; originally had about 40)
Funny pics 14 photos
Macklemore Concert from my Mac (7 photos; originally were about 35)
Dustin Lynch Concert from my Mac (83 photos; there were originally about 150 photos)
Pink Concert from my Mac - 108 photos
THanksgiving 2013 from my Mac (1 photo - originally had about 17 photos)
My son comes home from my Mac (17 photos - that's about right)
Sports Hotties from my Mac (3 photos - that's right)
My son's MCT graduation from my Mac (7 photos; correct)
NYE 2012 - 2013 from my Mac (4 photos; correct)
Receipts for my son from my Mac (12 photos; correct)
My son's promotion from my Mac (10 photos; correct)
Kem concert from my Mac (8 photos; correct)
Christmas and New Year's 2013 - 17 photos
Then it keeps telling me it's synching repeatedly and never stops.
When I go in to iPhoto on the Macbook to move photos, there are oftentimes duplicates of photos - often 3 to 4 of the same photo. It won't allow me to drag or drop photos into proper albums except very rarely - there's no rhyme or reason.
I'm not sure what to do. Everything is backed up and it seems like with every back up, it gets more and more screwed up.
Also, if I delete some of the photos, thinking that I deleted it from just the trashcan in iPhoto it turned out that I deleted them from my Facebook albums as well.
So, at this point I am ready to throw the computer and I need to know what to do about getting these pics out of iPhoto, put in folders outside of iPhoto, and working with another program that will allow me to share them with Facebook, friends, etc.
Thanks again for your above help and I'll let you know how that works,
Aichessgee -
Error while approving time sheet in ESS using workflow
Hi Experts,
We have created a data entry profile for ESS time recording and in that we have used the standard task id TS20000460 for SAP workflow with auto determination of recipient. Whenever employee enters the time and save it the workflow is trigring and its going for manager's approval. But however when manager trys to approve it's throwing below error.
Read of object with ID portal_content/com.sap.pct/srvconfig/com.sap.pct.erp.srvconfig.mss/com.sap.pct.erp.srvconfig.CatsApproval/com.sap.pct.erp.srvconfig.fpmapplications/com.sap.pct.erp.srvconfig.ManagerApprove failed.
Read of object with ID portal_content/com.sap.pct/srvconfig/com.sap.pct.erp.srvconfig.mss/com.sap.pct.erp.srvconfig.CatsApproval/com.sap.pct.erp.srvconfig.fpmapplications/com.sap.pct.erp.srvconfig.ManagerApprove failed.
I have maintained below mentioned configuration.
I have created a Approval profile and assigned the same to managers using CATS_APPR_PROF user parameter.
Please help in rectfying the problem
Regards,
Koutilya A.Kcheck in the portal if the ID's exist
Also, check if the manager has authorization's in the portal for the objects -
ME-807 System error: error during insert in table EKKO in SM13
Hello Experts,
I have been searching a lot in SDN and in google about the ERROR ME-807 System error: error during insert in table EKKO but still i have not got any satisfactory answer.
In ME31K when I create the contract and put some validation check on target value filed in BADI Implementation ME_PURCHDOC_POSTED while saving it .
Now after rectfying the valdiation checks and saving the contract again i get this ERROR in SM13 and i can not even see the contract in ME33K. It says that doument does not exist.
Please let me know what could be the possible reason for this.
Thanks,
NaveenHi Jan,
This ERROR is coming from a function module ME_CREATE_DOCUMENT .
The code snippet from where this error s comin is as below:-
DATA: LS_EKUB_NEW TYPE EKUB.
DATA: L_EBELP LIKE IND_EKKI-EBELP,
L_TABIX LIKE SY-TABIX,
L_TABIX_1 LIKE SY-TABIX,
L_EHP4_P2PSE_ACTIVE TYPE XFELD.
------- Bestellkopf hinzufuegen -
MOVE NEKKO TO EKKO.
INSERT EKKO.
IF SY-SUBRC NE 0.
MESSAGE A807 WITH 'EKKO'.
ENDIF.
Thanks,
Naveen -
CHANGE_CONDITION_MULTIPLE A003TXMWVS
Dear all,
can you pls tell me the iam deactive the line tax percentage (ftxp) and save its showing error Error in routine CHANGE_CONDITION_MULTIPLE A003TXMWVS, can you pls tell me how it is reslove..
Regards
nasacan pls rectfy above error
-
This of calculating a given date + 6 months or any given number
currentdate = document.wk.emp_datejoiningx.value (here the value stored is 08/10/2007)
// This is the Joining Date.
day = parseInt(currentdate.substring(0,2)); (problem here is that here the value is stored as 0)
let me tell you am facing this problem only with 08/10/2007 and 09/10/2007 in rest of the case my value is stored properly in substring
if i put the date as 07/10/2007
day = parseInt(currentdate.substring(0,2)) (value stored here is 7).
Can any one please guide me why this error is.... as this error has to be rectfied ASAP.
regards
sreekant nairThank you evnafets
For your educative response, well the problem is resolved 've made small changes in the code.
var delimChar = "/";
var delim1 = currentdate.indexOf(delimChar);
var delim2 = currentdate.lastIndexOf(delimChar);
// This is the Joining Date.
day = parseInt(currentdate.substring(0,delim1),10);
month = parseInt(currentdate.substring(delim1+1,delim2),10);
year = parseInt(currentdate.substring(delim2+1),10);
this has solved the problem of zero.
Am sorry for registering at the wrong forum.
Thank you ev
Maybe you are looking for
-
Copy text from allocation table to purchase order
I am unable to get header/item text to be copied to follow-on Purchase order. I am unable to link AK1, AP1 to purchase order text types. Help please. Thanks.
-
IMac going through "Looping Startup" after failed file exchange
I just got a new Intel iMac (off eBay). It worked perfectly when I got it... First, I connected my old G5 to it via Firewire and was going to use Migration Assistant, but quit when I found that it would take 12 hours. Then, I moved some stuff on my G
-
Save method in ESS application
Hi all, I have a requirement whereby I need to update a custom table after the user clicks the "Save" button in the standard ESS application. Does anyone know where I can insert the code ? I can't find the onEvent in the vc<>Review component controll
-
I have an 8gb iPod touch 4g. If I install iOS6 as new device, how much free space would i get after?. In iOS 5.1.1, you will get 6.4gb of total free space, how about on iOS6?
-
HT1338 Do mac require antivirus
Ido mac require antivirus