Validation: How to maintain the entry in GB02C
HI FI GURUS n EXPERTS,
My requirement is that - We want to restrict Negative posting for some GL i.e. For some GL balance should not be Zero.
When I have made the search on SDN, I found it can be done with the help of Validation: OB28 & GGB0.
Currently we are not using any validation. When we use T-Code GGB0 --> Financial Accounting --> Line Item --> New Validation
System shows a pop-up window to select Boolean Class & Message ID.
I also found that this information is maintained in Table GB02C.
When I use Se16 to see the detail of the table GB02C, I found there is only one entry Bool. Class: FP1 & Message ID 7F.
But I don't know How to maintain the entry in table GB02C & What is the T-Code for it. which message ID I have to create.
Please help.
DSC
Dear Alex,
When I use: GGB0 --> Financial Accounting --> Line Item --> New Validation
System shows a pop-up window to select Boolean Class & Message Class, I select the Message Class 9 and for Message Class Press F4 and select any message class. System gives an error message: Message ID must start with 'Z' Message no. GB116.
Basically, My question is that: Which T-Code we have to use to maintain Boolean Class & Message Class.
With thanks,
DSC
Similar Messages
-
How to maintain the entries using table maintanance??
Hi,
I have created a Ztable. and I have created table maintanance generator, then attached the table to a
Tcode. but I am unable to maintain the entries in table maintanance??
Can anyone help me out
Regards
DeviHi this will help u.
Hi,
Go to SE11 enter table name ->change
Utilities-> Table Maintenance Generator
delete the Table maintenance by pressing delete button on menu,
then start creating it again.
Enter Auth.Group as &NC&
Enter function group < some name>
Maintenance Type -> One step
Overview screen -> some Number (1 or 2)
Press create
enter dev class and save, activate.
Go to SM 30 and check again.
Reward if useful
Regards,
Hema Sundara. -
How to restrict the entries of a database table based on the user name
Hi All,
I have created a Database Table. Table maintenance generator is generated for the table.
UNAME(user name) is one of the fields in the table. whenever the user creates a new entry, the field UNAME will be populated automatically with SY-UNAME value. I have used Table event '05' to do this.
My requirement is...
When a user tries to maintain the entries of the table using SM30, when 'DISPLAY' is chosen, all the records of the table should be displayed.
When 'MAINTAIN' is chosen, only those records which have UNAME = SY-UNAME(User Logged in) should be in EDIT mode. and rest all the records should be in DISPLAY mode(greyed out). It should allow to edit only those records which are created by the user logged in.
Could you please tell me how to do this..? Thanks in advance.
Thanks & Regards,
Paddu.HI,
In table main. gen there are number of events , try to select one event like 05 for the Sy-uname.
For the requirement:
In that event write the code like
this is basic idea not the code:
Case ' Sy-ucomm'.
when 'display'. " button
Nomally for the display button it will show all the records, but we need to write a code like this.
select all records frm the table.
( Need to write the code in case if the user first maintained the data then again press the display , list has to be refreshed.)
when ' Maintain'. " button.
Fetch the records that are with SY-UNAME and find out the edit function and implement it on each and every record.
endcase.
Thanks and Regards,
Bharani. -
How to maintain the data in the view cluster
we are doing upgrade, we have one view cluster app_log in this object scwb
and subobjects is swtlo1,02,03 like i have some subobjects in 4.6c we transported the view cluster to ecc6.0 in ecc 6.0 i have object scwb but subobjects doesn't exist how to maintain the subobjects in view cluster.Definition
A view cluster is a group of maintenance dialogs which are collected in one maintenance unit for business or technical reasons. They allow related data in more than one table/view to be maintained consistently.
Use
Whereas only 1:1 relationships can be processed in maintenance views (except for language-dependent texts), key extensions and relationships of cardinality N:M can also be handled in view clusters. Maintenance dialogs with no key, or partial key-dependence, can also be combined into view clusters.
Grouping dialogs into one maintenance unit has the following advantages for data maintenance:
Navigation: A view cluster contains convenient standard navigation between the individual maintenance dialogs. This simplifies the maintenance of the data in a view cluster.
Consistency: The view cluster ensures data consistency when deleting, copying, saving, retrieving and manually transporting data. For example when an entry in a higher-level view is deleted, , it automatically ensures that all dependent entries in lower-level views are also deleted.
You can first split tables with a lot of fields into various views and then collect them into a view cluster.
Use tabs to format very wide tables with a lot of fields.
Structure
Navigation in a view cluster is usually based on the hierarchy of the tables/views on which the dialogs are based. A view cluster usually consists of one or more root dialogs and the at most 14 maintenance dialogs which depend on them. A view at a lower level has one or more additional fields in its key compared its higher-level view. Each data record at the higher level has several dependent data records below it.
Each maintenance dialog is an independent unit consisting of an overview screen or an overview and a detail screen, depending on the dialog type. As well as the data to be maintained, the overview screen contains a navigation area, in which you can go to higher or lower level maintenance dialogs.
One-level maintenance dialogs only contain one screen, the list screen, in which all existing data records are displayed in a table. In a two-level maintenance dialog, double-clicking on a data record in the list screen takes you to the detail screen, which displays all the fields in the selected data record.
Generate a maintenance dialog for each view before you call the cluster maintenance (SM34). When you generate the maintenance dialog, flag the key fields which are identical in the view and its higher-level in the cluster, with the maintenance attribute S. The system fills the key fields when you go from the upper to the lower level, with the values of the data record selected in the upper level. Go to the transaction SE54 to define a view cluster.
<b>Rewards point if useful.......</b>
regards....
Abhaysingh. -
How to move the entries of table BNKAIN between systems
Hi,
Is there any way to export the entries of table BNKAIN from one SAP system (development) to another manually? This is the table which is not transported via a transport...even in development system the "transport entries" option is not active. IN SM30 the maintenance view is not created.
Can you advice how to move the entries somehow manually?
Thanks for any assistance!
br,SlawekHi, thanks for reply.
In fact I checked the table BNKA and the entries there are not helpful for me in the target system.
We are using there some user exit which is using the table BNKAIN and the following entries are there:
Client Bank Country Bank Key Internal bank
790 CA IHC6 1
790 DE IHC1 1
790 FI IHC 1
790 FR IHC3 1
790 GB IHC4 1
790 US IHC5 1
I checked the properties of that table in SE11 and it is maintainable only with restrictions..thus I need to ask some other basis expert which will help me to inlcude those entries into a transport.
Anyway thansk for your hints!
Bye -
Error - Maintain the entry CAMGB VCNYR in V_T7PIQSWITHCVAL - Campus mgt
While saving student record (Transaction : PIQST00) system throws an error message "Maintain the entry CAMGB VCNYR in V_T7PIQSWITHCVAL " though I am not doing/have not done any GB(Great Britain) specific configuration. Can any one throw light on why its happening and how to correct this.
Regards,
Krishna MohanHi,
Pl check the country of university in students basic settings. the setting by default here is 'GB' ..... let me know if you could resolve this.
Warm Regards,
Sravan V -
How to get the entries in a jar/zip file contained within a jar/zip file?
If I want to list the jar/zip entries in a jar/zip file contained within a jar/zip file how can I do that?
In order to get to the entry enumeration I need a Zip/JarFile:
ZipFile zip = new ZipFile("C:/java_dev/Java_dl/java_jdk_commander_v36d.zip");
// Process the zip file. Close it when the block is exited.
try {
// Loop through the zip entries and print the name of each one.
for (Enumeration list =zip.entries(); list.hasMoreElements(); ) {
ZipEntry entry = (ZipEntry) list.nextElement();
System.out.println(entry.getName());
finally {
zip.close();
Zip file "java_jdk_commander_v36d.zip" contains two zip entries:
1) UsersGuide.zip
2) JDKcommander.exe
How to list the entries in "jar:file:/C:/java_dev/Java_dl/java_jdk_commander_v36d.zip!/UsersGuide.zip"?
The following code:
URL url = new URL("jar:file:/C:/java_dev/Java_dl/java_jdk_commander_v36d.zip!/UsersGuide.zip");
JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
zipFile = (ZipFile)jarConnection.getJarFile();
would point to "jar:file:/C:/java_dev/Java_dl/java_jdk_commander_v36d.zip", which is no help at all and Class JarURLConnection does not have an enumeration method.
How can I do this?
Thanks.
AndreI'm not sure I understand the problem. The difference between a zip and jar file is the manifest file; JarFile is extended from ZipFile and is able to read the manifest, other than that they are the same. Your code
for (Enumeration list =zip.entries(); list.hasMoreElements(); ) {
ZipEntry entry = (ZipEntry) list.nextElement();
System.out.println(entry.getName());
}is close to what I've use for a jar, below. Why not use the same approach? I don't understand what you're trying to do by using JarURLConnection - it's usually used to read the jar contents.
String jarName = "";
JarFile jar = null;
try
jar = new JarFile(jarName);
catch (IOException ex)
System.out.println("Unable to open jarfile" + jarName);
ex.printStackTrace();
for ( Enumeration en = jar.entries() ; en.hasMoreElements() ;)
System.out.println(en.nextElement());
} -
How to add the entries and how to delete the entries from custom Z-table?
Hi Experts,
My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
Here how to add the entries from program to Z-table.???
And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
Could you please guide me the logic how to crack this???
Let me know if you need more Info
Thanks
SanjuHi Sanjana,
What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
*Insert Statement
INSERT dbtab
Syntax
INSERT { {INTO target VALUES source }
| { target FROM source } }.
Effect
The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
System Fields
The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
sy-subrc Meaning
0 At least one row was inserted.
4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
The INSERT statement sets sy-dbcnt to the number of rows inserted.
Note
The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
*Modify Statement
MODIFY dbtab
Syntax
MODIFY target FROM source.
Effect
The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
System fields
The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
sy-subrc Meaning
0 At least one line is inserted or changed.
4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
The MODIFY statement sets sy-dbcnt to the number of processed lines.
Note
The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
Hope it helps...
P.S. Please award points if it helps... -
How to maintain the material master data in plant
Hi all,
while creating BOM I am getting an error "no material master data in plant' can some one help me how to maintain the material master data in plant
Regards,
BaluCheck the material available in MARC table in SE11 transaction against your plant.If it is not available please maintain through MM01 transaction.
-
How to maintained the Text language for CKF keyfigure
Dear All,
Please let me know how to maintained the text language for CKF I am using only keyfigures in CKF.
Issue is text is not showing in Spain language when user exeuted the report (longin Spain) for CKF keyfigures .
As per report design there are formuals and direct keyfigures and CKF has defined and we keep it under in Row struture in the report.
After exeuted the report (Login Spain)Text has converted in all languages along with spain except for CKF keyfigures.
Issue in text CKF's:
There is a main CKF (Cost) under this again we defined two sub CKF's those are total cost and average cost. We able to see the text in Spain language for Main CKF(cost) and also cheked in RSZELTTXT(Texts of reporting component elements) for the same.
We can able to see the text in all languages for main CKF(cost) and enteries are there in RSZELTTXT table.
We can see only the text in english for total cost and average cost and also enteris are there only in EN in RSZELTTXT table.
It would help to me if any one can answer my question.
Thanks in advance .
Regards,
MQU can fetch the texts for the items using
Read_text.
Example:
g_f_tdname = xvttp-vbeln.
g_f_obj = p_obj.
g_f_langu = 'DE'.
REFRESH g_t_lines.
CLEAR g_t_lines.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = p_var
language = g_f_langu
name = g_f_tdname
object = g_f_obj
TABLES
lines = g_t_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The Required fields are,
Text-id ,language,name,object.
Let me know if you further require help.
Regards -
How to restrict the entry of same material twice on the order
HI,
How to restrict the entry of same material twice on the order before saving the Order ?
I do not want my users to enter the same material as two different line items in the order.
Any inputs wud b appreciatedHi Vam,
For this you need to take the help of an ABAPer . Ask him to modify the user exit and add the logic.
For user exit please go through the below link it will help you to resolve your issue.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
Regards,
Krishna O
Edited by: Krishna O on Jun 3, 2010 12:29 PM -
How to Maintain the Pricing Condition Records in CRM
Hi
I am new to the CRM
How to maintain the pricing condition records in crm for the particular condition type?
as we do in SD(VK11)
ThanksHi Binu,
First of all, you could maintain pricing conditions in the following places:
1. In General Condition Maintenance (GCM)
2. At the product maintenance level
3. At the 'Price agreement' tab of Contracts
4. As manual conditions during order processing at item level
Now, if you want to maintain conditions using GCM, you first have to maintain a condition maintenance group in the customizing where in you can assign condition table and condition type for different counter values. I am assuming that you have done this activity successfully.
When you run the transaction '/SAPCND/GCM', for application 'CRM', your condition maintenance group name and context 'GCM', you will be initially taken to a screen where in you'll have an item area which would be blank and then condition fields would be displayed in a tree on the left.
Here, select the field 'Condition type' and click on icon 'Select records'. You would get a dialog prompting you to enter condition type. Here you can specifiy the condition type for which you want to maintain/view condition records.
If no condition records are available, item area would be left blank. Here, you can choose a condition type using the standard F4 help. Depending on condition types that are assigned to condition maintenance group, different condition types would be displayed in the F4-help using which you can maintain condition records.
Hope this helps.
Regards,
Pavithra
**PS: Please reward points if this helps. -
How to maintain the vendor details in sap pi ?
HI All,
Here i am working with B2B scenario , can you help me how to maintain the vendor details and client details in parties,'
here i have 49 vendors.
control records are changing according to the vendor s .
Plz help me ......Can u help me how to maintain the link between the pi and ecc for identifiers
Would like to know what your scenario is. Identifier would be required to be maintained in the Party (created in SAP PI) when the scenario is Inbound.
It is actually the Partner Number for the Partner Profile created in we20 of the sAP ECC system. (you may have to store it as KU or LI) in SAP system.
Regards,
Abhishek. -
How to get the entry point in the ActiveX/COM adaptor
below is the description of the Demo of using the ActiveX/COM to call new seq .
API Demo
1. Manually add a Message Popup step to the MainSequence of a
new sequence file. Save the sequence file as launch.seq.
2. Create another sequence file and save the file as caller.seq.
3. In the MainSequence of the caller.seq file, add Action steps
using the ActiveX/COM Adapter to call into the TestStand API and
launch the launch.seq file in a new execution.You might need the
following two methods to complete this step.
. Engine.GetSequenceFileEx
. Engine.NewExecution
so the question as follows:
1.i call the method of get sequencefileEx
2. call the method of getmodlesequenceFile
3.call the method of evalEntryPointNameExpression
4.call the method of NewExecution.
but at the step of 3. i haven't get the entry point.
so how to solve this issue? thanks
Attachments:
QQ图片20140115200924.jpg 58 KB
QQ图片20140115201708.jpg 100 KBThis is a duplicate post of this:
http://forums.ni.com/t5/NI-TestStand/How-to-get-the-entry-point-in-the-ActiveX-COM-adaptor/m-p/27005... -
How to maintain the contact person in Business Partner ?
Hi Experts,
Could you help to resolving the below Requirement.
__ +Requirement:+__
How to maintain the contact person in Business Partner ?
How to get the Contact person in Is-Media Documents?
Thanks& Regards
VenkatDear Venkat,
In SD Customer Master data, we can maintain Contact Person in General Data tab page.
For my knowledge, we can not find u201CContact Personu201D field in ISM Business Partner u2013 General Data. Correct me if I am wrong.
Mostly user enters the contact person details in u201CSearch Term 1/ 2 fieldu201D in Address tab page in ISM Business Partner u2013 General Data tab page. While creating ISM Billing Document for this Business Partner, system prints this contact person details in ISM Invoices.
(Or)
While creating ISM Order, user can maintain Contact Person name in Header Details(Click on u201CGo to >Header>Details>Purchase Order Data>Cont.Person)
If you maintain Contact Person name in Header Details also, system print this contact person details in ISM Invoices.
Check from your end.
Best Regards,
Chandramohan
Maybe you are looking for
-
Can I watch movies without wifi on my iPod touch.
Why can't I watch movies on my iPod touch?
-
ERROR with PORTAL Installation 10.1.0.2 on XP
include "C:\product\10.1.2\OracleAS\infra\Apache\Apache\conf\mod_oc4j.conf" include "C:\product\10.1.2\OracleAS\infra\Apache\Apache\conf\dms.conf" LoadModule rewrite_module modules/ApacheModuleRewrite.dll include "C:\product\10.1.2\OracleAS\infra\Apa
-
Language Selection Option - Pages 5.
Hello! I am not to convinced about the Language Selection Options on new Pages 5. I do translations and work with different laguages simultaneously. With Pages '09 I had no problem with language. Pages 5 does not automatically detects language, ho
-
How does apple know what the fault is with my iphone?
How does apple know what the fault is with my iphone when sending it to them on apple care. My sleep/ wake button seems to be stuck so I sent in for a repair on the website and they sent me a apple care box and said send it back but I Carnt remember
-
Media encoder didn't export my yellow background from AE in black
I have a composition in After Effects CC with a background color yellow. If I make a rendering in AE with AVI format, all is ok but the file is very heavy. But if I use Media Encoder CC and I export in any format, my yellow background become black !!