Field Status of BSEG-XREF3 - Regarding allowing input
Hello guys,
Recently I was able to activate BSEG-XREF3 from suppressed to optional (depending on the G/L Acct). However, during the document change mode (FB02), the field could not be edited.
Is there a way to change this status so that a field (specifically XREF3) can be edited in the document change mode?
Thank you all and good day.
Hi
U have to check if that field is a modifible fields:
Trx SPRO:
Financial Accounting->Financial Accounting Global Settings->Document->Line Items->Document Change rules, item.
Here check if there's that field, if there isn't you have to insert for a certain (or all) accounting type (vendore, customer or G/L)
Max
Similar Messages
-
Field status as mandatory while creation of RE-FX Lease Out Contract
Hi SAP Real Estate Friends,
I have a requirement wherein we need to make the field status of some specific fields as mandatory for data input in RE-FX Lease Out Contract. The fields are mentioned below:
1. Profit Centre in Organizational Assignment Term.
2. Payment Terms in Postings Term.
3. Account Determination Value in Postings Term.
4. Resubmission Rule needs to be mandatorily selected by the user creating the RE-FX lease Out Contract.
5. Fixtures and Fittings Characteristics needs to be mandatorily selected by the user creating the RE-FX Rental Object.
Also we need to achieve a requirement that in case a posting has already been carried out for a given RE-FX Contract for a given Account Determination Value, same shall not be available for change in the RE-FX Contract subsequently.
Plz write back with your valuable inputs.
Thanx in advance
PankajHello,
You can set the field status from this path:
RECACUST > Contract > Dialog > Screen Layout > Field Groups > Field Status per Contract Type
Regards,
Suvarghya. -
Field Status for Vendor Line item or Customer line item
Hi
Can i need to check the Field status for Vendor or Customer Line item when i use the transaction codes F-43 or F-22. This is very urgent.
RegardsHi Vinay,
You cannot check the Field Status directly when posting a document. The Field Status is controlled by the Field Status group. This is controlled at 3 levels, the company code level, G/L Master level and at the Posting key level. Field status at the posting key level overwrites other groups. It is basically to control which fiedls need to be supressed, which are required and which are optional.
In FS00 under the create/bank/interest tab you will find the field group. Check the Recon account assigned to your vendor/customer master and check the field status in FS00.
Regards
Sridhar -
How to see fields BSEG-XREF1, BSEG-XREF2 and BSEG-XREF3 in FB60
Hi,
We need to make visible fields BSEG-XREF1, BSEG-XREF2 and BSEG-XREF3 in transaction FB60 for data entry.
Please advise .
Regards,
SaeedDear Saeed,
First Make Field Status group this fields mandatory or Optional.
Then after entering all the data in fb60 screen goto to environment and then press Complex Posting.
Then double click on the line Expense line item and press more data.
There you will find this fields for entry. -
Field or table alias is not allowed as an input of table functions
Hi,
I am trying to invoke a user defined table function through a SQL snippet like below.
SELECT (SELECT * FROM PKG_ORG_ORG_HAS_CHILDREN(org_id)) has_child
from PA_ORG_OWNER
where stud_id = 'np1';
But for some reason it will not accept column name as an IN parameter
Could not execute 'SELECT (SELECT * FROM PKG_ORG_ORG_HAS_CHILDREN(org_id)) has_child from PA_ORG_OWNER os where ...' in 2 ms 451 µs .
SAP DBTech JDBC: [7] (at 47): feature not supported: field or table alias is not allowed as an input of table functions: line 1 col 48 (at pos 47)
In general our product has a LOT of small Oracle PL/SQL functions that are invoked from SQL within application code. This is a huge bottleneck while migrating to HANA. Any best practice anyone can recommend for this issue?
-Thanks
nphanaHi nphana,
Instead of using single function, you can create another function and Invoke the function and can use IN parameter.
Here is the example:
CREATE FUNCTION RAJ.MY_FUNC (I_VKORG NVARCHAR (4), I_VTWEG NVARCHAR (2),
I_SPART NVARCHAR (2), I_PARVW NVARCHAR (2), I_PARZA NVARCHAR (3) )
RETURNS TABLE (KUNNR NVARCHAR (10))
LANGUAGE SQLSCRIPT AS
BEGIN
RETURN
SELECT "ECC2HANA"."KNVP".KUNNR FROM "ECC2HANA"."KNVP"
WHERE "ECC2HANA"."KNVP".VKORG = :I_VKORG
AND "ECC2HANA"."KNVP".VTWEG = :I_VTWEG
AND "ECC2HANA"."KNVP".SPART = :I_SPART
AND "ECC2HANA"."KNVP".PARVW = :I_PARVW
AND "ECC2HANA"."KNVP".PARZA = :I_PARZA
END
SELECT * FROM RAJ.MY_FUNC('7500','10','00','AG','000');
Result is shown below:
Now I created another function so that I can use the result set of above function which is used as criteria for some other table.
I not used any input parameter for second function but can be used if required.
CREATE FUNCTION RAJ.FUNC_MY_FUNC ( )
RETURNS TABLE (NAME1 NVARCHAR (35))
LANGUAGE SQLSCRIPT AS
BEGIN
RETURN
SELECT "ECC2HANA"."KNA1".NAME1 FROM "ECC2HANA"."KNA1"
WHERE "ECC2HANA"."KNA1".KUNNR IN (SELECT * FROM RAJ.MY_FUNC('7500','10','00','AG','000'));
END;
Result is shown below:
Similarly you can do for your requirement.
Regards
Raj -
FIELD BSEG-XREF3 - how to show it in transaction KSB1
Is it possible to see the field BSEG-XREF3 (reference field 3) in the transaction KSB1?
Thanks and regards, RinoHi
Yes it is possible...
Add the desired fields XREF1, 2 3 to the structure CI_RKPOS
Attached below is the sample code to be written in include ZXKAEPU01 of EXIT_SAPLKAEP_001
I used it to fetch XREF1 and 2
SELECT SINGLE vbel2 xref1 xref2 FROM bseg
INTO (cs_record-vbel2, cs_record-xref1, cs_record-xref2)
WHERE bukrs = cs_record-refbk
AND belnr = cs_record-refbn
AND gjahr = cs_record-refgj
AND buzei = cs_record-refbz.
In your case, I guess, the code will be (I am not an expert @ ABAP.. Forgive me for any miss-ups)
SELECT SINGLE vbel2 xref3 FROM bseg
INTO (cs_record-vbel2, cs_record-xref3)
WHERE bukrs = cs_record-refbk
AND belnr = cs_record-refbn
AND gjahr = cs_record-refgj
AND buzei = cs_record-refbz.
Regards
Ajay M -
Urgent-- User Exit- FB01. Changing field BSEG-XREF3
Hi,
I need a user exit for FB01. I need to give vendor name in field BSEG-XREF3.
Please specify exact user exit for this purpose as I already have list of exits being used by FB01.
Points will be awarded for best answers.
Regards,
Navinhi
use this steps to find all the exits of fb01
Finding the user-exits of a SAP transaction code
Enter the transaction code in which you are looking for the user-exit
and it will list you the list of user-exits in the transaction code.
Also a drill down is possible which will help you to branch to SMOD.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen. -
Custom fields in Field status variant and Posting keys
Hi,
We have defined some custom fields in BSEG table for which we wish to control the field status through Field status groups and Posting keys as well.
Has some one addressed this requirement before? Please provide me some inputs on this.
Regards,
SwapnilHello Chakardhar,
Since the same fields for document entry are required for several G/L accounts, you define the status of fields for a group of G/L accounts.
You create the definition under a field status group. Enter the key of the group in the master record of the G/L account. Field status groups are cross-company code, that is, they do not depend on the company code but on the field status variant. In the standard system, a separate variant for field status groups exists for each company code. The name of the variant is the same as the company code. Every company code is assigned to the variant with the same name. You can work in several company codes with identical field status groups as long as these company codes are assigned to the same field status variants. You define the field status for each individual posting key.
Hope I ahd been able to hep you out. Please assign points and let me know if you need anything specific.
Rgds
Manish -
Custome Fields in Field status groups
Hi,
We have defined some custom fields in BSEG table for which we wish to control the field status through Field status groups and Posting keys as well.
Has some one addressed this requirement before? Please provide me some inputs on this.
Regards,
SwapnilPlease check the your custom fields are added in Coding Block or not. Then these field must appear in the Addition Assignment section of the field status group.
Regards,
Gaurav -
Field Status in Document Posting
Hi All,
I need to make the Assignment field (BSEG-ZUONR) in the Details tab when posting a Customer (FB70) or Vendor (FB60) invoice a required field.
I'll appreciate your directives in getting this done.
Thank youDear YA,
You could create a transaction variant in SHD0.
http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
In the SAP Reference IMG, you can create transaction variants. Choose Basis Components -> Application Personalization -> Tailoring of Application Transactions -> Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.
To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).
Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).
To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.
or
In IMG under
Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Outgoing Payments Global Settings -> Carry Out and Check Document Settings -> Define Field Status Variant
Assign the same to Company Code.
Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Incoming Payments -> Incoming Payments Global Settings -> Carry Out and Check Document Settings -> Define Field Status Variant
Assign the same to Company Code.
Regards,
Naveen. -
Posting Key Field Status changes - unable to generate Transport request
Dear All,
I did posting key field status change from suppress to optional ( P.Key 24).
However I am unable to generate a transport request.
Please share your inputs
Thanks
SanjaiHiii sanjai Babu... your client would have set automatic recording of changes in scc4... or the request would be created and yo woulnt have left the page after saving soo it might have been saved... hope it helps...
Regards
Abhay -
Hi All,
I just want to understand the concept of field status group assigned to a G/L account and if it has any impact on business transaction.
We have defined a g/l account as an expense account but we would like to change the field status group of this account to that of a material account.
Any input would be helpful.
Thanks,
MeghnaHi Meghana,
The field status group determines which fields are ready for input, which are required entry fields, and which are hidden during document entry.
If you want to change Field status group of a Particular General Ledger account pl compare both the field status group for Field ready for Input, Required & optional fields & make necessary changes as per requirement so that there will not be error during transaction entry.
Regards,
Sunil somani -
Hi,
For a particular GL account which has Fields Status Group assigned for mandatory Business Area, the Business Area field is not available for input. This happened after a particular date. I did not detect any changes to the FSG. BA field has become 'Display' for this account in FB60. In MIRO the same account is picking up BA automatically.
Any clue what could have affected this?
Thanks
MuruHI,
you said "...when I post to the same GL a/c using some other transaction, the field status is 'Required'." Check the posting keys in the accounting document and there field status in OB41. Compare this with the field status in the posting key where business area is only to be displayed.
Best regards, Christian -
Document entry - header fields status?? control of posting/document date.
Hi all,
I have a question regarding document date and posting date fields. I wonder if it is possible to make these fields display only and of course make the field document date obtain a value from the posting date field, which by default is the todays date. I want to do this since I have to somehow limit the users in certain cases to be allowed inputing a future date when posting a document.
Thanks for the help!
D.Hi
The best solution for this is to define validation in OB28.
In prerequisite:
Company Code = 'XXXX' AND Posting Date > Current Date OR
Posting Date < Current Date
In Check:
User Name = 'XXXXXXX'
In Message text:
you cant post in dates other than current date.
Assign points if useful
Regards
Aravind -
Hi,
We got one error message while processing one inbound idoc with IDOC_INPUT_ORDERS function module and the idoc status is 51
status message 'Field RV45A-VBAP_SELKZ(1) is not an input field'.
We have tried to reprocess the same idoc through BD87 but we got the same message.
We have created one more idoc with same input data, it went successfully
Could any one please tell us why this idoc is raising this error message, what is the root cause
Please help us in resolving this issue
Thanks in advance.
RajuWhich version dou you have, there was an old OSS [Note 457605 - SD EDI: 00 347, Field RV45A-VBAP_SELKZ (1) is no input field|https://service.sap.com/sap/support/notes/457605] (january 2002) and [Note 511508 - SD EDI ORDERS: returns fail with satus 51 when several item|https://service.sap.com/sap/support/notes/511508] (april 2002)
Regards,
Raymond
Maybe you are looking for
-
External Hard Drive changed permissions to 'read only'
I have been searching everywhere for a solution to this with no luck, so I figured I would start my own post and see what comes of it. Computer: iMac Intel 24" /3.0ghz/4gb ram/1TB WD hard drive External Drive giving me issues: Western Digital 1.5TB (
-
Email bursting - body format in HTML
Hi, I am using standalone version of BI Publisher 10.1.3.4.1. How does one send the body of the email as html instead of text? Referring to the body of the email not the report. thanks, Greg
-
Drop Down List not working correctly
Hi I have created one 'DropDown' List box with static entry list. When i am selecting the entries nothing is happening. I want to pass the selected value, how to do that? Regards Sandeep
-
Hi, I'm having a problem with displaying a file name in Lithuanian language. Request name is in lithuanian, and it is displayed correctly, but, when I'm trying to save file, the characters are messed up. The problem occurs only when I'm using IE, Chr
-
ACR vs Aperture for Raw Processing
I have been using Lightroom for over a year (including beta versions on my old PC), but have grown tired of it's lack of worthwhile output options. I have a trial version of Aperture and think that it is a far superior product on the management and o