Dynamic Node reset/clear
Hi All,
I have generated the context node dynamically and need to reset the node conditionally. I have other nodes apart from dynamically created node in my context. All these nodes have data when I create my dynamic node. On certain condition, I regenerate this node and want the data in the other nodes to exist. Is there a way to clear the dynamic node only?
I tried the following without success:
wdContext.nodeDynamicNode().getContext().reset(false);
IWDNodeInfo node = wdContext.getContext().getRootNode().getNodeInfo().getChild("DynamicNode");
wdContext.nodeDynamicNode().bind(wdContext.nodeDynamicNode().createDynamicNodeElement());
The "DynamicNode" is declared at the design time to which the node elements are added at the runtime. I just want to clear the nodes added before I regenerate the new ones.
Any tips?
Thanks in advance.
Regards,
Hemanth
hi......
As far as I know......
U can not reset the 1 particular node... if u try whole dynamically created context will be deleted......
try invalidate() function.......
jaya
Similar Messages
-
Hi Experts,
I am creating Dynamic nodes from Model's Node, each time I execute in the application a function module, the Dynamic nodes must be realeased from session and created again and then the application must also create the user interface elements dynamically as well, from those dynamic nodes. The problem is: When I come back to the initial view and navigates to the report's view, I mean, when there is a new execution of the function's module, The application throws the following error:
com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(EdoCtaDetView): duplicate name for child node Nodo0
Can I somehow eliminate the instances of the nodes in order to create new dynamic nodes in each execution of the function's module?
Regards,
BrigerHi Briger,
Well it's very easy... only you have to put in your source code the following lines, after you invalidate all the elements of your context:
IWDContext ctx = wdContext.getContext();
ctx.reset(false);
There is two kind of reset method. the reset() reset all the metadata and destroy dynamics node. reset(false), reset all metadata destroy dynamics node but keeps the nodes build at design time.
Regards,
MC -
Reading XML file into Dynamic Node and Display its output as Table.
Hi All,
Following is the output of XML file:
<Company>
<Employee>
<Name>John</Name>
<Age>23</Age>
<***>Male</***>
<Location>Frankfurt</Location>
</Employee>
<Employee>
<Name>Tina</Name>
<Age>21</Age>
<***>Female</***>
<Location>Boston</Location>
</Employee>
<Department>
<Name>Sales</Name>
<HQ>Chicago</HQ>
<Emplyoees>2300</Employees>
</Department>
I'm able to read the output through DOM parser. But How do I convert this into dynamic node and display this in Web dynpro as Table?
Any pointers in this regard will be great help?
Thanks
SrikantHi Maksim,
I've used your example and its now helping as there is kind of agreement on that I'll be knowing the structure of Xml and I can fill the nodes.
But suppose if you have Xml has following structure :
<?xml version="1.0" encoding="utf-8"?><DATA>
<item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">CONTRACT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
<item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">CREDIT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
<item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">EMPRESS</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
<item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">PAYMENT</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
<item><MAILERID TYPE="C" SIZE="000030">21</MAILERID><ORG_CODE TYPE="C" SIZE="000004">1232</ORG_CODE><EVENTID TYPE="C" SIZE="000015">PRICE</EVENTID><SUBSCR_VALUE TYPE="C" SIZE="000001">0</SUBSCR_VALUE></item>
</DATA>
How we will do in this case?
Can we have something similar using DOM? Also what is the best method for displaying data being sent in form of XML. And generalize it for cases like this.
Thanks
Srikant -
Problem with Dynamic Node & UI Elements
Hi,
The scenario is to create an Questioaire.Since the number questions which I get from R/3 may vary, I have created the Dynamic Node which is mapped with Dynamic set of Radio button Group by index for options & Dynamic text view for displaying Questions.. A New Dynamic Node will be created for each set of Questions .The Number of questions displayed per page is controlled by the Static Counter Variable....
Now the issue is ,if i click back button the count will be initialized so again it needs to trigger the DoModifyView(). at that time It is arising an exception "Duplicate ID for view & Radio button ..." because while creating Dynamic node i used to have "i" value along the Creation of node name...
for(i=Count;i<i<wdContext.nodeQuestions().size();i++)
customnod=<b>nodeinfo.getChild("Questionaire"+i);</b>
if(customnod==null)
Its not possible to create a new node whenever i click the Back button.
At the same time i am not able to fetch the elements which had already created Dynamically...
How do i make the Next & back button work?
If anyone bring me the solution It would be more helpful to me.
Thanks in advance..
Regards,
MalarHi,
We can Loop through the Node Elements but how can we do Option Button Creation for each set of question Options?. At design time we can not have the radio buttons,because we do not know how many set of questions are available at the Backend. -
Dear Gurus,
Please clear my doubt i am new isu environment.when i am going to reset cleared items i am confusing below options .
I hve to amounts in one Doucment No.,now i want to reset only one partical payment from same documents no.
Tab: Setting for scope of resetting
1.Not yet sepcified
2.Hole clearing
3.parts of clearing
Tab:Setting for posting clearing Amount:
1.Not yet specified
2.create a new open item
3.Retain distribution to accounts
4.Clearing amount to clarification account
abash
FICAHi Abash
Select the option "parts of clearing" and "retain distribution to accounts". Click on Save and then you will be given the option for which part of the document you want to perform reset-clear. Select that line item and then save.
thanks
Debashish -
Reset cleared item in inactive fiscal year using FBRA
I want to Reset cleared item document in 2006, but now Im in active fiscal year 2008 using T-code FBRA. The error message show Reversal in different fiscal year is not allowed Message no. AA 487
Does any body could help to let me know the configuration to open it?Hi,
When we maintain GL accounts/sub ledgers with open item management, we clear docuemnts when the debit and the credit match. This clearing also creates a clearing document. Clearing documents cannot be reversed using F.08. For reversing clearing we need to first reset the documents as open items and then reverse it.
For example I have an invoice no 1234. This invoice will remain open till i receive a payment. When I receive a payment a new document is created (no. 5678) when i enter the receipt and this document also becomes the clearing document. Now due to some error, when we have to reverse this payment document, we use FBRA. When we use this, the system will first reset the documents 1234 and 5678 as open items and then reverse the document 5678.
hope this helps.
thanks and regards,
anit -
hello,
what is the difference between reset cleared itmes and reset & reverse cleared items in fbra , please let me know.When items are open-item managed and you have mistakenly cleared an item, this transaction can be used to reset these cleared items. If in the process of clearing the item a document was created, this document should most probably also be reversed. FBRA allows you to complete both these functions in one transaction codes. An example is if you run the payment program F110 and you have created the payment medium, but have not yet printed checks (that would be a different t-code), and you realized that some items are either missing or should not be on the check. You will need to reset the documents DR and reverse the document DZ.
Good Luck,
Kevin -
Error Rounding Difference too high when reset cleared document using FBRA
My Client has posted cleared document with T_Code F-51. This cleared document has cleared 6040 open items.
And now, they want to reset and reverse that cleared document.
We found error "Rounding difference too high" when we are reset cleared document using FBRA.
Kindly need your advice.
Many thanks in advance.
Regards,Hello,
Please let me know the ERROR number.
Regards,
Ravi -
Reset Cleared Doc - Balance of the line item is not zero" Message no. F5136
I have this error : Balance of the line item is not zero" Message no. F5136
This error arise when we tried to reset cleared document dated June 6,2007 during data migration from Legacy system to SAP.
We wanted to reset this cleared document because it was wrong executed (cleared) way back 2007.
The entries are:
Debit to GL (B/S) --> 3,758.48
Credit (1100039-Vendor) with special GL (408319) --> 3,758.48
=====================================================
For us to correct the clearing, we need to reset first the cleared document via FBRA, however, this error arise saying "Balance of the line item is not zero" with Message no. F5136.
I read several posted issue here, however, it doesn't resolve my problem.
Hoping to hear from your inputs on this problem.
Regards,
macalongeDear:
SAP Note 400530 - FBRA - F5136: Balance of line items not zero
describes your issue as
Summary
Symptom
A payment using a payment card fails, in other words, the payment is reversed using Transaction FBRC where the customer or vendor item is reopened.It is not possible to reset a payment document posted again for the open customer or vendor item by using Transaction FBRA, "Reset Cleared Items" and it responds with the error message "Balance of the line items is not zero".
Other terms
Error message F5136, FBRA, FBRC, payment cards
Solution
A solution is available in the Support Package for Release 4.0B and 4.6C. An advance correction is possible. The solution consists of a repair report, so that the current payment document can be reset by means of 'Reset Cleared Items', and of a correction.
1. Repair-report ZREPAIR_BSEGC_FBRA:Create it temporarily as a test report using Transaction SE38. First the current payment/clearing document must be cleaned up of payment card data by means of the repair-report. Afterwards you can reset the payment document by means of 'Reset Cleared Items'. The report takes the current payment document as a parameter. In this case only changes are made to the database if the option "DO_UPD" is set.
2. Advance correction:Supplement the interface for function module CREDIT_CARD_POST_REFUSAL with table parameter T_BSEG with reference type BSEG. The following describes the procedure in more detail.
a) Transaction SE37: Enter function module CREDIT_CARD_POST_REFUSAL and choose "Change".
b) On the "Tables" tab page, create parameter T_BSEG with reference to structure BSEG.
c) Save and activate the function module.
3. After you implemented the correction or the R/3 Support Packages valid for this note, read Note 450081 to avoid the unwanted deletion of payment card data.
Hope it will help
Regards -
Exit or Badi to block document after Reset Cleared Items in FF.5
Hi,
When you run FF.5 and some rejected documents are returned by the bank, I have to block the document after reset cleared items with a especific payment block key.
Anyone already done something similar?
Tks!Hi Rao,
<b>Userexits</b>
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
<b>Business Add-in</b>
DELIVERY_ADDR_SAP Address Change in Delivery Processing
DELIVERY_PUBLISH Announcement of delivery data during database update
Reward pts if found usefull
Regards
Sathish -
A automatic reset cleared items
Hi, the customer had executing for error with the f.13.
i need to reset clearing items for many FI documents. I know there s a t-code fbra but it can use just one document.
Is possible or exactly, is there s the Sap standard report can be massive reset cleared items many documents?
Than you for the attention.
Kind regards.There is no mass reset functionality, but you can use LSMW or eCATT to record FBRA with the help of tec team(Abaper)
Reset Cleared Items Massively
Srinivas -
Hello ,
i am trying to reset clearing items of a document and when i run fbra transaction the system appear it warning:
"""System lock error: Inform system administrator"""
And that´s it. anymore
Any idea or help??? PLEASE HELP!!!!
Thank you
Edited by: junior1108 on Jan 22, 2010 1:56 PMThe document has 745 lines. Could be when i use FBRA it will generate a document bigger than before.
The problem is that the message of error is that:
System lock error: Inform system administrator.
LOCK TABLE OVERFLOW.
And it is full message.
Many thanx for reply.
Edited by: junior1108 on Jan 22, 2010 2:18 PM -
Reset Cleared Items - for huge number of line items
Hi Everyone,
Is there any way where we could reset cleared items for one clearing document (cleared close to 19000 line items) aside from FBRA? Perhaps another program which can be executed in the background? We are timing out due to the sheer volume of data.
Are there any other options that we can explore?
Thanks and regards,
JoeyHi Tony,
Unfortunately, it is not an executable program in background when we do SE38. Since it has no selection screens, we cannot setup a variant as well. In FBRA, you are only allowed to hit save as soon as you confirm that you want the clearing reset. It is during this time when we hit the time out.
We have thought of this as well but asking the basis team to extend the time out session would probably be hard to get due to stringent approvals needed.
Thanks for your advise.
Regards,
Joey -
Reverse a reset clear document
Hello ,
When I am trying to reverse a reset-cleared document, it is throwing the following error :-
"Document xxxxxx cannot be reversed due to clearing resets".
I followed the foll steps.
1.There was an invoice of 100$.
2.Incoming payment of 100$-.
3.Reset cleared the payment by choosing the option "whole clearing" and "create a new open item".
4.A new open credit item is created.
5.Now i need to reverse this new open credit item. It throws the above message.
Please help.
Thanks in advance
DebashishHi
The below link may provide you some help.
error while resetting a cleared document
Thanks
kamala -
In which case we use FBRA (Reset Cleared Item)
Hi,
Hello experts i am very confused about this transaction can any budy please make me cleare that In which case we use FBRA (Reset Cleared Item).
Quick reply will be really very helpfull .
Thanks In advance.Hi,
When we maintain GL accounts/sub ledgers with open item management, we clear docuemnts when the debit and the credit match. This clearing also creates a clearing document. Clearing documents cannot be reversed using F.08. For reversing clearing we need to first reset the documents as open items and then reverse it.
For example I have an invoice no 1234. This invoice will remain open till i receive a payment. When I receive a payment a new document is created (no. 5678) when i enter the receipt and this document also becomes the clearing document. Now due to some error, when we have to reverse this payment document, we use FBRA. When we use this, the system will first reset the documents 1234 and 5678 as open items and then reverse the document 5678.
hope this helps.
thanks and regards,
anit
Maybe you are looking for
-
Auto-Reaction E-mail is not working:
HI Basis gurus, I am setting up a fresh configuration with Solution Manager. Central system is solution manager 4.0. Auto-Reaction E-mail is not working: I have set Z_ccms_Onalert_email with the following parameter Parameter name Parameter value SEND
-
Enabling Windows Server 2008 R2 Built-In Administrator Account
The properties box for my Windows Server 2008 R2 built-in administrator program says the account is disabled. Even the primary user account has virtually no priveliges. How can I, with a mere primary user account available at logon, enable the buil
-
Disable/Remove tool bar and menus?
Can I disable or remove the toolbar and menus from Reader? If one of my customers opens a file then uses a toolbar or menu item, Reader crashes. Customer is using Solaris 11. This was not broken when using Solaris 10. Using v9.x.
-
How to open Doc-to-go file stored in SD card without handset
Posted in the wrong area - the Treo 650 is a PalmOS device, not webOS. I am a Volunteer here, not employed by HP. You too can become an HP Expert! Details HERE! If my post has helped you, click the Kudos Thumbs up! If it solved your issue, Click the
-
Art work in album flow mode stutters before displaying. Not enough RAM?
I love the addition of the full-screen Album Art flow mode (sorry for not knowing precisely what it's called). Problem is, you can only scroll through 10-15 albums before it starts to lag behind. What would cause this, and I can improve it? I've set