Validation on SGTXT
Dear Experts,
I'm trying to define a validation on the field BSEG-SGTXT via formula builder. I would like to define the validation without programming a function module. The system should check the structure of the field SGTXT based on this criteria:
The allowed value is: *NUM4*NUM10*Text. NUM4 is always 4 numbers, NUM10 is up to 10 numbers. If some of the numbers are missing all the "*" must remain.
I tried something like this:
But it doesn't work correctly because if there is "*" + any other character, the system evaluates it as an error.
Any help would be much appreciated.
Thanks in advance.
Regards,
Ondrej Zatopek
Hi,
I'm afraid, you have to do it via user-exit using ABAP REGEX. Formula builder is not able enough for this task.
Regards,
Eli
Similar Messages
-
Payment Block Validation for User group
Dear SAP Validation Expert,
We like to allow only selected FI users to change Payment Block to ' ' (Free for Payment) in tcode: FB02, FB03 and FBL1N.
Curently we have managed to block other un-selected users from changing the Payemnt block to Free for Payment.
But our issues are Other fields also NOT able from changing/maintaining. For example in FB02, user NOT able to change Payment Block (BSEG-ZLSPR) from 'B' to ' ' (Free for Payment) which is expected but user also NOT able to maintain other field such as Payment term(BSEG-ZTERM), Baseline date (BSEG-ZFBDT), Assignment (BSEG-ZUONR) and Text Field(BSEG-SGTXT).
Below is our Validation, please advice how to improve it so that other fields can be changed too. Your swift reply is very much appreciated.
Pre-requisite:
( ( SYST-TCODE = 'FB02' ) OR
( SYST-TCODE = 'FBL1N' ) OR
( SYST-TCODE = 'FB03' ) AND
( BSEG-ZLSPR = ' ' ) AND
SYST-UNAME <> 'HIS20083'
Check:
BSEG-ZLSPR <> ' '
Message: E: You have no authorization.Hi,
In your Validation small change has to be done.
Pre-requisite:
SYST-TCODE = 'FB02' ) OR ( SYST-TCODE = 'FBL1N' ) OR ( SYST-TCODE = 'FB03' )
Check:
SYST-UNAME 'HIS20083' AND BSEG-ZLSPR = ' '
Message: E: You have no authorization.
Try in the above procedure.
Thanks
Goutam -
We have postings that are happening in FI, and the users are populating the text fields on these postings. Is there a way to pass this text field over to COPA to bring into reporting and display of documents in that module?
Your question is more appropriate for the ERP Financials - Controlling forum, but I don't have authority to move it. So I'll go ahead and try to give you an answer here. But keep that in mind when posting about CO-PA in the future since a larger audience will be found at the other [forum|SAP ERP Financials - Controlling; This requirement is an unusual request and the only way I think it could be possible is as follows.
1 Define a new characteristic (KEA5) with the option "No check" data validation so that no master data would be expected in CO-PA (KES1).
2 Add this new characteristic to your operating concern (KEA0) and activate and generate the operating concern.
3 Utilize COPA enhancement COPA0005 (SMOD) by defining an enhancement project in (CMOD) and calling the function module EXIT_SAPLKEII_002 and programming your logic to read SGTXT from include INCLUDE ZXKKEU08. (Notice that use of enhancement COPA0005 is not related to CO-PA derivation (KEDR), rather it is a way to directly modify the CO-PA data passed by the FI/CO document.
Here is some relevant documenation on COPA005.
This enhancement lets you modify how actual data is updated in
Profitability Analysis via the FI/CO interface.
Caution!
Using the components in this enhancement means that you are modifying
the standard update of actual data from Sales and Distribution (SD),
Financial Accounting (FI), or Materials Management (MM) to Profitability
Analysis. To avoid data from being updated inconsistently, you need to
have a solid understanding of the "FI/CO document" interface!
Make changes with extreme caution. If unsure, contact SAP!
The components comprise the following function modules:
o EXIT_SAPLKEII_001
o EXIT_SAPLKEII_002
You are responsible for ensuring the consistency of any changes made!
Test each change made extensively before use in the productive system.
For further clarification, contact SAP.
You should strongly consider whether this solution will negatively affect your system performance by growing your segment-level characteristics (table CE4XXXX where XXXX is your operating concern). You may want to in fact make this new characteristic field a non-segment level characteristic (KEQ3). This will disable you from viewing this field in summary level CO-PA reports (KE31), but it would available from line item based reports (KE91) or from a custom BW infoprovider which gets line item data. You could of course use a combination of KE31 reports and KE91 reports by jumping from summary to detail reports and passing the selected characteristics. This is accomplished via the split report (KE3L) option.
Best regards,
[Jeffrey Holdeman|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/jeffrey+holdeman]
SAP BusinessObjects
Enterprise Performance Management
Regional Implementation Group
Tried to fix the formatting, but unsuccessful. Edited by: Jeffrey Holdeman on Jul 28, 2009 10:04 PM
Edited by: Jeffrey Holdeman on Jul 28, 2009 10:10 PM -
Update Bool_data during validation exit
Hello Experts,
Is it possible to update the Bool_data fields during validation Exit ? I tried Update and Modify but not working.
Example,
Lv_text = 'TEST01'.
Bool_data-bseg-sgtxt = Lv_text.
so after posting, we will find the FI document line item text = TEST01.
I do not want to use substitution, so please avoid that
Thank youHello Krishna,
You can not during a Validation Exit update the Bool_data fields.
To do so, SAP have created substitutions. -
URGENT: How to maintain validation for LongText fiel for Specific F-02Tcode
Hi Gurus,
Can anyone help me out from this issue:
My client requirement: While Posting a Transaction with F-02 If user forgets to give Long Text system should through an Error, For this i have Prepare Validation. But Tried with that but my Logic is Not Correct for this Please can any one help out from this
I want Full Validation Rule including Symbols.
IT IS URGENT REQUIREMENT. Plz help me Gurus.
Thanks In Advance
Regards
Sridhar
Moderator: Please, don't use SMS language and 'urgent' wordsHi,
Please maintain the validation like this.
Prerequisite
SYST-TCODE = 'F-02' OR SYST-TCODE = 'FB01' AND BKPF-BUKRS = '001'
NOT BSEG-SGTXT = ''
Message as per your setting.
I actually put a trace a found that when we use F-02 actually system takes FB01 as TCode thats why the system does not Give a Error message. -
View data in client B from client A in the same SID without a valid logon?
Hi Folks
We are planning on upgrading our 4.6C system to ERP 6.0, and are initialy considering having two clients in the same sandbox SID. One would be for the developers to perform code remediation checks (client A), and one would contain a copy of production data for performing testing of functionality over live data (client B).
Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A? For example via the use on an ABAP program to SQL the database?
I know one can use transactions like SM30/SM31 to view, compare, and adjust data between clients, but this requires an RFC connection and valid logon to the target client.
Regards
Kevin.Hi Kevin.
>
Kevin McLatchie wrote:
> Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A? For example via the use on an ABAP program to
Short answer: yes.
If someone has the right to write and execute ABAP reports on the system he is able to access the data of all clients. So I don't think that this setup is advisable. Don't mix development and production data in one system.
Best regards,
Jan -
DEVOLUÇÃO DE EXPORTAÇÃO - CFOP 3201 - GRC VALIDA DADOS DI.
Boa tarde a todos!
Estamos em um projeto de NFE XML 2.00 e nos deparamos com o seguinte erro:
Ao emitirmos um NF-e de devolução da mercadoria que se encontrava no Porto (devolução de exportação - CFOP 3201), a validação do monitor GRC informa que é necessário constar os dados de importação, apesar deste processo não se tratar de importação. Os seguintes logs de validação são gerados:
Erro de validação: campo Código do fabricante estrangeiro no sistema. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-CFABRICANTE, ID campo I028)
Erro de validação: campo Nº da adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NADICAO, ID campo I026)
Erro de validação: campo Nº sequencial do artigo na adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NSEQADIC, ID campo I027)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-CEXPORTADOR, ID campo I024)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDESEMB, ID campo I023)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDI, ID campo I020)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-NDI, ID campo I019)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-UFDESEMB, ID campo I022)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-XLOCDESEMB, ID campo I021)
Estamos no SAPK-10015INSLLNFE e as seguintes notas relacionadas a validação estão aplicadas:
1493980 Validation for field xJust in cancel and skipping messages
1499921 Problem with validation after implementing SP15
1500046 Upgrade validation rule for field ID for version 2.00
1500742 Adjust validation for field NADICAO and NSEQADIC layout 2.00
1502217 Extend validation rules for , layout 2
1504379 Adjust validation for field X_CLISTSERV
1511291 Update allowed values for field E1_CPAIS for validation
1511577 Update validation rules for field VUNCOM_V20
1520861 Update validation rules for OIL_CPRODANP and OIL_UFCONS
Não encontrei nenhuma nota SAP recente para o componente SLL-NFE que seja relacionada a este problema.
Desde já agradeço pela ajuda.
Sds / Renato Penido.Boa tarde, Fernando,
Obrigado pela pronta resposta.
Debugamos a BADI e descobrimos que os dados de importação estão sendo gravado "em branco", gerando o erro de validação no GRC, tal qual dito por você.
Aprimoramos a lógica da BADI para que a tag de importação não seja preenchida indevidamente para as notas de devolução do porto e as notas foram aprovadas.
Muito obrigado,
Renato Penido. -
how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?
Hi
I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
Especially the section Don't which says -
DON'T
Don't post a series of questions in a single post. Splitting them into separate threads increases your chances of a quick answer.
PZ
www.pziecina.com -
When i login it says my apple id is valid but its not an icloud id
when I try to login i get a message telling me my apple id is valid but its not an icloud id .I dont have any apple mobile priducts so i have no idea what to do.Any advice would be greatly appreciated.
You are getting this message because you are trying to create an iCloud account on a PC by signing with your Apple ID. You can only sign into an existing account on a PC. You first have to create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher. After creating your account on one of these devices you will then be able to sign into the account using this ID on your PC.
-
Dear Support Team,
Every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud?
ThanksIt is not possible to create a new iCloud account using a Windows machine. You must create the account using a Mac (10.7.5 or more) or an IOS device (iPhone etc). Once that is done you can sign into and use the account on your Windows machine.
-
When I try to make a purchase at the App Store or iBook store or at iTunes an error message tells me my account is not valid for the UK store. I've no idea how I got connected there and I'd like help getting back to Canada where I live. Any suggestions?
Change App Store
1. Tap "Settings"
2. Tap "iTunes & App Stores"
3.Tap "View Apple ID"
4. Enter your user name and password.
5. Tap "Country/Region."
6. Tap "Change Country/Region"
7. Select the region where you are located.
8. Tap "Done". -
Creating Master to show only rows for which valid entries exist in Detai
I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
Thank you!I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
Thank you! -
Validating records into a maintenance view
Hi folks!
I have a simple Z table (say ZTABLE) and a Z view based on it with some related description (say ZVIEW). The ZTABLE has a DEC field (called COEF) with 2 decimals and it should have only numbers between 0 and 1.
I set the valid interval from 0 to 1 but, as help says, it's only checked for CHAR, NUMC, DEC, INT1, INT2 and INT4 data types. Not for DEC.
Then I use an event on ZVIEW. On SE11 I went to "Table maintenance generator" - Environment - Modification - Events. So there I put the 05 event (Creating a new entry) and I programed the check. It works fine for new entries, but if you have a record on table and you want to change the COEF field you can put there any number, even outside the 0-1 range.
I tried with the 01 event (Before saving the data in the database) but it seams to be called only for last record.
Could anybody tell me what can I do?
Thanks!Hi,
Since it is a Z TABLE..
You can directly modify the flow logic in SE51.
Go to SE51
Give the program name - SAPL + Function group name
Screen number
Press change..
In the flow logic..
Add a module after the FIELD ztable-number, in the PAI event..
Ex..
FIELD ZTABLE-NUMBER MODULE NUMBER_CHECK.
And in the module validate the number..
MODULE NUMBER_CHECK INPUT.
IF ZTABLE-NUMBER <> '0' OR
ZTABLE-NUMBER <> '1'.
MESSAGE E208(00) WITH 'Not a valid number'.
ENDIF.
ENDMODULE.
Thanks,
Naren -
Mandatory item validation at a page level?
Hi,
We have a page where the list of mandatory items changes according to how some 'key' items are set by the user e.g. if they select option 1 on item 1 we need a different set of mandatory fields than if they set option 2 - setting option 1 in item 4, may imply that some further items are mandatory, In addition, some items become mandatory due to circumstances known only on the database. We have in excess of 40 items on this page. Once all mandatory items are complete, the status of the page is saved as 'complete' - the user can always save the page as 'incomplete'.
We already have a database package that can check a table row to see if it is 'complete', it knows all the circumstances for when an items becomes mandatory and can produce a list of fields and the reasons why they have failed validation.
Is it possible to call this db package during page validation and use it to perform 'item' validations i.e. identify the invalid items and place the appropriate message inline with them?Hi,
You can create a pl/sql page validation where you call you procedure.
begin
package_k.proc_p(item1,item2,...,itemN);
end;
You should define the type of the validation, but it is very straight forward,
Regards,
Max. -
Error message 'not a valid PDF document'
Hi folks,
my Z10 has trouble opening some PDF documents sent as email attachment. When I try to open them the error message appears:
Important message
The document cannot be opened because it is not a valid PDF document
There is no BES10 Service involved in my environment. Mails are synced with with active sync.
OS Version: 10.2.0.429
Any suggestion appreciated.
Best regards,
RAUMPATROUILLEStuffit is the only app I know of which can decompress its own format. Your Windows clients must use the free Expander to open them. Otherwise, use OS X's built in zip compression and they'll be able to open the files without the need of third party software. Right click on any item, or group of items and choose, "Compress xxx Items" (how it will read if more than one item is chosen).
Maybe you are looking for
-
DVCPRO 50 - looks like 1920 in seq settings, shrinks to 1280 after render
This is correct right. It's an anamorphic image and goes from 1920 width to 1280 after the timeline renders. ? Sounds easy enough, I've just never seen it happen before and the client is asking for this. It fools you, because the sequence setting say
-
Hi Experts, I am running a Payment Wizard for a Bank Transfer for a certain vendor, however I get the error "No matching records found 'Bank Codes' (ODSC) (ODBC -2028)". I already checked my Bank settings and payment method settings but I still get
-
Adding attachments to Reader enabled forms in Adobe reader
I am creating a form for a user where they need to add an attachment to the form from Adobe Reader. They also need to save the form locally, as this is a low volume usage, approx. 100 uses in total the rights are being enabled in Acrobat Professional
-
Could someone please help me with this.
-
Add field to E-Recruitment Candidate Profile / Personal Data Screen
Hi Experts, I have a very specific requirement. I need to display a date field from date spec infotype in e-recruitment. The date type will vary depending on the internal candidate's personnel subarea. This field needs to be visible to both the ca