Document type UDO ignoring Period field
Hi all:
I have a document type UDO that includes the automatically created "Period" field which links to financial periods (OFPR). However, apparently I cannot modify it in my form, as no matter what I write into the field the database always ends up with the current period number, instead of the one corresponding to the date I have in my form.
The field is correctly databound as it shows the saved values correctly.
The field is also set correctly by the add-on through code in OnBeforeFormDataAdd before being saved into the database (depending on date selected in a specific field).
The problem is, that even though I am not depending on that field, if the current period is locked, my add-on cannot be used to enter data for another (previous or future) period, because B1 automatically rejects the document when saving ("Period is locked").
Any ideas on this?
Thanks,
Joerg.
I don't have a problem using that field. The problem is that it does not accept what I set it to. It's always saved with the current period number, not the one I tell it to use (the one corresponding to the date used in my UDO document).
As for document type UDO, yes, the add-on is already installed at several clients, I can't just go ahead and change the UDO type. Plus I am using some of the features that come with that type of object (document numbering being one).
As for unlocking the finance period, I haven't tried it but I guess that wold only work if the user has permission to do so, and I couldn't count on that...
Joerg.
Similar Messages
-
How to block one of the purchasing document types for certain period
My client asked me to block the one of the purchase order documents for certain period.In what way i can do it? and also it shouldn't be displayed in the purchase documents list when we do me21n?
Advanced thanks,
SateeshHi Sateesh,
Here u cann't block the Document type,
U can do this,only the way to delete that document type for certain peroid.
Thanks & Regards
Suresh
> My client asked me to block the one of the purchase
> order documents for certain period.In what way i can
> do it? and also it shouldn't be displayed in the
> purchase documents list when we do me21n?
>
> Advanced thanks,
> Sateesh -
Hi All,
I have a UDO of type Document. A user form is using this object type and having a combo box bound to Status field.
The Close and Cancel are enable for this UDO. Users can directly Close / Cancel the document whenever they want.
My question is, How can I close / Cancel the document using SDK?. I would like to set the document status to Closed if a condition is satisfied.
Using Generic Services, I am unable to set the Status Property. Anybody know a better solution?
Thanks in advance
AnoopUDO Document can be closed / canceled using SDK.
oDocGeneralService.Close(oGenralParameter);
Or oDocGeneralService.Cancel(oGenralParameter); -
Sales document type - field indicator
Hi,
In transaction VOV8 for sales document type, there is a field 'Indicator'.
What is the function of this field? There is no help associated for this field.
ThanksAs F1 help indicates this field is only for display in TVAK table.
So, it means if you are selecting this indicator, a program associated with this indicator would be running.
This indicator is used in certain order types only
for example
Order type RA - Repair order is assigned indicator F (you can also look for other order types and indicators assigned to them).
If you create a order with sales document type RA, you would notice certain changes when compared to regular sales order type OR.
The most prominent is button Repairs.
There may be others but you could check for them.
You can play around and assign indicator F to order type OR.
You would see that OR screen now resembles the screen order type RA. It has Repairs button associated with it.
In short, if you assign indicator to sales order type, it runs a program associated with it. The SAP program is SAPL080O. -
Dear cons
We want to create a new document type for pur. requisition.In this document type account assignment will be 'P'(PROJECT) . w.b.s should be only enter.
so pl. give the details of filling data in the required field step by step. waiting for your early response.
thanks
nirupamaHi,
In order to create a document type for a purchase requisition use the path
spro-materials management - purchasing--purchase requisitions --define document type
in that screen you select the document type you want to copy to create your document type and perform the action.
if you want to change the screen/field selection for your document type select the field selection key (if you select the document type as NBB the field selection key will be NBB.,and go to the screen and change the field status.
Hope this will be suffient for your requirement.
Regards,
Raghu. -
Creation of new document types for document splitting rules
Hi experts,
We have copied from existing SA document type to new document type.
In standard SAP SA document type - define document splitting rule, we have select "NO INHERITANCE OF ACCOUNT ASSINGNMENT", when posting the GL document SA document type without mapping partner profit center,system is control the derive the partner profit center.
Our requirement is copied from existing SA document type to create a new document type - we have created the new dusiness transaction variant and we have map the "classify document type to document splitting rule " and we have selet the "No inheritance of account assignment" while posting in FB01 GL document with out mapping partner profit center system is not control the " derive partner profit center".
Could you please assist us as soon as possible
Thanks ,
Sreenivas
Edited by: sapfico.srini12 on Jan 16, 2012 4:37 PMHi,
In order to create a document type for a purchase requisition use the path
spro-materials management - purchasing--purchase requisitions --define document type
in that screen you select the document type you want to copy to create your document type and perform the action.
if you want to change the screen/field selection for your document type select the field selection key (if you select the document type as NBB the field selection key will be NBB.,and go to the screen and change the field status.
Hope this will be suffient for your requirement.
Regards,
Raghu. -
SUBSTITUTION FOR DOCUMENT TYPE
Dear Friends,
I had an requirement of changing the Document type while posting the document.
The requirement is as follows we have 2 users say user-1,user-2 both are posting a document with doc type SA (number range for doc type SA is 1001 - 2000). Generally the document number generated are doc no.1001,doc no.1002. But our requirement is if User -1 is posting the document, the document number should be 1001 and if a user-2 is posting the document it should generate a new document number say 35001 ( for this client is ok for creation of new document type for number ranges).
We even checked the same in OBBH and created the same at document header level, we maintained the prerequisite as if company code = xxxx and user name = 1234 and document type = SA, then substitute it with document type (taken from substitutable field) say Z1 (for which document number ranges already maintained).
It might be possible with USER EXITS and RULES.
Please guide me.
Thanks & regards,
SandeepDear Milosalvjevic,
Yes we have even done it.
But now its solved by changing the standard program and added our requirement after execution of the standard program.
Done Same thing as BTE works.
Regards,
Sandeep -
Based on document type , editable schedule qty in me22n, me52n
Dear Gurus,
based on document type , the schedule qty field under delivery schedule tab to be editable, at present it is in greyed out mode, is there any config settings are dev if so whatever please share with more detailsHi,
As of my knowledge, the change mode screen layout cant be defined based on document type. You can make the field as editable or non editable in the field selection key AKTV (for both PR and PO).
An alternate method is explained in the KBA: 2048405 - How to control the field layout
If you still want to make the field selection based on document type in ME22N / ME52N, then you may go for development.
Regards,
AKPT -
hi
in my company i have two prequisitons
one is used for imports and one for domestic .Ineed to make the field account asignment category an mandatory field for the domestic purchase requisition and for imports i do not how can i do this
and
can u also specify how this can be done to a purchase order also
With regards
chaitanyaYou can make account assignment category mandatory in configuration. The path in SPRO is <i>Materials Management --> Purchasing --> Purchase Requisition --> Define Screen Layout at Document Level</i>.
Remember to make it mandatory in the field selection key at Document Type level. In case the field selection key is same at the document type level, change the field selection key in the document type definition (under <i>Define Document Types</i>). This way you can have different field selections at the document type level.
Same way in Purchase Order also. Menu path in SPRO is <i>Materials Management --> Purchasing --> Purchase Order --> Define Screen Layout at Document Level</i>
Hope this helps.
Lakshman -
BBP_BS_GROUP_BE for new document type and number range
Hi gurus,
I am working on Classic scenario in SRM and currently have used the above BADI to use a different document type and number range when creating the PO in the backend system. It all works fine. The only thing is I noticed that the BE_DOC_TYPE field in the shopping cart is still reflected as 'EC' even though the PO created in ECC is for example EC1. My question: Is this standard SRM? If so, is it common to leave this field as it is or is it advisable for us to change the document type to EC1 as well? Also, is there any implication in standard SRM reporting and downstream processes that you are aware of?
Appreciate any advice on the above.
Cheers!
SfWe have ended up having to populate the document type on a custom field or alternatively replace the existing one.
-
Authorisation to post to document type n authorisation to post to cost cent
Hi
I have two questions-
1. I want that to a particular document type some user group should not have authorisation to post. I know in document type we have one field called authorisation group, but i dont know how to create such group.
2. one user working at a particular plant say plant A should have authorisation to use certain cost centers only.
Please guide.
Thanks
SwetaHI,
1: you can use authorization groups for that purpose, see F1-help for this field in T-Code OBA7 (doc.type maintenance in customizing. See also the link to "authorization objects" in this F1-help. Nevertheless you need the knowledge of somebody who is familair with the SAP authorization concept, role creation,...
2: see SAPNET-note 370082 how to create user authorization for cost center (groups).
Best regards, Christian -
Adding field 'Document Type' to Cash Flow Statement form in FSI5
Dear SAP Experts
I am developing a 'Cash Flow Statement' using FSI5/FSI3 functionality. I need to have a field 'Document Type' in the list of characteristics.
Can anyone of you guide me how can I add this field?
An urgent reply is highly appreciated.
Thanks
Syed Zia AbbasHi Abbas,
I have few comments, which should help to solve your
problem. Please take a look to note 43661 which describes the
creation of new forms and reports.
Following are the steps to create the form and report:
FSI4 => Form type: Financial Statement Key Figures => Copy
Form: Name and Text for the new form
Copy from: 0SAPRATIO-04
FSI5 => find and double click the new form just created => Edit Gen.
data selection => change the FSV to what you want to use
FSI1 => Report type: Financial Statement Key Figures => Create
Report: Name and Text for the new report
With form: Name of the new form details please refer to standard SAP report 0SAPRATIO-04
FSI3 => find and execute the new report to check if you can get the
result you want.
To change the fin. statement version in the general data selections of
your new form is not enough. You have to check each line of the new form
too and replace the fin. statement items with items of your own fin. statement structure.
- The mentioned forms contain restrictions via for example financial
statement items in rows and years and/or periods in columns. But, if
you execute the reports, you get no results. It is because the forms
are just an example templates for items of financial statement version
(FSV) INT, which is also just a template.
To be able to get requested results, you have to create your own
forms (and reports based on your forms) with restriction via your
own financial statement version (in general data selection) and the
financial statement items corresponding to your FSV (in particular
rows). Otherwise, you cannot get any results, as there are no values
for the template FSV INT and items from the INT.
But it is up to you, how you arrange the form definition. It is
closely related to your own FSV definition.
I hope you find this information useful.
Jose Luis Carbajo -
Quantity field not getting displayed for all document types
Hi,
I have made a configuration to include field Quantity(BSEG-MENGE) in the GL account line item display.When I ran the report for stock adjustment account(FAGLL03), only the following document types are showing quantity against them.
WI- Inventory document
WA-Goods Issue
WE---Not showing quantity against (WE- Goods Receipt)
Can any one please explain. I have seen the original document from FI document. The original document as well as FI document carries quantity.
Thanks
AravindHi Aravind,
Check SAP notes 1063198 and 1117587.
FAGLL03 display quantity which is updated in FAGLFLEXA, BSEG is not
relevant in this case. This is clearly explained in the note 1063198.
The quantity posts through to FI on the 'goods receipt' items, but not on the
'invoice receipt' items.
In the FI normally the Quantity is not a 'real' important field, as it
is more related to the MM area.
But in the old 'Profit Center Accounting' and the old' Special Ledger'
the field has been important.
As the same logic of these areas to 'store' the Quantity is also used
in the NewG/L the field get only filled in the line, where it make
'sense' from our point of view, because only in the 'goods receipt'
lines a 'real' Quantity is posted to the system.
So as before in the PCA and SL, now also in the NewG/L the Quantity is
filled in the correct and important lines and postings.
In the BSEG ('old document segment table') the field is filled 'just'
as it is send to the FI, but this is not completely correct from the
business point of view.
This can also lead to issues with the reporting and summation to this
field. So with creating the new logic in the NewG/L the 'correct'
standard of the 'writing' for the Quantity has also been taken over.
So in the end, the update and display is correct according SAP standard behavior.
Actually,Quantities within G/L are never reliable,
because the purpose of FI is a view on the data according to amount
but not according to quantity.
In the FI normally the Quantity is not a 'real' important field, as it
is more related to the MM area.
I hope I could be of assistance.
Regards,
Fernando -
Order type field for PO/Document type field for PR
Hi Everybody
a) In Purchase Order creation screen (ME21)-for order type field -NB(standard order) is coming as default-How to make it blank(since we are using plantwise PO NOs)
b)In purchase requisition screation screen(ME51)also Document type-NB(standard order) is coming as default-How to make it blank(since we are using plantwise Purchase requisitions)
Thanks in advance
Joseph DavidSimple,In order of ME21/ME51,Press F4,Select Required order/requistion type,Add it to Favourite list
or else
Create a transaction variant for ME21 & ME51 using t.code SDH0.
Transaction Variant - A Step by Step Guide for Creation,Check below link,
http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation
Edited by: Jeyakanthan A on Apr 2, 2010 5:42 PM -
Could not changed cost center field in document type RE - FSG
Dear Experts,
I would like to change 'cost center field' in act document type RE (invoice receipt) through transaction FB02
I have changed the field of 'cost center' in field status group in OBC4 and OB41 (posting key 50 and 86)
The field staus group both in OB41 and OBC4 are already set as 'optional entry' but field of cost center is still could not be changed/edit (grey area).
Kindly advice
Thank you.Hi Chandra,
Can you please details the coding part if you can remember ..so that would be helping me lot...Since it's production issue , we have implement immd.
Regards,
Lalit
Edited by: Lalit Sharma on Dec 24, 2009 6:45 AM
=======================
This problem can be closed. I got the note.
Edited by: Lalit Sharma on Jan 12, 2010 12:50 AM
Maybe you are looking for
-
How can I handle disconnected user in Forte ?
Hi Forte user, we would like to develop an application in Forte which support disconnected user ( or site ). That mean every morning the disconnected user ( or site ) will dial up to server and synchronize the data. Have anyone out there developing t
-
Is it possible to move a project i am doing in imovie 11 on a mac running snow leopard to an imac running mavericks to finish the project and still leave the movie on the first computer?
-
Updating a file with new input
Hi. How would I be able to read in a file, and than update that same file with input from the user? Example: I have a file named 'Num' with the numbers '1','2', and '3' in it. How could I read those three numbers in, and than update it the file with
-
What do you want PDO to do?
Recently a group of people including PHP developers and a few database organizations have been discussing how the PDO database access layer in PHP can be fixed and improved. A proposal about the process is on the table for all PHP folk to comment on,
-
Help with an IIF query required
Hi, How would I write this IIF query into an Outbound Sync Rule: If Boolean_attribute_X is False, export the following 'static' value into the target_AD_attribute, else do nothing (if true) My thinking is something along these lines for the custom ex