How to reference field make active for manual entry
Hi all
I want to insert reference in a reference field of header of billing document which has to be seen in accounting documrnt.
can any one help me how to remove gray reference or an assignment field in header of sales billing document .
Hi,
This can be configured in the below mentioned t code:
VTFL - Delivery to Billing
VTFA - Order to billing
VTFF - Billing to billing
You can specify any of the following as reference
A Purchase order number
B Sales order number
C Delivery number
D External delivery number
E Current billing document number
F External delivery no. if available, otherwise delivery no.
For this you have to maintain the Reference field in the above T Codes... At Header Level of the copy control.
Hope this will help you to resolve your issue.
Regards,
KrishnaO
Similar Messages
-
How does the field ABGRU-Reason for Rejection get populated in routines
Hi All,
How does the field ABGRU-Reason for Rejection get populated in routines(VOFM)?
BELNR,KPOSN,etc...fields are populated through KOMK and KOMP structures, similar way what structure is used for ABGRU?
by the time the control from VA01 comes to routine the values of VBAK and VBAP are cleared, so these structures like KOMP and KOMK are used.
Thanks in advance.You need to add rejection reason field ABGRU as a new field to pricing field catalog (KOMG structure) through APPEND structure KOMPAZ. KOMG inherits new fields from KOMKAZ (for header level fields) or KOMPAZ (for item level fields) structures and it is not directly modified but through KOMKAZ and KOMPAZ structures
Since VBAP-ABGRU can vary from item to item, add it to item pricing communication structure KOMPAZ in SE11. Once KOMPAZ is added with new ABGRU field and activated it will automatically appear in pricing field catalog (KOMG)
Afterwards the ABGRU field will then start to appear in the field catalog where you can create condition table (V/03) including the ABGRU as a field. Once done the rest is assigning the condition table to access sequence which is in turn assigned to the relevant condition type that you want to price based on partner function (all under IMG -> SD -> Basic functions -> Pricing -> Pricing control)
In the pricing user exit userexit_pricing_prepare_tkomp in include MV45AFZZ, you will need a few lines of coding to fetch VBAP-ABGRU for the item and pass it to tkomp-abrug field. This will then be used by system to read the new condition table that you created.
tkomp-abgru= xvbap-abgru
So if you populate special pricing based on ABGRU (with possibly other conditions) in the condition table then that condition record will be read for the corresponding condition type.
You would of course need a developer to modify KOMPAZ structure and code the user exit for moving the rejection reason to tkomp
That is in short how you can achieve this -
Reference field and table for AUFK for F4 help in alv.
Hi All,
I need to put F4 help on ALV for order no (AUFK) what is the reference field and table for that?
i tried giving field as aufk and table as ccss but its not working.
ls_fcat-ref_field = 'AUFNR'.
ls_fcat-ref_table = 'CCSS'.
Thanks & Regards,
Ruchi TiwariHi,
Try this.
Set the f4 help for the field in the fieldcatalog
ls_fcat-f4availabl = 'X'.
1. Create a event of ONF4 for the alv grid.
2. Set the event handler.
3. Append the field for the F4 help in the internal table and call the below method
CALL METHOD g_mprn->register_f4_for_fields
EXPORTING
it_f4 = i_f4.
4. create a class definition and implementation
refer sample pgms (BCALV_F4, BCALV_GRID_EDIT_DELTA and BCALV_GRID_EDIT)
Hope this may be helpful.
Regards,
Sharin. -
Amend Structure with error, Reference field VBAP-KZWI1 for ZSMINI44_D4-PO_A
Hi,
i try to amend a structure but there is such an error that the Reference field VBAP-KZWI1 for ZSMINI44_D4-PO_AMT has incorrect type...
but the data elements are the same.
Please kindly advice.Dear Sally,
Please use VBAP-WAERK as your Reference Field instead od VBAP-KZWI1 for your structure field ZSMINI44_D4-PO_AMT.
Hope this resolves your problem.
Encourage others to answer your queries by suitably rewarding them
Thanks
Venugopal -
Defining the Fields for Manual Entries in Conditions Type
Dear Team,
I want to define new fields in the Option Manual Entries in Condition Type eg PR00 . Can you tell me the Setting where do we define those settings and where are they control.
Thanks,
PrashantHi
The option provided for Manual Conditios are Hard Coded by the SAP, and you can not add any new option. If you want to check, pl. check the value range of Domain KMANU, where it is maintained.
What is your requirement? May be you can fulfill your requirement by some other mean, like USER EXIT.
Regards
AA -
How does Reference Field work?
Hi All,
I have short of problem knowing how reference field works. I have one field in ABAP query: MBEW-STPRS. The field type is CURR and it have reference field T001-WAERS.
In query I made, the currency isn't occurs although I have set it to be display. I try to look how this reference field works in any source but can't find any answer. May be some of you can give me a little explanation.
Thank you so much
Regards
HadiHi,
Reference fields work in the following way,
When you say quantity is 100, what it refers to - 100 pc, 100 bundles or 100 kg or 100 metres??? The unit of qty defines whether it is PC, KG, M etc...
In the database, SAP stores all amount values with 2 decimal places. But when SAP reads it, it interprets it based on the currency associated with the amount field.
We require reference fields to Currency/Quantity fields as they are meaningless with out having the units.
Ex: If we say, i paid 100. How can we figure out if he had paid 100 paise or 100 rupees.
So, units are must.
In case of quantity field QUAN, reference field will be always of type UNIT,
currency field CURR, reference field will be always of type CUKY.
It is mandatory to specify reference fields when we create fields of quantity/currency type in data base tables.
Hope this will clear you.
Thanks & Regards,
Pavan. -
Override the storage section check for manual entries
Hi All,
I am facing a issue on Storage section search.While creating To system is giving correct Storage section according t the settings but if I would like to change the storage section to different storage section system is not giving any error message.It is giving only warning message check your enteries.
So I would like know is there is config settings to avoid another storage section selcetion which are not assignned storage search indicator.
I have checked in help.sap.com .I following information .
To set up the strategy for storage sections, see the section on activating storage section searches under Strategies in the Warehouse Management IMG documentation.
If storage section checking is active for the storage type, then the system searches in the storage type only for those empty storage bins in storage sections that have been allowed for the material being put away. When you are creating a transfer order and manually enter a storage bin, then the system checks whether the bin is in a storage section that is allowed for the material.
*You can also make an entry in customizing that permits you to override the section check for manual entries.*_
Can please advice me inorder activate the config for override the section check for manual entries or any warning message.
Thanks & regards,
SrikanthHI,
Thanks for your reply.
I want Error message.
Regards,
Srikanth P -
We are facing problem in BCS activity for Break Entries of Accounts
Hi All,
We are facing problem in BCS activity for Break Entries of Accounts.
We are using 0FI_GL_6 Datasource which do not have Transaction Type field in it.
After Extracting data from the datasource (0FI_GL_6), we get GL Account Closing balances for the period, but we require the transaction types for Assets related accounts for the BCS activity.
Currently We upload the Asstes Data through External Flat files in BI.
Can we have these data comming direcltly form R/3 with the Transaction type Field.
We are on R/3 SAP ECC 6.0 support patch 15 and on BI we are on BI 7.0 with support Patch SAPKW70020 and SEM-BW SAPKGS6014 , BI_CONT - 0012
Can we use GLT3 table, if yes please suggest the steps to Fill the data in this table. Or is there any other table and way.
Thanks in advance,
Nilesh LabdeIs the conversion factor is same for BT UOM qty to CS is same ?.It seems BT is sales unit and the picking unit for the item is CS.If the conversion is same warehouse pick correct qty.Therte should not be an issue.
What is the UOM in delivery ?.Is it BT or CS.I think it is CS right ?.If you want to see sales unit is cs then you need to change the material master. -
Creating custom fields for manual entry and fields that gather data from Active Directory
So I am no SQL developer but I am being asked to do this.. I've spent the last few days researching but cannot find anything related to my particular situation.
I have made a copy of the following report to add or modify a few columns:
Hardware 01A - Summary of computers in a specific collection
So I have 2 questions:
How do I create a field that will search the "Managed By" tab in the Computer Properties window in Active Directory.
How do I create a field that can be manually updated for example: "Date Deployed" or "Deployed By: Analyst"
I understand I need edit this in SQL report builder and think I know how to create the columns. I believe all I am really asking is.. What are the SQL statements I need to write in order to get this to work?
I'm sure it's not as cut and dry as I hope it to be so I will be standing by to try to answer any further information that you will want to know.
thanks!Before you can accomplish this you need:
"Managed by" -attribute has to be added to your Active Directory System Discovery, more on this here: http://technet.microsoft.com/en-us/library/bb693618.aspx
For "Date Deployed", I'd use a custom Tattoo script in your task sequence to "Tattoo" the installation info in the registry, after that I'd configure the Hardware Inventory to pick that from the registry, more on this here: http://ccmexec.com/2012/08/script-to-tattoo-the-client-registry-during-osd/
and here: http://www.petervanderwoude.nl/post/reporting-about-the-all-the-different-os-deployment-versions-with-configmgr-2012/
After those prerequisites, you can start working with SQL reports. More info here: http://myitforum.com/myitforumwp/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/ -
How to define the default activity for an unbounded task flow?
In the new "Fusion Developer’s Guide for Oracle Application Development Framework 11g Release 1" documentation at the bottom of page 14-3 it states "An unbounded task flow .... contains a default activity, an activity designated as the first to run in the unbounded task flow, because an unbounded task flow does not have a single point of entry."
What I can't find is how to define the default activity in an unbounded task flow and where this is recorded? Can we set this via the task flow diagrammer, and which configuration file is it stored?
I note the first time I run the application with an unbounded task flow a dialog asks me which of the activities in the adfc-config.xml file to make the default, but I can't find where this is recorded.
Anybody have any ideas?
Thanks,
CM.Chris,
In fact this information is nothing that belongs into the taskflow meta data because unbounded taskflow have more than one entry point and there is no notion of default. Its a tools setting (JDeveloper) we had before
Frank
Message was edited by:
Frank Nimphius -
How to reference session state in a list entry label
You can use &<item>. to reference session state values which can then be used in titles and item labels but it seems it does not work in the label for a list entry (i.e. to build a menu). Is there a workaround?
thanks in advance
PaulPOK I just realized that referencing session state doesn't work for lists used by Enkitec's NavBar plugin solution. It does reference the &<ITEM>. correctly for normal APEX lists. Anyone know how to reference session state when using Enkitec's NavBar plugin solution?
PaulP -
Why should we select all key fields when using for all entries
Hi,
Why should we select all key fields in our select query when using for all entries statement?
I read about for all entries but this point was not clear in any post.
Please explain me
Regards,
SubhashiniDear Subhasini,
It is because FOR ALL ENTRIES deletes the duplicate entries before populating the target internal table.
Please do an F1 on FOR ALL ENTRIES & read the SAP documentation.
I mean how duplicate entries will not get deleted when we use this?
Quite simple, if you select all key fields then each entry will be unique & there will not be any duplicate entries to delete !!
BR,
Suhas
Edited by: Suhas Saha on Oct 16, 2009 9:41 AM -
How to open the file writer for next entry after stream is close?
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
public class TryOut {
public static void main(String args[]) throws IOException{
int inputQuestionnAireNum = 0;
int inputPostCode = 0;
int inputGender = 0;
int inputAge = 0;
int x=0;
Scanner input = new Scanner(System.in);
FileWriter fwrite = new FileWriter("tryout.txt", true);
BufferedWriter out = new BufferedWriter(fwrite);
boolean invalidNum = false;
do{
System.out.print("1 new entry or 0 print");
x = Integer.parseInt(input.nextLine());
if(x == 1)
//Questionnaire Number
System.out.print("Enter Questionnaire Number [ ] ");
inputQuestionnAireNum = Integer.parseInt(input.nextLine());
out.write("NumBER OF Q: "+inputQuestionnAireNum+", ");
//Postal code
System.out.print("Enter Postal Code [ ] ");
inputPostCode = Integer.parseInt(input.nextLine());
out.write("PostCode: "+inputPostCode+", ");
//Age
System.out.print("Enter Age [ ] ");
inputAge = Integer.parseInt(input.nextLine());
out.write("Age: "+inputAge+", ");
//Gender
System.out.print("Enter Gender '1' for Male and '2' for for female [ ] ");
inputGender = Integer.parseInt(input.nextLine());
out.write("Gender: "+inputGender+", \n");
out.close();
} while(x != 0);
Result:
1 new entry or 0 print1
Enter Questionnaire Number [ ] 2
Enter Postal Code [ ] 1
Enter Age [ ] 3
Enter Gender '1' for Male and '2' for for female [ ] 4
1 new entry or 0 print1
Enter Questionnaire Number [ ] 2
Exception in thread "main" java.io.IOException: Stream closed
at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:98)
at java.io.BufferedWriter.write(BufferedWriter.java:203)
at java.io.Writer.write(Writer.java:126)
at TryOut.main(TryOut.java:31)
Hi, how can i open the file writer stream again for next entry after it is has been closed? if i do not close(); all my entry will not be recorded to the text file. how can i solve this ?
Edited by: metaroot on Feb 18, 2008 6:39 PMThe short answer to your question: use out=new BufferedWriter(fwrite) inside the do loop as well.The only difference that would make would be to make the problem worse. It is poor practice. Stream stacks should be constructed once for the life of the stream.
What he needs to do is close his stream outside the loop, possibly calling flush() where he presently has close().
The more relevant answer is: Why are you not wrapping the user-friendly PrintWriter class, wrapping it around the BufferedWriter?Possibly because he doesn't like the fact that PrintWriter swallows exceptions? which makes it less user-friendly IMO.
The println and print methods are very useful, and do not need closing between loop iterations.Neither does anything else.
By the way,you say that without a close() the BufferedWriter doesn't output to the file.I don't know: I never used/tried it.Even if it doesn't, it will surely output after you come out of the loop.If you don't want to use a PrintWriter, why don't you investigate this?Posting guesses here isn' t really much help, especially about something you've never used. A BufferedWriter has a buffer and it doesn't write anything until the buffer is full, you flush it, or your close it. -
HOW TO PRINT THE MATTER IN FOR ALL ENTRIES
HI HOW T PRINT THE FOR ALL ENTRIES MATTER
Hi Naresh,
You can only use FOR ALL ENTRIES IN ...WHERE ...in a SELECT statement.
SELECT ... FOR ALL ENTRIES IN itab WHERE cond returns the union of the solution sets of all SELECT statements that would result if you wrote a separate statement for each line of the internal table replacing the symbol itab-f with the corresponding value of component f in the WHERE condition.Duplicates are discarded from the result set. If the internal table itab does not contain any entries, the system treats the statement as though there were no WHERE cond condition, and selects all records (in the current client).
For example:
SELECT * FROM sflight INTO wa_sflight
FOR ALL ENTRIES IN ftab
WHERE CARRID = ftab-carrid AND
CONNID = ftab-connid AND
fldate = '20010228'.
This condition, return all entries of the sflight.
When using FOR ALL ENTRIES the number of matching records is restricted to the number of records in the internal table. If the number of records in the database tables is too large then join would cause overheads in performance. Additionally a JOIN bypasses the table buffering.
Thanks,
Reward If Helpful. -
Using field-symbols with FOR ALL ENTRIES IN ...
Hi all of you,
Is it possible to use field symbol by the FOR ALL THE ENTRIES IN itab.
Normally, isn't possible.
So my problem is that I'm having duplicate code.
I've something like this.
IF ap_objcl EQ omaterial.
SELECT objectid
INTO TABLE i_cdpos
FROM cdpos
FOR ALL ENTRIES IN otf_materials
WHERE objectclas = ap_objcl AND
tabname = otf_materials-tablename AND
fname = otf_materials-fieldname.
ELSEIF ap_objcl EQ otf_documents...
And I'm looking to use otf_materials and otf_documents
So, instead to duplicate the code, I'm looking for a way to restrain the code by using maybe field symbols.
Ideal :
FIELD-SYMBOLS : <otf_mats_docs> LIKE OTF_TABLE.
IF ap_objcl EQ omaterial
ASSIGN local copy of otf_materials TO <otf_mats_docs> CASTING.
ELSEIF ap_objcl EQ odocuments
ASSIGN local copy of otf_documents TO <otf_mats_docs> CASTING.
ENDIF.
SELECT objectid
INTO TABLE i_cdpos
FROM cdpos
FOR ALL ENTRIES IN <otf_mats_docs>
WHERE objectclas = ap_objcl AND
tabname = <otf_mats_docs>-tablename AND
fname = <otf_mats_docs>-fieldname.
IF ap_objcl EQ omaterials.
*Do nothing
ELSEIF ap_objcl EQ odocuments.
*Do something with the date in otf_documents.
ENDIF.
Regards,
KaisHi,
Ok, using forms is great things to deal with it.
But, may be it'll slow down the program and I need a really rapid program.
I tried using form.
The problem by pushing the FOR ALL ENTRIES IN <structure>
didn't works.
It tells me that the structure that I pushed via "using" is not an internal table.
The same structure work find in the global program.
What should I do ?.
The structure is given by as a parameters in Function Module.
FORM data_search
USING
object_cl TYPE j_objnr
table_data LIKE ****structure****
CHANGING
global_lst TYPE ANY TABLE.
DATA : BEGIN OF otf_list OCCURS 0,
objectid TYPE cdpos-objectid,
END OF otf_list.
DATA : ii_cdpos LIKE TABLE OF otf_list WITH HEADER LINE.
IF table_data IS NOT INITIAL.
SELECT objectid
INTO TABLE ii_cdpos
FROM cdpos
FOR ALL ENTRIES IN table_data
WHERE objectclas = object_cl AND
tabname = table_data-tablename AND
fname = table_data-fieldname.
ELSE.
SELECT objectid
INTO TABLE i_cdpos
FROM cdpos
WHERE objectclas = ap_objcl.
ENDIF.
SELECT DISTINCT objectid
INTO TABLE global_lst
FROM cdhdr
FOR ALL ENTRIES IN ii_cdpos
WHERE ( ( udate GT from_date AND udate LT to_date ) OR
( udate EQ from_date AND udate NE to_date AND utime GE from_time ) OR
* ( udate NE from_date AND udate EQ to_date AND utime LE to_time ) OR
* ( udate EQ from_date AND udate EQ to_date AND utime GE from_time AND utime LE to_time )
( udate EQ to_date AND (
udate NE from_date OR
utime GE from_time
AND utime LE to_time )
) AND
objectclas = ap_objcl AND
objectid = ii_cdpos-objectid.
ENDFORM.
Maybe you are looking for
-
Hello all, I've been writing a set of libraries for a CRUD application, whereby you specify the table and column names in a model class and it will handle the Ajax stuff for you. All well and good. I have validation functions that use the signature:
-
Where is the storageroot on mobiles?
Hello I`ve written an application (midlet) that loads data from CSV file, converts, etc. The problem is, that i don`t know where this file should exist. I`ve noticed that in KToolBar it should be placed in classes directory, but i have no idea where
-
Just got a mini iPad 2-4-14 will i be able to get numbers and keynotes on mac for free
just got a mini ipad on the 10-4-2014 which has numbers and keynotes apps on it will i be able to get on mac
-
Can 'element names' be created ?
Guruz, its related to inventory -> item ->master item--> (special menu)->catalog->"'element name" In this scenario, I have found 1 interface "mtl_desc_elem_val_interface" and couple of APIs to import/update "element values". [from meta-link] But i co
-
Transferring music from OS X iPod to Windows XP
Hi all, I received an iPod nano, and a MacBook Pro for Christmas. I can't figure out how to transfer my music from the OSX formatted ipod to my computer at work, which is Windows XP. Everytime I try something it says "You need to format the drive bef