Validation for GL 23876 to to post only for KG doc type
hi all
i want to write a validation for a GL 238760 this must only be posted only in KG document type it must not post in other doc type like KR nd KZ
i want to write a validation for this.
in the GGB0 screen which message type shall i select and what steps shall i use for this.
please let me know the validation for this function.
Kind regards
Hi:
Please go to GGB0...Create a validation in financial accounting at line item level by selecting line item and create a step. It will open 3 further drop down for you. Select the 1st one and proceed as follows
Prerequisites:
BKPF-BLART = 'KG' (here you can make it transaction code specific as well)
Check:
BKPF-HKONT = '23876'
(you can give set of GL account by creating it in GS01 and specifying it here)
Message:
Assign an error message to it with category E.
Please check this will work .
Regards
Similar Messages
-
How to set posting block in BIlling Doc type configuration
Hi All,
Can anybody tell me, How to set posting block in BIlling Doc type configuration.I need to do this to seperate billing creation from from FI/CO posting in my company.
We right now run have the batch jobs which run VF06 & VFX3.
Appreciate any input or suggestions.
Regards,
VinayHi
If you want to check the Manual posting blocks you can configure them through FI/CO. Once you have configured the blocks with reasons it will automatically block for the payments.
goto SPRO-> Financial accounting->Account receivable & Payable ->Business Transactions-> Out going Payments-> Manual outgoing Payments-> Check payment block reason.
Cheers -
Release procedure is applyaing for all doc types
Hi all
I have configured release procedure for PO only for 2 document types, i have used EKKO-BSART structure name.and in values i have given only 2 document types, but the release applying for all document types of PO, plz help how to set to apply only that 2 doc types...
thanks
ramesh Reddy'Hi,
Is there any other Char defined other then documents type.
For PO release with document type use CEKKO-BSART and then check the same.
Just change the field in Char and also reenter the char in the class.
Then reenter the class in the config and save and then try to simulate the release in ME21N with prefered documents types.
It will work. -
BOM not exploding for CR doc. type while creating sales order.
Hi Experts,
I have a problem in BOM. When created the BOM with sales doc. type OR, then BOM exploding as usual and picking pricing for main item.. But when I tried for sales doc. type CR, then the BOM is not being exploding and also pricing is also not picking. Can any one help me for this problem.
Thanks in advance,
Raksha.Hi,
Go to VTAF billing to sales document copy control and check below settings:
Header:
Data Transfer -052 Billing doc header
Data Transfer Buis - 103 Billing bus header data
Data Transfer Part - Billing Header Partner
Copying requirements - 021 Billing Header
Check Copy item number
Uncheck complete reference
Item:
Item Cat proposal G2N Request
Item TAN - Standard item
Data Transfer -153 item from Billing doc
Data Transfer Buis - 104 Billing bus Item data
Data Transfer Part - 004 Billing Item Partner
bl.pl - Leave it blank
Copying requirements - 303 Billing Header
uncheck copy schedule lines and do not copy batch
check update document flow
Pricing type - D
Leave blank - Campaign Deter.
Points to add: If you create without reference to an invoice then it would not explode BOM in RE return order because the configuration not set in REN item category.
As a standard business process return orders always create with reference to invoice.
regards
rc gopi -
Restrict GOS attachments in IW32 for specific doc type
My requirement is we would like to restrict the Services for object
attachments for specific doc type in IW32 transaction.
Can blocking be made on doc type level?
In this case jpg, bmp, and gif should be allowed, but blocking dwg, doc, xls, pdf etc.
Didn't find any option in SGOS transaction or SGOSATTR table.
Any suggestions are welcome..PARAMETERS: p_key TYPE swo_typeid OBLIGATORY,
p_type TYPE swo_objtyp OBLIGATORY,
p_file TYPE c LENGTH 100 OBLIGATORY,
p_desc TYPE so_obj_des OBLIGATORY.
data wa_kan1 type kna1.
DATA: ls_fol_id TYPE soodk,
ls_obj_id TYPE soodk,
ls_obj_data TYPE sood1,
ls_folmem_k TYPE sofmk,
ls_note TYPE borident,
ls_object TYPE borident,
lv_ep_note TYPE borident-objkey,
lv_offset TYPE i.
DATA: it_objhead TYPE STANDARD TABLE OF soli,
it_content LIKE STANDARD TABLE OF soli,
wa_content LIKE soli.
ls_object-objkey = p_key.
ls_object-objtype = p_type.
**if objtype = kna1 then
HERE I CHEK CUSTOMER NO U PUT YOUR OBJ ID AND USING SELECT QUERY U CAN CHECK DOC.TYPE
select *from kna1 into wa_kna1
where kunnr = p_key
if sy-subrc <> 0.
exit.
endif.
TRY.
OPEN DATASET p_file FOR INPUT IN BINARY MODE.
WHILE sy-subrc = 0.
READ DATASET p_file INTO wa_content.
APPEND wa_content TO it_content.
ENDWHILE.
CLOSE DATASET p_file.
CATCH cx_sy_file_access_error.
MESSAGE 'Error reading file' TYPE 'E'.
ENDTRY.
CALL FUNCTION 'SO_CONVERT_CONTENTS_BIN'
EXPORTING
it_contents_bin = it_content[]
IMPORTING
et_contents_bin = it_content[].
Edited by: kk.adhvaryu on Mar 9, 2010 10:54 AM -
Error in attribute changes for a doc., type
Hii experts,
I'm trying to change the attributes for a doc., type DF and while i'm saving i'm getting an error
Doc., type AN: number range is used for ledger Z1 withdoc., type Z1
Doc., type EU: number range is used for ledger Z1 withdoc., type Z1
Doc., type EX: number range is used for ledger Z1 withdoc., type Z1
Doc., type KN: number range is used for ledger Z1 withdoc., type Z1
Doc., type ML: number range is used for ledger Z1 withdoc., type Z1
Doc., type NT: number range is used for ledger Z1 withdoc., type Z1
Doc., type RA: number range is used for ledger Z1 withdoc., type Z1
Can you please tell me what to do. I appreciate your help and points will be givenHi,
Is this happening for all the types of Transactions like Sales, Service, etc.? Is that data that you are using is proper? And can you check if the countries are properly maintained in the system? Check if the country is a mandatory parameter or some country specific checks are executed in the system.
You can check for the countries in the System from transaction code - SPRO -> SAP NetWeaver -> General Settings -> Set Countries -> Specify Countries for mySAP Systems.
Hope this will help.
Thanks,
Samantak. -
Restrict User for Particular Doc Types and GL Account
Dear Experts,
I want to restrict few users with Doc type JV and Posting to GL Account 1 - 1000
I created a set for Username fo be restricted and i have written a Validation for Line Item saying
Prerequiste
BKPF-BLART = 'JV' AND BKPF-USNAM IN T_DOC_USERS
Check
BSEG-HKONT >= '1' and BSEG-HKONT >= '1000'
Mesaage
User Resticted for Doc Type JV and GL Account
Can someone please advice on priority
Thanks in Advance !!!!
Regards
RahulHI
1.You can restrict the user to document types by authorization settings Transaction Code PFCG
Note : This will not hide entries in a drop down list.
2.You can restrict the user to view the General Ledger reports like FBL3n,FBL1N like wise
Hope this will help you -
Reference feild required for KR doc type
Hello,
I am trying to figure out a way to make the reference field required while parking a vendor invoice in FV60 .
I have made the field check for reference for doc type KR, but it does not come s required while parking the oHi,
The only place to do this in OBA7. There is a field check box under the section Required during document entry called Reference number.
You check that and save for the doucment type in question, the check should get activated.
If you have already done that, then it should work.
Double check. If it still does not work. You should be looking for some notes.
Cheers.. -
CProjects - DMS integration:26 036 You are not authorized for with doc.type
Hi Experts,
I need to use cProjects integration with DMS. When I try to create a link to an existing document I find the following error:
26 036 You are not authorized for with document type DRW
My user has authorization to the doc type in the DMS system (linked by RFC to cProjects system). I also have defined the object link in the document type.
Do you know which configuration may be missing?
Thanks in advance!
NeilHi Niel,
How is the RFC connection established between DMS and cProjects system? Do check the authorizations of the RFC user through which the connection is established.
Regards,
Vivek Pandey -
Plant Not permitted for selected Doc Type
I have created new plant and assigned to existing Purchase organization. i am able to create PR but while creating Purchase order i am getting error
Plant Not permitted for selected Doc Typewhat is the error message number? double click the message to obtain.
I have not seen any assignment of doucment types to plants, nor a message like mentioned. -
Customisation for PO Release (different Values for different Doc Types)
Dear Experts,
I need to configure for PO release procedure where in the Characteristics would be Plant (2 Plants), Doc Type (3 types - Standard PO, Imports PO & Capital PO) and Value (2 stage release: 0-100000 & >100000 INR for Std PO, 0-200000 & >200000 INR for Imports PO and 0-300000 & >300000 INR for Capital PO).
Please let me know where I shoud define the different Values for different Docs for the Release procedure to work properly.
Or let me know the entire procedure for achieving the same.
Regards,
MNPHi MNP,
You have to create different CLASSes in IMG with the possible combination of different characteristics,
EX. CLASS EKKO11 - Plant A, Doc type- Std PO, Value- 0-100000 & >100000 INR
CLASS EKKO22- Plant A, Doc type- Import PO, Value- 0-200000 & >200000 INR
CLASS EKKO33- Plant A, Doc type- Capital PO, Value- 0-300000 & >300000 INR and same for other plant
then assign these classes to the respective Release group.
regards,
Pravin -
Default Excel File for Particular Doc type
Hello Everyone,
Your intervention is required in one of my requirement where i need to attach one Excel file as a default file ( in specific doc type ) with some format. How can i achieve the same.
Pls provide ur inputs.
Regards
GauravHi Gaurav,
Have you done the configuration in the workstation application for Microsoft Excel formats?
You can even do 'INPLACE' for change mode also. Either way it will work.
And moreover you need to right click on the original and select 'Edit' to make changes.
Regards,
Ravi -
Seperate no range for same doc type in 2 co codes
Hi,
I have created two company codes 1000 & 2000.
Under 1000 I've EOU plant 1111 & under 2000 I've domestic plant 2222.
Now, I've created PO document types. I've assigned no range to them.
But I want to use the same document type for both the plants but with different range(say 1100..00 for plant 1111 & 220000..00).
Is it possible?
Last option is to create seperate doc type for each plant, but I don't want to do that.
Guide me on this.
Thanks & Regards,
PiyushFor the same document type for two different company code you can create two different number range.
IN Spro-mm-Purchasing Purchase order document type -- enter the number range for the document type
Eg
Company code Doctype number range
AAA NB 1000-1010
BBB NB 2000-2010
G.Ganesh Kumar -
Validation for partner bank type
Hi Experts,
My client wants a functionality that partner bank type and document Currency should be the same, if it is not same user should not allow to post. Can any one tell me is there any validation. How to wirte validation give step by step procedure.
thanks
BaluS
-
Vendor ageing report data for all doc type needed(urgent)
hello everyone
once again i need ur help guys.
in the vendor ageing report i am getting data for only one document type and not of other.
ex- see i have two documents type-
1.KD 2. EJ
so i am getting data for document type KD only.
so how to get the data of document type EJ along with KD.
below is my code .
so tell what modifications i have to made .
*& Report Z_VENDOR AGEING *
*& in this repoet I am calculating the vendor ageing
which is depending on formula
AGEING = Current Date(or any date entered by user) Bline Date(BSIK-ZFBDT) *
REPORT z_vendor NO STANDARD PAGE HEADING
LINE-SIZE 200
LINE-COUNT 65(3).
TABLES : bsik.
DATA : BEGIN OF t_out OCCURS 0,
bukrs LIKE bsik-bukrs,
saknr LIKE bsik-saknr,
bldat LIKE bsik-bldat,
wrbtr LIKE bsik-wrbtr,
lifnr LIKE bsik-lifnr,
zfbdt like bsik-zfbdt,
zbd1t like bsik-zbd1t,
ageing type i,
END OF t_out.
parameters : p_date1 type d.
SELECT-OPTIONS : s_bukrs FOR bsik-bukrs,
s_saknr FOR bsik-saknr,
s_lifnr FOR bsik-lifnr.
SELECT bukrs saknr bldat wrbtr lifnr zfbdt zbd1t
FROM bsik
INTO TABLE t_out
WHERE saknr IN s_saknr
AND bukrs IN s_bukrs
AND lifnr IN s_lifnr.
Loop at t_out.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_date1
i_datum_von = t_out-zfbdt
I_KZ_EXCL_VON = '0'
I_KZ_INCL_BIS = '0'
I_KZ_ULT_BIS = ' '
I_KZ_ULT_VON = ' '
I_STGMETH = '0'
I_SZBMETH = '1'
IMPORTING
E_TAGE = t_out-ageing
EXCEPTIONS
DAYS_METHOD_NOT_DEFINED = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Modify t_out.
Clear t_out.
Endloop.
LOOP AT T_OUT.
IF T_OUT-SHKZG = H.
T_OUT-WRBTR = T_OUT-WRBTR * -1.
T_OUT-WRBTR = T_OUT-DMBTR * -1.
ENDIF.
DATA: TOTAL(16) TYPE P DECIMALS 2.
TOTAL = TOTAL + T_OUT-DMBTR.
Endloop.
LOOP AT t_out.
WRITE : / t_out-saknr,
t_out-lifnr,
t_out-wrbtr,
t_out-zfbdt,
T_OUT-DMBTR,
t_out-ageing.
AT LAST.
WRITE:/ TOTAL.
CLEAR TOTAL.
ENDAT.
ENDLOOP.
Message was edited by: sanjeev singhSanjeev,
Can you tell what is document type EJ representing...Secondly, if you check couple of documents of EJ type and check if data is available as per you WHERE clause filters.
Regards
Anurag
Maybe you are looking for
-
I have a Dual 1.0GHz G4 MDD powermac and when I press the power button, low speed fans come for about 12 sec and then they go to full speed and remain there. There is no startup chime, the power button does not stay illuminated, and there is no video
-
10.4 kernel panic, now i'm panicked!!!
Well, here goes... A few weeks ago software update said a new version of OS 10.4.x.x was available, so I started to install it on my imac ppc with isight, purchased in 2005. Then I got an error message saying it didn't install so the package or whate
-
Number of available records in Oracle 10g express database
Hi, I am facing problems in getting the number of available records in Oracle 10g express database with the following query. string filename = dbObject.FILENAME; string vendorID = dbObject.VENDOR_ID; OracleCommand myCommand = _connection.CreateComman
-
Why is MacBook pro saying hard disk full yet it has over 400gb left
I am unable to save my Word 2011 files because MacBook pro hard drive is full. Yet when I checked I found only 31gb has been used out of 500gb. What is happening and how do I solve this?
-
How can I get a copy of my receipt from the automatic payment?
I have an account that converts pdf files to microsoft word or excel. It automatically renews every year. I would like to know if there is a way to get a receipt for the renewal. Cannot find a link in my account or a phone number to call.