IDoc Error 51 - Make Entry in All Required Fields
hi,
I am using a scenario where an idoc is being posted into an R/3 system from a legacy application. For some reason I keep getting Idoc error 51 (Document not posted).
Once I drill down further, the specific error states "Make entry in all required fields". Have checked to make sure all mandatory fields have been mapped and proper constant values have been specified.
But cannot seem to get rid of the problem. Could anybody help out in determining how else to troubleshoot this and identify the possible cause?
thx,
Manpreet
Manpreet,
What IDoc Type you are trying to post ? One way is debugging the inbound function module using WE19. The second option is talking to a functional consultantor who worked, what fields are needed for that particular IDoc.
I wouldn't care much about whether the IDoc is posted or not because, it is the ABAP ALE/EDI consultant's job to do that. The only way XI Developer is concerned is when it is not posting, ABAPer would tell what's missing.
Hope this info helps.
regards
SKM
Similar Messages
-
MAKE AN ENTRY IN ALL REQUIRED FIELDS
HI,
I AM USING THE FOLLOWING EXCEL VBA CODE TO TRY AND CALL A TRANSACTION LX02 DIRECT INTO EXCEL.
Public Sub add_bdcdata(BdcTable As Object, program As String, dynpro As String, dynbegin As String, fnam As String, fval As String)
Dim vField As Variant
j = j + 1
BdcTable.Rows.Add
BdcTable.Value(BdcTable.Rows.Count, "PROGRAM") = "RLS10020"
BdcTable.Value(BdcTable.Rows.Count, "DYNPRO") = "1000"
BdcTable.Value(BdcTable.Rows.Count, "DYNBEGIN") = "X"
BdcTable.Value(BdcTable.Rows.Count, "FNAM") = "BDC_OKCODE"
BdcTable.Value(BdcTable.Rows.Count, "FVAL") = "NEXT"
Debug.Print BdcTable.Value(j, "FVAL")
End Sub
Public Sub rfc_call_transaction()
Dim Functions As Object
Dim RfcCallTransaction As Object
Dim Messages As Object
Dim BdcTable As Object
' Create the Function control (that is, the high-level Functions collection):
Set Functions = CreateObject("SAP.Functions")
' Set the rest of Connection object values:
Functions.Connection.System = "QA2"
Functions.Connection.client = "900"
Functions.Connection.user = "mbrough"
Functions.Connection.Password = "st34lhv3"
Functions.Connection.Language = "EN"
If Functions.Connection.Logon(0, False) <> True Then
Exit Sub
End If
Dim iBOB As Integer
iBOB = Range("A1")
Do
' Retrieve the Function object (the Connection object must be set up before Function objects can be created):
Set RfcCallTransaction = Functions.Add("RFC_CALL_TRANSACTION")
' Set the export parameters
RfcCallTransaction.exports("TRANCODE") = "LX02"
RfcCallTransaction.exports("UPDMODE") = "S"
Set BdcTable = RfcCallTransaction.Tables("BDCTABLE")
' Set the tables parameter and add the data for the call transaction
add_bdcdata BdcTable, "RLS10020", "1000", "X", "", ""
add_bdcdata BdcTable, "", "", "", "BDC_CURSOR", "S1_LGNUM"
add_bdcdata BdcTable, "", "", "", "BDC_OKCODE", "=ONLI"
add_bdcdata BdcTable, "", "", "", "S1_LGNUM", "900"
add_bdcdata BdcTable, "", "", "", "S1_LGNUM", "ActiveCell"
add_bdcdata BdcTable, "", "", "", "S1_LGTYP-LOW", "K01"
add_bdcdata BdcTable, "", "", "", "BDC_SUBSCR", "SAPLSSEL"
add_bdcdata BdcTable, "", "", "", "BDC_SUBSCR", "SAPLSSEL"
add_bdcdata BdcTable, "SAPMSSYO", "0120", "X", "", ""
add_bdcdata BdcTable, "", "0", "", "BDC_OKCODE", "=BACK"
add_bdcdata BdcTable, "RLS10020", "1000", "X", "", ""
add_bdcdata BdcTable, "", "", "", "BDC_OKCODE", "/EE"
add_bdcdata BdcTable, "", "", "", "BDC_CURSOR", "S1_LGNUM"
add_bdcdata BdcTable, "", "", "", "S1_LGNUM", ActiveCell.Value
'End SubCall the function (if the result is false, then display a message):
If RfcCallTransaction.Call = True Then
Set Messages = RfcCallTransaction.imports("MESSG")
MsgBox Messages.Value("MSGTX")
Else
MsgBox " Call Failed! error: " + GetCustomers.Exception
End If
iBOB = iBOB + 1
Loop Until IsEmpty(ActiveCell.Offset(iBOB, 0))
Functions.Connection.Logoff
End Sub
I KEEP GETTING AN ERROR MESSAGE SAYING 'MAKE AN ENTRY IN ALL REQUIRED FIELDS' AND THEN NOTHING DOWNLOADS INTO EXCEL.
CAN ANYONE HELP PLEASE?
THANKSWhen I run this transaction through SAPgui I only have to fill out the field S1_LGNUM, and I have specified this in my code.
Is my code below correct?
Public Sub add_bdcdata(BdcTable As Object, program As String, dynpro As String, dynbegin As String, fnam As String, fval As String)
Dim vField As Variant
Static j As Integer
j = j + 1
BdcTable.Rows.Add
BdcTable.Value(j, "PROGRAM") = "RLS10020" ' Program Name
BdcTable.Value(j, "DYNPRO") = "1000" ' Dynpro Number
BdcTable.Value(j, "DYNBEGIN") = "X" ' X if a screen
BdcTable.Value(j, "FNAM") = "BDC_OKCODE" ' Field Name
BdcTable.Value(j, "FVAL") = "NEXT" ' Field Value
End Sub
As i have seen this in examples where it looks like below.
Public Sub add_bdcdata(BdcTable As Object, program As String, dynpro As String, dynbegin As String, fnam As String, fval As String)
Dim vField As Variant
Static j As Integer
j = j + 1
BdcTable.Rows.Add
BdcTable.Value(j, "PROGRAM") = program ' Program Name
BdcTable.Value(j, "DYNPRO") = dynpro ' Dynpro Number
BdcTable.Value(j, "DYNBEGIN") = dynbegin ' X if a screen
BdcTable.Value(j, "FNAM") = fnam ' Field Name
BdcTable.Value(j, "FVAL") = fval ' Field Value
End Sub
Thanks -
Getting Return Message : Make an entry in all required fields
I need help.
when passing objectid blank i am getting "Make an entry in all required fields" Return message.
i checked through se16 --> PA0006 Table for all employeenumber objectid is blank.
below is my code
proxyaddchange.Connection.Open();
// To refer to the subset that has Permanent Address details
string subType = "1";
// Get records till this date(yyyymmdd - format)
string timeIntervalHigh = "99991231";
//timeIntervalHigh = "31.12.9999";
// Get records from this date(yyyymmdd - format)
string timeIntervalLow = "18000101";
timeIntervalLow = "19850101";
proxyaddchange.Bapi_Employee_Enqueue(txtSapId.Text,out Return11);
proxyaddchange.Bapi_Addressemp_Change(txtSapId.Text,"","","",subType,"123456789",timeIntervalLow,timeIntervalHigh,out Return12);
proxyaddchange.Bapi_Employee_Dequeue(txtSapId.Text,out Return13);Adil,
We are having the exact same problem as you have described. Did you ever find an answer?
We would appreciate any pointers you can provide.
Thanks,
Benny -
Email submit button causing required error when all required fields are filled in
It looks like if I have more than 1 instance of subform added, my email submit button triggers "..at least one required " error message when all required fields are filled-in.
I toggle subforms between "visible" and "hidden (from layout)". Any suggestion is appreciated.
ralphThe fields that are hidden should have the validate.nullTest property set to "disabled", something like;
TextField1.validate.nullTest="disabled"; -
Fill all required fields SAPMF02K 0111 SZA1_D0100-TITLE_MEDI
Hi all
Scenario MDM - Xi - R3
We're sending the idoc from mdm to xi, but we get an error in the R3 side about: Fill all required fields SAPMF02K 0111 SZA1_D0100-TITLE_MEDI.
I read some notes and i have tried to change some things about MSGFN value 009, 005 but it doesn't work... Can anybody help me??
The XML looks like:
<?xml version="1.0" encoding="UTF-8" ?>
- <CREMDM04>
- <IDOC BEGIN="1">
- <E1LFA1M SEGMENT="1">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
<ANRED>/</ANRED>
<BRSCH>SEJ</BRSCH>
<DATLT>/</DATLT>
<DTAWS>/</DTAWS>
<ERDAT>/</ERDAT>
<ERNAM>/</ERNAM>
<KTOKK>VADN</KTOKK>
<KUNNR>/</KUNNR>
<LAND1>/</LAND1>
<LNRZA>/</LNRZA>
<NAME1>/</NAME1>
<NAME2>/</NAME2>
<NAME3>/</NAME3>
<NAME4>/</NAME4>
<ORT01>/</ORT01>
<ORT02>/</ORT02>
<PFACH>/</PFACH>
<PSTL2>/</PSTL2>
<PSTLZ>/</PSTLZ>
<REGIO>/</REGIO>
<SORTL>/</SORTL>
<SPRAS>/</SPRAS>
<STCD1>BBQ030122SEA</STCD1>
<STKZU>X</STKZU>
<STRAS>/</STRAS>
<TELBX>/</TELBX>
<TELF1>/</TELF1>
<TELF2>/</TELF2>
<TELFX>/</TELFX>
<TELTX>/</TELTX>
<TELX1>/</TELX1>
<XCPDK>/</XCPDK>
<VBUND>/</VBUND>
<FISKN>/</FISKN>
<ADRNR>/</ADRNR>
<MCOD1>/</MCOD1>
<MCOD2>/</MCOD2>
<MCOD3>/</MCOD3>
<REVDB>/</REVDB>
<KTOCK>/</KTOCK>
<PFORT>/</PFORT>
<WERKS>/</WERKS>
<LTSNA>/</LTSNA>
<WERKR>/</WERKR>
<PLKAL>/</PLKAL>
<DUEFL>/</DUEFL>
<TXJCD>/</TXJCD>
<FITYP>03</FITYP>
<STCDT>04</STCDT>
<ACTSS>PG</ACTSS>
- <E1LFA1A SEGMENT="">
<J_1KFTIND>Personas Morales</J_1KFTIND>
</E1LFA1A>
- <E1ADRMAS SEGMENT="1">
<OBJ_TYPE>LFA1</OBJ_TYPE>
<OBJ_ID>0005001282</OBJ_ID>
<CONTEXT>0001</CONTEXT>
- <E1BPAD1VL SEGMENT="1">
<ADDR_VERS>/</ADDR_VERS>
<FROM_DATE>/</FROM_DATE>
<TO_DATE>/</TO_DATE>
<TITLE>0003</TITLE>
<NAME>BLACK BELT QUALITY CORPORATION SA D</NAME>
<NAME_2>E CV</NAME_2>
<CONV_NAME>/</CONV_NAME>
<C_O_NAME>/</C_O_NAME>
<CITY>D.F.</CITY>
<DISTRICT>/</DISTRICT>
<CITY_NO>/</CITY_NO>
<DISTRCT_NO>/</DISTRCT_NO>
<CHCKSTATUS>/</CHCKSTATUS>
<REGIOGROUP>/</REGIOGROUP>
<POSTL_COD1>07369</POSTL_COD1>
<POSTL_COD2>/</POSTL_COD2>
<POSTL_COD3>/</POSTL_COD3>
<PCODE1_EXT>/</PCODE1_EXT>
<PCODE2_EXT>/</PCODE2_EXT>
<PCODE3_EXT>/</PCODE3_EXT>
<PO_BOX>/</PO_BOX>
<PO_W_O_NO>/</PO_W_O_NO>
<PO_BOX_CIT>/</PO_BOX_CIT>
<PBOXCIT_NO>/</PBOXCIT_NO>
<PO_BOX_REG>/</PO_BOX_REG>
<POBOX_CTRY>/</POBOX_CTRY>
<PO_CTRYISO>/</PO_CTRYISO>
<DELIV_DIS>/</DELIV_DIS>
<TRANSPZONE>/</TRANSPZONE>
<STREET>AVE. RESIDENCIAL GUSTAVO A. MADERO</STREET>
<STREET_NO>/</STREET_NO>
<STR_ABBR>/</STR_ABBR>
<HOUSE_NO3>/</HOUSE_NO3>
<STR_SUPPL1>/</STR_SUPPL1>
<STR_SUPPL2>/</STR_SUPPL2>
<STR_SUPPL3>/</STR_SUPPL3>
<LOCATION>/</LOCATION>
<BUILDING>/</BUILDING>
<FLOOR>/</FLOOR>
<ROOM_NO>/</ROOM_NO>
<COUNTRY>MX</COUNTRY>
<COUNTRYISO>/</COUNTRYISO>
<LANGU>S</LANGU>
<LANGU_ISO>/</LANGU_ISO>
<REGION>DF</REGION>
<SORT1>-</SORT1>
<SORT2>HONORARIOS</SORT2>
<EXTENS_1>/</EXTENS_1>
<EXTENS_2>/</EXTENS_2>
<TIME_ZONE>/</TIME_ZONE>
<TAXJURCODE>/</TAXJURCODE>
- <E1BPAD1VL1 SEGMENT="1">
<ADDRESS_ID>/</ADDRESS_ID>
<LANGU_CR>/</LANGU_CR>
<LANGUCRISO>/</LANGUCRISO>
<ADDR_GROUP>/</ADDR_GROUP>
<HOME_CITY>/</HOME_CITY>
<HOMECITYNO>/</HOMECITYNO>
<DONT_USE_S>/</DONT_USE_S>
<DONT_USE_P>/</DONT_USE_P>
</E1BPAD1VL1>
</E1BPAD1VL>
- <E1BPADTEL SEGMENT="1">
<COUNTRY>MX</COUNTRY>
<TELEPHONE>(55)57597532</TELEPHONE>
<CALLER_NO>/</CALLER_NO>
<STD_RECIP>/</STD_RECIP>
<HOME_FLAG>/</HOME_FLAG>
<ERRORFLAG>/</ERRORFLAG>
<FLG_NOUSE>/</FLG_NOUSE>
</E1BPADTEL>
<E1BPAD_REM SEGMENT="" />
</E1ADRMAS>
- <E1LFB1M SEGMENT="">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
<BUKRS>102</BUKRS>
<AKONT>0021051001</AKONT>
<ZTERM>Z000</ZTERM>
<FDGRV>A1</FDGRV>
<REPRF>X</REPRF>
<HBKID>BNMX</HBKID>
<ALTKN>62058</ALTKN>
- <E1LFBWM SEGMENT="">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
<BUKRS>102</BUKRS>
<WITHT>RP</WITHT>
<WT_SUBJCT>X</WT_SUBJCT>
<WT_WITHCD>HO</WT_WITHCD>
</E1LFBWM>
- <E1LFBWM SEGMENT="">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
<BUKRS>102</BUKRS>
<WITHT>IV</WITHT>
<WT_SUBJCT>X</WT_SUBJCT>
<WT_WITHCD>HI</WT_WITHCD>
</E1LFBWM>
</E1LFB1M>
- <E1LFM1M SEGMENT="">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
<EKORG>ABMX</EKORG>
<WAERS>MXN</WAERS>
<MINBW>0</MINBW>
<ZTERM>Z000</ZTERM>
<WEBRE>X</WEBRE>
<KZABS>X</KZABS>
<XERSY>X</XERSY>
- <E1WYT3M SEGMENT="">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
<EKORG>ABMX</EKORG>
<PARVW>PR</PARVW>
</E1WYT3M>
</E1LFM1M>
- <E1LFBKM SEGMENT="1">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
<BANKS>MX</BANKS>
<BANKL>002</BANKL>
<BANKN>002180027876216466</BANKN>
<PROVZ>/</PROVZ>
<STRAS>/</STRAS>
<ORT01>/</ORT01>
<XPGRO>/</XPGRO>
<PSKTO>/</PSKTO>
<BKREF>0000002787621646</BKREF>
<PROV2>/</PROV2>
<KOINH>BLACK BELT QUALITY CORPORATION SA DE CV</KOINH>
<KOVON>/</KOVON>
<KOBIS>/</KOBIS>
</E1LFBKM>
- <E1LFASM SEGMENT="1">
<MSGFN>005</MSGFN>
<LIFNR>0005001282</LIFNR>
</E1LFASM>
</E1LFA1M>
</IDOC>
</CREMDM04>Hi Jose,
is there any mapping in between?
I had the same error message when I mapped to IDoc and didn't fill some header fields/ attributes...
//Karsten -
How to Make u0091Contactu0092 Profile a required field in BP Maintenance?
We are using "status" tab in the Tcode: /nBP- BP Maintenance and trying to do following two things:
1. Make Contact filed as REQUIRED fields in BP Master in under Status tab, and
2. Restrict one or more communication method(s) as Disallowed while others remain Allowed. Here is the scenario: BP chooses NOT TO BE CALLED on Phone but agrees to receive Letters and/or Emails.
We believe this would require development, but wonder if there are other options, or if anyone has done something similar and would be willing to share?
Thanks in advance,
Purush ChitkaraHi,
Sort Key can be made as mandatory through SPRO settings.
SPRO > Financial Accounting New > Accounts receivable and accounts payable > vendor accounts > Master Data > Preparations for creating vendor master data > Define Account groups with screen layout > Double click on your account group > Double Click on company code data > Double clcik on account management > Make the field sort key as required entry.
Regards,
Prabu -
Unable to make Postal code as required field in Vendor master creation
Hi,
We have a requirement of making Postal code (POST_CODE1) field under street address of new vendor master creation/change as a required field.
In the configuration settings of vendor account group (OBD3), SAP provided Postal code City combined as only one field.
Even after making the Postal code&City field as required in the configuration of a particular Vendor group (OBD3), the system is allowing to create new vendor master under that particular group with out the input of Postal code.
The system only making the city (CITY1) as required filed but not the Postal code (POST_CODE1) even after setting Postal code&City field as required in OBD3.
Could you please provide the activities to be performed apart from the above so as to make Postal code as required filed at the time of the vendor master creation/change
Regards
Mani PrasadYes, it is country specific. It will affect in vendor masters as well Customer masters.
You have two options now :
Create a Transaction variant using SHD0 and Make Postal code field as required and create a custom transaction code in SE93 (Transaction with Variant (Variant transaction) and assign here and save. Your requirement will be fulfilled.
Else you can go for Enhancement using EXIT_SAPMF02K_001 Vendors: User Exit for Checks prior to Saving
The following user exits exist for vendor master records:
o Check entered data before saving
Please refer to the interface description of the function module to see which data is available.
If we found any other solution we will let you know the same. -
Make Sort Key a required Field in Vendor Master & default values in it
Dear Experts ,
I need to make the sort key field a required entry in vendor master .
Also i want the system to default a particular value in this field .
How can i achieve it ?
Regards
AnisHi,
Sort Key can be made as mandatory through SPRO settings.
SPRO > Financial Accounting New > Accounts receivable and accounts payable > vendor accounts > Master Data > Preparations for creating vendor master data > Define Account groups with screen layout > Double click on your account group > Double Click on company code data > Double clcik on account management > Make the field sort key as required entry.
Regards,
Prabu -
Scheduling agreement inbound idoc error.
Hi Experts,
I am creating an Scheduling Agreement with DELFOR02 inbound idoc, while creation the Scheduling Agreement system is giving error regarding Scheduling Agreement not found. In fact I have create the Scheduling agreement by T-code VA31. And I check the table VLPKM, there are relevant record stored.
Then I maintain the view V_T663A to not check everything when inbound idoc recevie. and tried agan in t-code BD87. the system give me another message Make an entry in all required fields.
How can I handle these error messages?
Thanks..
Regards....Does any one has ideas for that?
Thanks. -
Hi,
I have made input required in some of the input fields in a screen. But I want the user to be able to go back in the program whitout putting values in the required fields by pressing back, cancel etc.
But no matter what button is pressed the program diplays a message "Make an entry in all required fields". The only way to get out of the screen is to make entries in the required fields or close the session. Does anyone know how to get around this?
All answers will be appreciated and rewarded.
Thanks
MagnusHi
You have to active a code for EXIT-COMMAND in yor bar.
PROCESS PAI.
MODULE EXIT AT EXIT-COMMAND.
MODULE EXIT.
SET SCREEN 0. LEAVE SCREEN.
ENDMODULE.
From SAP help:
The module is only processed if the user enters a command beginning with "/E" in the command field, or chooses a function type E (assigned in the function list in the Menu Painter).
This addition is also valid for standalone MODULE statements without field assignment.
AT EXIT-COMMAND is only allowed in the PROCESS AFTER INPUT event. A module with this addition is processed before the automatic input checks and before all other PAI modules.
Max -
Fill in all required entry fields 000 55
Hi There,
We have carried out a data load of 17'000 partners in CRM and 15'000 have been replicated correctly to ECC6
The remaining BDOC's are showing the error 000 55, fill in all required fields
However, I cannot get to find which fields are missing, I have looked at the SMQ1 and SMQ2 logs but still cannot get to the root of the problem
Any Ideas?
Reards
SteveHello Steve,
you may debugg this error in the following way, to find out which fields are involved:
1. Display the BDOC in SMW01
2. Enter /h in the transaction code field
3. Press the 'retry to process message' button.
4. In the debugger - select the Settings button and 'In background task
do not process'
5. Enter F8
6. Create a new session for the outbound queue (/osmq1) there will be
an entry R3AUBUPA*** or CSA_BUPA**
7. Double-Click on this queue entry twice and choose Debug for the
CRM_UPLOAD_TRIGGER
8. In the debugger, set a breakpoint at statement 'CALL TRANSACTION' and
then press F8.
9. At this statement double-click on the statement CALL_TRANSACTION and
change the variable CALL_TRANSACTION_MODE from N to A, press the
'change field content' button and then press F8
10. Now you will be in the R/3 System and you can see the batch input
Hope it helps.
Regards, Gerhard -
Empty required field error message
I keep receiving "At lest one required field was empty on export. Please fill in the required (highlighted) fields before continuing." message.
I have changed all required fields to optional, but still get the above message. When I do get the message, there are no fields highlighted to correct and I have gone back thru each field and checked to make sure there are no required fields.
I would like to have 7 fields in my form as required, but even when we tried to put something in the field and submit the form, we received the message. I thought that removing the "required" value would take care of the problem, but the message still comes up.
Can anyone help.Here's something to try...<br />Under some circumstances (such as changing the type of a field), the underlying XML retains values that aren't displayed in the object't properties box.<br /><br />Try clicking on the XML tab, and doing a search for any text that looks anything like this:<br /><validate nullTest="warning"....<br />or <br /><validate nullTest="error"...<br /><br />If you do, that will indicate the cause of the problem.<br /><br />Good luck...<br /><br />Howard
-
ESS: Address Make Telephone required field
Hello ,
I was trying make Telephone Number as required field in ESS - Webdynpro application,
but i could not find the exact place. I was looking at the following DC: ess/per
ess/us/addr, i just found the following code:
fpm.raiseReviewAndSaveEvent(IFPM.EVENT_REVIEW, IFPM.EVENT_SAVE, thisVAC);
I changed the field as required also if the use clicks review then i should display message if the telephone number is not entered.
If anyone have any input on this highly appreciated.
Thanks
VJHi,
You have the detail component for address name VcPerAddressUSDetail.
Mark the layout view of telephone as property STATE=required
Go to component controller and write the following code inside the function onFlush.
You can see the line wdThis.wdGetFcPerAddressUSInterface().modifyRecord(); below of this function.
public void onFlush( )
String TelNumber=wdContext.currentSelectedInfotypeElement().getTelnr();
if (TelNumber== null || TelNumber.equals("")){
wdComponentAPI.getMessageManager().reportException("Please enter the telephone number");
else
wdThis.wdGetFcPerAddressUSInterface().modifyRecord();
Hope this will resolve your problem
Thanks
Kanai -
2LIS_03_UM setup required field
Hi, Guru, I am facing a very strange issue here. When I am in R3 trying to fill the setup table for 2LIS_03_UM, it requires that a value in company code to be provided. We have more than 100 company codes, I really don't want to run setup table by company code 100 times. Here is the error msg if I don't provide a value for the company code. I tried with '*' and hope that it will include all values but that didn't work.
Fill in all required entry fields
Message no. 00055
Diagnosis
You have attempted to update data or start an action. However, not all required information was specified.
System Response
The system could not execute the action.
Procedure
Enter all required information. Fields in which you must enter data are prefilled with a checkmark or question mark ("?") by the system. If the current screen contains tabs, check all tabs to make sure you have filled in all required fields. Then restart the action.
Thanks in advance
ChimeiNo, the company code is a single value selection. I can put ranges for document number, fiscal year or posting date but not company code.
I am not able to post a screen shot but here is the basic layout of the screen. you can see that there is no "to" for the company code below and it is required which is the issue I think. The other fields are all optional.
Archiving Run
Company Code
Accounting Document to
Fiscal Year to
Posting Date to
Name of Run
Termination Date 05/06/2011
Termination Time 16:36:47
Chimei -
Update model, even when required field(s) is/are empty
Hello,
A rather exotic question. :-) EDIT: using JDEV 11.1.1.4
Suppose you have a form that consists of inputTexts and some of them are required (required = true). These come from a data control that is based on a BPM Human Task.
What my customer wants is two buttons: one submit button, and one save button.
The submit button behaves normally: when a required field is not entered, a validation error is shown.
The save button on the other hand, will perform a model update without complaining, even though some required fields could be empty. This would be the Save operation on the BPM Data Control: the values that the user entered are saved (in the BPM engine), but the process does not continue. It's like saving a draft version of the fields you entered, so you can continue filling in the form for example the next day.
How can I achieve this? Where I have gotten so far:
*) If I do not make the "Save" button "immediate", then the client side validation will keep on complaining about the empty required fields.
*) If I make the "Save" button "immediate", then the client side validation is skipped. But the Update Model Values phase is also not executed, so values that the user entered are not stored in BPM. Too bad.
My plan now is making the button immediate, and then overriding page life cycle in case the Save button is pressed. I already created my own implementation of oracle.adf.controller.v2.lifecycle.PagePhaseListener. In the afterPhase() method, I then wanted to check if the current phase is the "Apply request Values" phase (if the button is immediate, then this is the last phase before the "Render Response" phase), and if so, manually call the updateModelValues phase, like this:
public void afterPhase(PagePhaseEvent pagePhaseEvent) {
int id = pagePhaseEvent.getPhaseId();
if(pagePhaseEvent.getPhaseId() == 10 && <user has clicked the SAVE button, not the Submit button>){ // APPLY REQ VALUES
LifecycleContext ctx = pagePhaseEvent.getLifecycleContext().getCurrentInstance();
ctx.getPageController().processUpdateModel(ctx);
}The <user has clicked the SAVE button, not the Submit button> condition will be done through a variable on session scope that is set to true/false depending on the button (save or submit) that was pressed, by using a setActionListener on that button.
Unfortunately, the model is still not updated and I'm kind of stuck... Can anyone help me?
Am I barking up the wrong tree and can this be done a lot easier, or what am I missing?
Thanks a lot!
Edited by: user13805808 on Jan 31, 2011 6:29 AMHello Frank,
Thanks for your quick reply.
The application is actually a bounded task flow that is based on a human task. So after selecting the human task, JDev automatically creates a task flow, and the Data Controls required to show, update, reject, approve, ... the task.
What I do next is drag & drop the payload of the task from the Data Control Palette to my page, and I create buttons for all the necessary operations (such as approve, reject, ...), also from the Data Control Palette. If you then deploy the application, it is automatically associated with the human task, and the page is shown in the Worklist application after selecting an instance of the task.
The operation that I am interested in is called "update", which basically, through the ADF Data Control and ADF model, sends the updated fields back to the BPM engine and saves the updated fields there (in memory, or in the DB, I don't know, but this doesn't matter). This operation is provided by default when creating a task flow based on a human task, and works perfectly if there are no required fields, or if all required fields are submitted. So "temporarily" saving the fields is not the issue.
What I want to achieve now, is have some fields that are required when the user clicks "approve" (one of the basic operations on a task), but optional with the user clicks "update" (another basic operation of a task). Approve would make the process itself continue and the task would no longer be assigned to the user. Update on the other hand would just update the payload in the BPM engine, but the task remains assigned to the user and the process doesn't continue. So if the user logs in at some point later in time, this task (with updated fields) will still be available in his inbox.
The first thing I noticed is that client side validation cannot be disabled anymore in ADF 11g, so the "update" button has to be set to immediate to avoid the validation of the required fields at client side. But if the "update" button is immedate, then the update model values phase in the page life cycle is skipped, so the data that the user entered is never submitted to BPM. Whereas if I set the "update" button to immedate="false", this works just fine. If all required fields are entered, that is. :-)
So - in my opinion - there would be 2 possible approaches if there are fields that should be required for the "approve" operation and optional for the "update" operation.
- Disable the client side validation and don't set the update button to immediate
- Make the "update" button immediate, but force the lifecycle to still perform Update Model Values, if the "update" button is used
The second approach would be the cleanest, but I'm unable to figure out how to do this... I'm a little bit lost in all the classes that are available. :-)
I hope this clarifies my problem...
Regards,
Chris
Edited by: ChrisSchryvers on Feb 1, 2011 4:21 AM
Maybe you are looking for
-
Custo de frete na transferência entre centros MM/SD com remessa
Pessoal boa tarde, Estou com um problema na transferência entre centros. O custo do frete não está gerando o custo complementar no pedido de transferência. Faço a criação do pedido (tipo de pedido 'UB') de transferência pela transação ME21N --> A rem
-
Keyfigure values are incorrect in BEx Query based on infoset
Hi Experts, I have created a infoset using 3 DSO's . 1 main DSO( from which i rquire all the data) is linked with other 2 DSO's using left outer join. DSO is linked with other 2 DSO's with a field return GUID . Now when i am executing a query , key f
-
Can an iphone 5 use airplay with att cell service
My goal is to use an iphone 5 (with cell connection not wifi) connected to a tv using airplay and apple tv (newest version), to search the web in real time using the mirroring feature.
-
Hello, I was searching about this, but until now I found no sufficient or clear answer..... Which communication component set ( and where can you download them ) can be used to develop for FCS 1.5 in Flash 8 Pro ? I'd like to use the AVPresence, Chat
-
How do I open camera raw in bridge?
When I try to open a photo with camera raw, it says, "Camera raw editing requires that a qualifying product has been launched at least once to enable this feature." I've opened Photoshop, which is all I could think to do. I'm brand new to this and wo