Dbtab Getting Cleared
Hi All
I am using one Y table for generation of numbers. This table stores the last no generated for a particular combination. But anyhow this table is getting reset and am unable to find the cause.
When i wnt through the coding, i found it ok. First the max value is being selected from the table and after all the opearation is been done, the dbtab is being modified from an itab of the same structure.
There is also a check if no number is found. In that case it'll throw an error message.
Still then am unable to find the cause.
I am using Modify statement along with commit work if modification is a success else rollback work.
Need suggestions urgently.
With Regards
Pradipta K. Mishra
But if am not wrong then Insert will created more than one line item in the table which is not my requirement. My table is to contain only the last generated number.
Code is like :
Fetching the max no.
Select max ( no )
from dbtab
into w_var
where <condn> .
if sy-subrc <> 0.
message e024.
endif.
Then after doing the necessary operation,
wa_itab-no = w_var1.
append wa_itab to itab.
Modify dbtab from table itab.
if sy-subrc = 0 .
commit work.
else.
rollback work.
endif.
Similar Messages
-
Open Item not getting Cleared automatically
Dear Sir,
For a GL "Cenvat Clearing" , we have ticked the option "open Item Management" in FS00 .
Our business scenario is as below :
After MIGO , we do excise posting using J1IEX and here in the posted Fi document the GL "Cenvat Clearing" gets Credited . Subsequently during the MIRO this GL i.e "Cenvat Claering" gets Debited .
My problem is that when I see in FBL3n for this GL the relevant transaction still appear under the open Items . Pl guide me , as what is the reason for this entry not getting cleared automatically .
Regards
B Mittal
RegarPO number cannot be taken as sort feild hence the value is in blank always.
You need to identify some value for this feild and as a process you need to tell your users to incorporate the same at the time of doing MIRO.
Or other wise you can take out the assignment of sort key to this GL account, and as a process you can instruct your user to use reference feild and input a value. If you fell that this is a tedious process,
the Identify another feild that is common for both debit and credit line items and try to post with a common valuie using, one ABAP program which will update this feild. Mind that this feild need to be in the OB74.
reward if useful
sarma -
GR/IR Clearing a/c not getting cleared..
Dear All,
My GR/IR clearing account is not getting cleared automatically after Invoice posting..is it the standard behavior or anything
missing?
For example- GR/IR Clearing a/c is 13110100,when GRN is done it is getting credited and once invoice is posted it gets
debited so it should show cleared when we run FS10N / FBL3N
please let me know whether it is needed to clear manually?
NarenHi
F.13 is for executing the setting configured under Financial Accounting -> General Ledger Account -> Business Transactions ->Open item clearing - > Prepare Automatic clearing. In this place, the GL account needs to be updated with the relevant criteria like, what are the fields to be matched for clearing like Reference field, assignment, etc.
After that, if F.13 is executed for this GL account then it will clear based on the criteria specified above.
Hope it clarifies
Regards
Lakshmanan Krishnan -
How to get CLEAR photos on the Touch?
I love my iPod touch, but there's one thing that has always bothered my - photos sync'd through iPhoto-->iTunes are grainy and have bad color. Until now, I've been unable to prove this - but finally I've found a way to prove that it's not just in my head. So, I'm wondering if anyone knows a way to get clear photos on the Touch ... ?
First of all, after using the app "PhoneView" to download my sync'd pictures from my iPod BACK to my Mac, I've noticed that the resolutions are different for pictures, depending on whether their orientation is portrait or landscape. For portrait 4x6 images, the resolution is indeed 480x320. However, for landscape orientation, the resolution is consistently 640x426. I think it's kind of odd that iTunes would be sizing photos differently depending on their orientation ... I usually have my full-resolution pictures in iPhoto and sync those images through iTunes, but today I also tried manually resizing my pictures to 640x426 (landscape) and 480x320 (portrait) and then syncing them as a folder, rather than through iPhoto. The results were the same as doing it through iPhoto: disappointing. I've put together a sample, below:
!http://www.mavisxp.com/ipod/iTunes_compression.png!
and another example here.
As you can see, even the manually resized images are turning out horribly grainy. What's even more disappointing than the image quality, however, is the file size: my original JPG is 84KB, but the iTunes' "optimized" JPG is five times as large (456KB) with inaccurate color and awful grain to boot. I mean, it looks like someone dribbled a basketball all over a glossy print (seriously, that grain's pattern is an exact match with the grain on a basketball) ... Is it supposed to look like that?
+After examining the EXIF data for both pictures, I've noticed another oddity which explains the bad color at least - when iTunes 'optimizes' pictures for the iPod, it apparently assigns them your monitor's color profile! Was this just an oversight that has yet to be corrected? When I export my pictures from Lightroom to iPhoto, I always use the sRGB profile because it's the most standard profile to use when sharing pictures (posting online, emailing, etc) ... My iMac's color profile is a custom Spyder2Pro profile, but that profile is only accurate for THIS MONITOR - certainly not my iPod! Anyway, I've uploaded the original pictures if anyone is interested in checking them out - you can download them in a zip archive here.+
This is the second iPod I've noticed grainy pictures with, so I know it's not just defective hardware. So I guess my question is simple: does anyone know of ANY way to get clear photos sync'd with the iPod Touch or iPhone? I've poked through plists in iTunes.app and preferences, etc - but I haven't found anything. Any ideas?Thanks for the reply, Duddo.
I guess you're right, Apple probably just wanted to simplify the syncing process and make it consistent for all users. And no, most users probably won't notice that awful grain and poor color reproduction.
That said, I think it's a real shame to waste the capabilities of the iPhone/Touch like this. Wasting storage space is asinine (increasing file size 5X when 'optimizing'?!) not only due to the limited storage space available in the first place, but also due to the fact that smaller files are quicker and easier to load and manipulate. Overwriting color profiles is just sloppy coding, an oversight - hopefully one they'll soon fix. But the biggest problem for me is that the pinch/zoom functionality is USELESS because if you zoom in at all, the grain is so blatantly obvious. I found an old discussion thread on another forum which mentions this problem, according to several posters there, the grain problem was introduced AFTER the iPhone launched (meaning it can likely be corrected in a firmware update or an iTunes update) ... You can check out that discussion here, if you're interested:
http://www.everythingicafe.com/forum/iphone/not-optimize-photos-8264.html
Anyway thanks again for your reply. I'll keep my eye on this thread and if I hear anything about this issue (or a workaround) I'll be sure to post it! -
SSRS Parameters using SSAS Tabular model get cleared
I have an SSRS report that uses data from a SSAS Tabular model. In the query designer, from the calendar dimension I choose a "Date Inclusive" filter and make it a parameter. I also choose to add another filter using and Organisation Unit
dimension and also make this a parameter. The report is written and deployed to a SharePoint 2013 library.
Most of the time, the report runs as expected with the parameters cascading off each other as expected. However, occasionally, parameters get cleared (either after changing a single value such as the Org Unit selection or sometime whilst the report
is being rendered). Sometimes you cannot select a value from the available values - you need to navigate somewhere else and then start over.
I changed the data source for the parameters to use SQL queries that return the same values as the MDX queries and the probably seems to have gone (time will tell)
This report has a child (detail) report that has one extract parameter. This parameter happens to have over 1,000 values. With the change of the parent report, you are now able to get to the child report. However, the child report seems
to exhibit the same problem with the parameters being cleared - and with a much higher frequency.
So, that leaves me wondering whether
anyone else has experienced this ?
is this an issue with SSRS 2012 and SSAS Tabular models (I have not seen this behaviour before and I have been using SSRS (since version 1) and SSAS Multi-dimensional (from when it was called "OLAP Services") ?We applied SQL Server 2012 Service Pack 2 to the SharePoint farm (the SP Admin needed to re-create the service applications) and the problem is fixed
-
Assignment Field Get Cleared(blank) During Automatic Payment Run(F110)
Hi all,
We have a senario that during the creation of AP invoice, the Profit Center is entered in Assignment field ( BSEG-ZUONR) in FB01.In the invoice document the assignment field value correctly copied into Profit center (BSEG-PRCTR) based on a subsititution rule.
But during the payment document run (F110) the assignment field is get cleared (Blank).and in REGUP table, the Assignment field get populated correctly.
By displaying the payment document using transaction code FB03, the assingment fields is empty.ie field BSEG-ZUONR is empty. .
We have checked all the subsititution rules defined in the system and none of these causing the problem. We suspect there are some hidden subsititution or configurations in SAP that affect the assignment. We also checked the sort key is not the cause of it.
Have anyone encounter the same scenario why the Assignment field get cleared(blank) in Payment document. Please kindly share.
Regards
RiazHi,
I think you are trying to Run Automatic Payment Programme with Check Management and you want to Print check and payment summary.
Kindly check if you have defined SAP Scripts in FBZP Payment Method in Company Code.Select a Co Code and double click on payment method eg C-Cheque, their is a section called FORM DATA you need to input Scripts for the same so that the Payment Programme prints output as defined in the SAP Script for Checks and payment advice
Regards
Rahul -
JSF page values are getting cleared with validation errors
Using Jdev 10.1.3.4, JSF and ADF BC
I have 2 jspx pages - 1 input page(with bindings to VO) and a lookup page bound to a read-only VO.
page1: I am entering values to all the fields and then saving the form. Now if I had entered an invalid value for one of the fields and try to save - I am checking if value is valid in page1's managed bean and returning error message.
After I get this error message I clear out the invalid value and use the lookup & navigate to the 2nd page fetch a valid value and when I return to my 1st page I am loosing values for some of the fields in my 1st page. Not sure how and this is my first issue! I dont see this behavior if I use the lookup option directly(instead of entering an invalid value, clearing the value after seeing the error message and then going to the lookup page)
Next I am reentering values that I have lost and when I try to save again this time the value I had set from the lookup page is cleared and since this field is required I am getting an exception again. So, basically once there is an error for a field any new value I set gets cleared on commit and i get a required message for the field. Thanks for any clarifications/help with these strange issues.Fair enough :)
Actually what I was meaning was could I use a collection to repopulate the tabular form when I receive errors. It appears as if it may work. However, I am hitting one snag.
I have created a PL/SQL Process that runs On Submit and Before Computations/Validations. In this process, I have saving the values in the tabular form to a collection.
I was then hoping to create another process that ran after any errors occur. However, it does not appear as if any processes run when the screen redraws after a validation issue. Is there a process that runs after validations when the screen is redrawing? Will I need to do this using javascript?
Thanks -
One field gets cleared from ALV to internal table
I have an ALV grid in a view in which i append a row and add some data. This is giving me a very strange problem.
I appended a row in the ALV and then filled up the data in the row. I filled three fields, two of them dates and one a decimal field. Then i saved this data. No problems here.
Now the next time i come on this ALV grid view, i see the previously saved row. I now append another row and fill in some data again. This is where the surprise comes. Out of the two date fields, the first date field is losing its value and is getting cleared when i get the ALV data in an internal table...(using the following code)
node_et_indices_1->get_static_attributes_table( IMPORTING table = lt_indice ).
the lt_indice has the following structure...
field type
MANDT MANDT
BUKRS BUKRS
ZZINDICE ZEAGR_INDICE
ZZITEM CHAR3
ZZDESC CHAR40
ZZINVAL DATS 8
ZZFIMVAL DATS 8
ZZVATR DEC
ZZUATR DEC
ERNAM ERNAM
AEDAT AEDAT
ZCORRIG CHAR1
WAERS WAERS
out of these, the fields zzinval, zzfimval and zzvatr are being populated from webdynpro and the rest of the fields (including the key fields) are populated in the internal table later and then saved to the database.
After executing the above statement, the value in ZZINVAL is 00000000, while on the screen i have entered 01.02.2007. The same does not apply to ZZFIMVAL which holds the value 28.02.2007 as entered on the screen. ZZVATR also holds the correct value entered.
Any ideas why only one of the fields might be getting cleared like this?
The problem does not occur when i am saving only a single row from the ALV.
Please help!!
regards,
PriyankI have checked that the node itself is not containing the value.
How and what can i check for this. I have mapped the ALV in different views similarly and they are working?
Any ideas on where can i check ??
regards,
Priyank -
Vendor Account not getting Cleared.
Dear All,
First of all thanks everyone for your support till date.
I have an issue. When I am trying to clear a vendor account from F-44 its not getting cleared. Its showing a negative balance of Cash discount and is not getting adjusted with any account.
However when I am processing the open item for the same vendor in FBL1N. The total is 0.
Can any one suggest how to go ahead and clear this account.
Thanks & regards
Om Prakash guptaDear All,
Any updates on this issue as it has become a serious problem here. There ia an objection from Auditor.
Kindly Suggest.
Regards
OM -
Hi,
I posted a document in FB01.
when ever i post it
the above document is showing in Open item in FBL1N (t-code).
when& how to this document show in cleared item..?
Documet type :VI......tried VO,BM,BT
Specification:
Posting invoice PSKY : 31
Vendor : XXXXXX
towards:
GL account : XXXXXXXX
Debt PSKY : 40
can Someone help in how to clear this document...!
possible way for automatic payment will be good...
Thanks,
PraveenHi Praveen,
U have to understand the functionality of open and cleared line items. When u use posting key 31, u are posting a vendor invoice. Any invoice (or any document for that matter) when posted will have the open status.
Now that invoice will get cleared when it is actually cleared against another document (outgoing payment in ur case)
Goto F-53 and give the required inputs (amount ,vendor number , bank account etc) and process any of the open items(ie original invoice) in that vendor account. Once that payment document get posted, it clears the original invoice also. Just test it and u'll understand.
The same can be done in automatic payment also, but u need to do all the customizing in FBZP and then run the program through F110. That also clears the open vendor invoices.
Best Regards
Vimal -
Input Field not getting cleared.
Hi Fellow Abapers,
I have a peculiar problem. I have done a Module pool program as below.
PROCESS AFTER INPUT.
CHAIN.
FIELD ztrsc_histh-trptr.
MODULE user_command_0100.
ENDCHAIN.
CHAIN.
FIELD ztrsc_fibld-fidocamt.
MODULE user_fidocamt ON CHAIN-REQUEST.
ENDCHAIN.
MODULE user_command_0100.
CASE sy-ucomm.
WHEN 'NEXT'.
CLEAR ztrsc_fibld-fidocamt.
GET NEXT RECORD AND DISPLAY.
ENDCASE..
ENDMODULE.
Input FIELD ztrsc_histh-trptr is display only after Transporter Code is entered and we press "ENTER" key.
Input FIELD ztrsc_fibld-fidocamt is enabled. I enter some value "10".
i have a button as next. When the next record is shown the next record shows but although I clear FIELD ztrsc_fibld-fidocamt, in the debug mode it clears THE FIELD VALUE ztrsc_fibld-fidocamt AND THEN GETS THE NEXT RECORD AND PUTS THE CORRECT NEXT AMOUNT OF THE NEXT RECORD INTO ztrsc_fibld-fidocamt, but when it appears on the Statement FIELD ztrsc_fibld-fidocamt as per the below code.
CHAIN.
FIELD ztrsc_fibld-fidocamt.
MODULE user_fidocamt ON CHAIN-REQUEST.
ENDCHAIN.
the old value of "10" re-appears although I had cleared it in the previous Module program. What could be the reason.
Regards
Yao ChhangThanks a lot for your prompt answer. Well yes if i clear in the PBO the value gets cleared, but then i wanted to get the next records value into the value field, well the problem got solved in a much easier way i put everything into one chain endchain statement.
-
UWL items not getting cleared after performing action
Hello
We are on EP 7.0.
We are experiencing a strange behaviorin UWL.
When end users receive workitems in their inbox and they take the appropriate actions, the workitems still stay in the inbox. Normally they should no longer appear.
I have tried the refresh in the UWL iview but no luck.
It seems to work in DEV and other landscape. It does no work in Production. The software installation of UWL are the same across all landscapes.
Is there any other setting that is required. In SAP GUI this is not an issue.
Any feedback or tips would be helpful. thanks.
Regards,
SunilHi,
As far as I can remember, this is a known limitation of UWL.
Please, check this thread : UWL work item not getting cleared
I am unsure whether you use the correct button the refresh the UWL (it is well hidden!), check the slide 6 in this document :
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6&overridelayout=true
Best regards,
Guillaume -
SD Reversal not getting Cleared
Hi Experts,
When an invoice is getting posted in SD and subsequently when such invoice is cancelled, the line item is not getting cleared. In FBL5n it is showing both the line items as open for all these cases. Please advice
Thanks in AdvanceHi,
VF11 only cancell the invoice and post the reversal document in FI.
First you clear the original document and reversal document manually in FI
use T code F-32 or automatically in F.13
It is related to OB74 setting for this Cusotmer' Recon Acc
please Check the OSS notes 1259505 and Note 400000 -
SOCO requiremnts not getting cleared.
Hello Freinds,
I am working on SRM 5.0 classic scenario( with support pack 11). The requiremnts are not getting cleared although follow on docs are created for them ( PO). This is happening for only goods shopping carts and not for the limit.
Any inputs on this will be highly appriciated.
Regards
SRM USERHi Muthu ,
I have check the code , But i sisnt see any difference , Infact we didn done any change recently . It was working fine beofre support pack and still working fine in another system aftter support pack .this Badi code is same in the both systems .
you can also have look into this code.zsrm_sourcing is a custom table where we are maintaing document type and account assignment catogory for catalog items.
Thank you .
Get details of shopping cart.
CALL FUNCTION 'BBP_PD_SC_ITEM_GETDETAIL'
EXPORTING
i_guid = item_bbp_guid
IMPORTING
E_ITEM = ls_item
ET_ATTACH = lt_attach
TABLES
E_ACCOUNT = lt_account
E_PARTNER = lt_partner.
If lt_attach got any records sourcing needs to be done.
SET SOURCING parameter to 'X'.
IF lt_attach[] IS NOT INITIAL.
SOURCING = 'X'.
EXIT.
ENDIF.
If lt_partner doenst contain a fixed vendor, sourcing
needs to be carried out.
READ TABLE lt_partner TRANSPORTING NO FIELDS
WITH KEY partner_fct = c_vendor. " Fixed vendor
IF NOT sy-subrc IS INITIAL.
SOURCING = 'X'.
EXIT.
ELSE.
If there is a fixed vendor, but item is not assigned to
account assignment category, EXPENSE or INTERNAL ORDER .
Sourcing needs to be carried out for this case.
Load table with sourcing rules
SELECT * FROM zsrm_sourcing
INTO TABLE lt_sourcing.
CLEAR SOURCING.
LOOP AT lt_account ASSIGNING <fs_account>.
READ TABLE lt_sourcing TRANSPORTING NO FIELDS
WITH KEY acc_cat = <fs_account>-acc_cat
skip_sourcing = c_x.
IF sy-subrc IS NOT INITIAL.
SOURCING = 'X'.
EXIT.
ENDIF.
ENDLOOP.
ENDIF. -
Not getting cleared with internal working of JSF
Hi All,
I have started with basics of JSF and created some simple apps using netBeans.
However I am not getting cleared with the exact internal working of JSF i.e. how the things are implemented in JSF libraries: jsf-api and jsf-impl.
Please advice or share some links on this.
--SushantHi,
While creating JSP custom tags, we start from scratch by first creating tag handler class then .tld file for that and finally deploying both these files.
I am looking for a similar approach for making our own JSF component.
I don't want to put jsf-impl API into lib directory. Is it possible to make a simple component using jstl standard libraries ?
--Sushant
Maybe you are looking for
-
My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!
-
Load Multiple Images in Crystal Report using Paths
Hi Guys, I am currently in need of developing a new requirement for our company's client. We have to load multiple images using just link in Crystal Report. Let's say that the images are stored in a folder (e.g., C:\Datafolder\Images\) and i have to
-
How to use PPF customizing Auto GR after packing
Our Goods Receive Business scenario is 1. Filled Batch in EWM Inbound Delivery 2. Manual Pack product to Handling unit 3. After packing, Automatic Good Receive 4. Then create Warehouse Task automatically . Question We want to know how to u
-
Installation Failed Exit Code 20 0 fatal errors, 0 errors, 0 warnings
I'm trying to Install Creative Suite 6 Design Standard on my pc. I've tried two or three times after re-starting the computer and closing all open applications as advised by the Installer. I continue to get an "Installation Failed" window while the
-
E_PACK_DUPLICATE_SRC error
During update resource on ACS I got the error responce. <error xmlns="http://ns.adobe.com/adept" data="E_PACK_DUPLICATE_SRC http://myACSurl/packaging/Package urn:uuid:bca93e2f-1eb0-4d6d-883a-d2d91c7e16dd http://myACSurl/media/bca93e2f-1eb0-4d6d-883a-