Do not process BDC records that result in warnings
Hi Experts,
I have a BDC program to create absences. When the result of the Call Transaction results in a warning, I do not want to process the record. How can I do this BEFORE running the call transaction (since if I find out that there was a warning after I run the program, it is too late).
Thanks
Shane
HI,
try finding out the data for which it is giving a warning message. I mean there will be some indicator where it will give the warning message, Like not having proper data or some blank spaces in any fields, etc. If you find out that your problem will be solved. Before you call the transaction check the data is perfect or not.
Simply check out for common data where it is giving warning.
By this way i suppose you can avoid posting that data.
Regards,
Venkatesh
Similar Messages
-
Need to process the records that are selected using checkbox in an ALV
Hi ..
I am displaying some data in an ALV using the Parent-child relation, the parent records has a check box which is input enabled.
On click of a button on the toolbar, i need the checked records to be fetched and processed.
Please help me on how to fetch the records that are checked..
Thanks,
DerekHello Derek,
Is ALV created using OOPS or using conventional FM?
If you are making use of OOPS technique, then call this method:
CALL METHOD <grid_name>->get_selected_rows.
BR,
Vishal. -
Omit notes during MIDI recording that are not in defined scale
I'm looking for a way to do the following in Logic, but am not sure how to set this up. I want to be able to:
1. Create a new midi track
2. In selected midi track, select a scale (for example, Pentatonic Minor)
3. Press record
4. During recording, only notes played from Pentatonic Minor scale would "register" (make a sound) and be recorded. All other notes pressed on midi controller that are not in Pentatonic Minor would not "register" nor be recorded in the sequencer.
Additionally helpful would be that in the piano roll sequencer after recording, I could only drag notes up or down along the Pentatonic Minor scale. In other words, I would not be allowed to drag a recorded note to another note that is not in Pentatonic Minor. If a note was dragged onto a "disabled" note, it would automatically snap to its nearest neighbor note in the Pentatonic Minor scale. Additionally useful would be to have all disabled notes (notes that are not in the Pentatonic Minor scale) appear to be disabled (grayed out) in the piano roll sequencer.
If this is not possible, is there any feature in Logic that will get me close to doing what I want? If not, is there any other sequencer that does this? I know this is something I could probably do in Max, but I was hoping to be able to do it in Logic. Thanks.Patch this between the PhysicalIn and the SequencerIn in the Environment:
!http://home.arcor.de/fuzzfilth/Other/mod.png!
Get it here:
http://home.arcor.de/fuzzfilth/Other/Modulator.zip
Christian -
Receiving Transaction Processor not processing PENDING records
Good day,
I have pending records sitting in the RCV_HEADERS_INTERFACE, RCV_TRANSACTIONS_INTERFACE and MTL_SERIAL_NUMBERS_INTERFACE. The PROCESSING_STATUS_CODE is set to "BATCH". But when I run the Receiving Transaction Processor nothing happens. The records are still in the interface tables as pending and the PO_INTERFACE_ERRORS table does not get populated with errors.
Kindly help by suggesting what I'm doing wrong. Why is the processor not picking up the records?
Thanking you in advance.How are you trying to receive the items. Is it through iProcurement or Core Purchasing Forms?
-
BDC Recording for Sorting a coloum
Hi All,
I have to do BDC Recording for a transaction.During recording i have to select a coloum and sort it ascending and then do further processing.
BDC recording happens for sorting but not for selecting coloum.
and hence it gives error when we process the recording that "Select a coloum".
can u plz tell me how to add seelcting coloum in BDC recorording.
ThanksHi,
You should try to incorporate your functionality using FIND or POSITION button instead of going for sort option.
Find or position button work very good in this scenerio. With find button you can find the desired entry easily.
Hope this will solve your problem.
Regards,
Brajvir -
Oracle DB Polling Proxy not polling for records concurrently
Problem Description
We have created a Polling Proxy on OSB from a DB Adapter with the below JCA parameters
• PollingStrategy = "LogicalDeletePollingStrategy"
• MarkReadColumn = "STATUS"
• MarkReadValue = "S"
• MarkReservedValue = "R${weblogic.Name-2}-${IP-2}-${instance}"
• MarkUnreadValue = "R"
• PollingInterval = "60"
• MaxRaiseSize = "1"
• MaxTransactionSize = "10"
• NumberOfThreads = "1"
• ReturnSingleResultSet = "false"
The Proxy picks the records when the state change to "R" and updated the state value to "S". When the proxy fails for any reason the State of the record is changed to a Reserved State. When any record is in a reserved State the proxy does not pick other records that are in a State "R" until the row with the Reserved State is removed.
This leaves all the other records un-processed......
Are the JCA configurations correct in our case?
Regards,
Vinay V KrishnanThis may help...
http://javaoraclesoa.blogspot.com.au/search/label/markreservedvalue
Cheers,
Vlad -
Form does not show "new" records from SQL Database
I have a PDF form that pulls data from a SQL Server. The fields in
the PDF are populated from the database after selecting a specific
record from a drop down and then clicking on a button labeled "Fill".
The problem is that the dropdown does not display new records that
have been recently added to the database. I have to open the form up
in designer then save it, (*note - I change nothing at this point.)
Then when the form is opened back up in Adobe the dropdown show all
the records including the new ones. I even put a manual refresh on
form to try and fix this an it did not help. Seriously stumped.
Any help is greatly appreciated.
Here is my code for the dropdown.
++++++++++++++++++++++++++++
topmostSubform.Page1.JobSelect::initialize - (JavaScript, client)
var sDataConnectionName = "BBCC"; // example - var sDataConnectionName
= "Test";
var sColHiddenValue = "ContractAdmin_Key"; // example - var
sColHiddenValue = "Dept_ID";
var sColDisplayText = "JobDescription"; // example - var
sColDisplayText = "Dept_ID"
// Search for sourceSet node which matchs the DataConnection name
var nIndex = 0;
while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
nIndex++;
var oDB = xfa.sourceSet.nodes.item(nIndex);
oDB.open();
oDB.first();
// Search node with the class name "command"
var nDBIndex = 0;
while(oDB.nodes.item(nDBIndex).className != "command")
nDBIndex++;
// Backup the original settings before assigning BOF and EOF to stay
var sBOFBackup =
oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
var sEOFBackup =
oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF",
"bofAction");
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF",
"eofAction");
// Clear the list
this.clearItems();
// Search for the record node with the matching Data Connection name
nIndex = 0;
while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
nIndex++;
var oRecord = xfa.record.nodes.item(nIndex);
// Find the value node
var oValueNode = null;
var oTextNode = null;
for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
{ if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
{ oValueNode = oRecord.nodes.item(nColIndex); } else
if(oRecord.nodes.item(nColIndex).name == sColDisplayText) { oTextNode
= oRecord.nodes.item(nColIndex); } }
while(!oDB.isEOF())
this.addItem(oTextNode.value, oValueNode.value);
oDB.next();
// Restore the original settings
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup,
"bofAction");
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup,
"eofAction");
// Close connection
oDB.close();
++++++++++++++++++++++
Here is code for the refresh button
+++++++++++++++++++++
topmostSubform.Page1.Button27::click - (JavaScript, client)
sourceSet.BBCC.requery();
+++++++++++++++++++++pguerett wrote:
The other thing that might be happening is a refresh issue on the DropDownList. Try adding the command xfa.layout.relayout() after the database connection has been closed.
Paul
Good catch Paul! Would you believe that I have been trying to get this resolved for almost two years! Works perfect now.
Thank you,
- Eric -
New recording does not process
Hello,
I have created a new recording that I immediately try to process and it fails. I can do the same steps outside the recording and it works but within the recording it fails.
The process I recorded using ME38:
Enter a schedule agreement
choose line 1
click "Delivery Schedule"
Choose a line.
Click "Item" > "Components" > "New BOM Explosion" from the menu bar
View the results
Click back
Click save
Here is the code:
start-of-selection.
perform open_group.
perform bdc_dynpro using 'SAPMM06E' '0205'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EVRTN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06E-EVRTN'
'5500000783'.
perform bdc_dynpro using 'SAPMM06E' '0222'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EVRTP(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ET'.
perform bdc_field using 'RM06E-EBELP'
'1'.
perform bdc_field using 'RM06E-TCSELFLAG(01)'
'X'.
perform bdc_dynpro using 'SAPMM06E' '1117'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-ETNR1'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06E-ETNR1'
' 1'.
perform bdc_dynpro using 'SAPMM06E' '1117'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EEIND(01)'.
perform bdc_field using 'BDC_OKCODE'
'=LBST'.
perform bdc_field using 'RM06E-ETNR1'
' 66'.
perform bdc_dynpro using 'SAPLM61Q' '0115'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_field using 'BDC_CURSOR'
'MDBA-MATNR'.
perform bdc_dynpro using 'SAPMM06E' '1117'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-ETNR1'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'RM06E-ETNR1'
' 66'.
perform bdc_transaction using 'ME38'.
perform close_group.
Any suggestions?
Thanks,
MattAnswered in case someone else has this problem.
This problem had to do with the scrolling down to select the last field in ME38. I added code to scroll down to the last item. Then select the 1st line on the page (since I scrolled down to the last item it is now the first and only item on the page). BDC can not communicate back other than system messages so this was the only way I could find to select the last item every time.
PERFORM bdc_dynpro USING 'SAPMM06E' '0205'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06E-EVRTN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RM06E-EVRTN'
wa_pkps-ebeln.
PERFORM bdc_dynpro USING 'SAPMM06E' '0222'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06E-EVRTP(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ET'.
PERFORM bdc_field USING 'RM06E-EBELP'
wa_pkps-ebelp.
PERFORM bdc_field USING 'RM06E-TCSELFLAG(01)'
'X'.
PERFORM bdc_dynpro USING 'SAPMM06E' '1117'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06E-ETNR1'.
PERFORM bdc_field USING 'RM06E-ETNR1'
y_count.
"'1'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMM06E' '1117'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06E-EEIND(1)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=LBST'.
PERFORM bdc_dynpro USING 'SAPLM61Q' '0115'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BACK'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MDBA-MATNR'.
PERFORM bdc_dynpro USING 'SAPMM06E' '1117'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06E-ETNR1'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
PERFORM bdc_field USING 'RM06E-ETNR1'
'1'.
PERFORM bdc_dynpro USING 'SAPLSLVC_FULLSCREEN' '500'.
PERFORM bdc_field USING 'BDC_OKCODE'
'&F03'.
Matt -
SQ02 InfoSet Get Count of Total Number of Records that will be processed
I am developing a query (SQ01) and am currently working on building an InfoSet (SQ02).
The Infoset was set up using a 'Direct read of table'. Next, I'm adding some various fields and then going to Extras and trying to define some code to get the total number of records that my query will be processing. I'm not sure if SAP pulls a filtered result set into a temporary table (by default - if so how could I reference it?) that I can reference or is just pulling in a row at a time in the record processing code, but my question is in regards to getting a record count of how many records are returned in my result set PRIOR TO going through all of the records.
Overall, I'd like to be able to have a field that says Record X of Y. I can get the X part for each line, but cannot get 'Y' until the very end. Any help or ideas would be much appreciated. I've looked around a bunch, but haven't found anything like what I'm requesting.
Query Output would look something like:
Record X1 of Y | Title1 | Amount1
Record X2 of Y | Title2 | Amount2Hi Subin,
I have tossed around this idea in my head, but am trying to figure out how to get the values and selection options from the query screen to incorporate into my Select statement within my infoset. The problem I'm running into is that my user enters a group of account numbers and an ending date that has to be pulled from the SQ01 query screen to the SQ02 infoset code. I've looked around for examples on pulling the data from the query screen, but have been unsuccessful thus far. Say for instance I have 15 specific accounts that the user is entering in and they want any records that have been submitted prior to the end of the current month and the start of the business year.
On my query screen they would enter in something like
Business Year: 2011
Reporting End Date: <= 31.03.2011 (Which equates to all records between 01.01.2011 AND 31.03.2011)
Account #s: 0000, 0001, 0003, 0005, ..., 9999 (These are a variable amount of accounts entered and could include options such as not equal to or even between ranges etc)
In my START-OF-SELECTION code I would need a select like:
NOTE: This is just a pseudo code format, not checked for syntax here
SELECT count(*)
FROM TABLE
WHERE BusinessYear = '2011' AND
RecordDate Between 01.01.2011 AND 31.03.2011 AND
Accounts IN (0000, 0001, 0003, 0005, ..., 9999).
So In this select I need to reference the values in the SQ01. How would I reference the account #'s and whether or not the user has entered an account number and said Not Equal on it etc. This select statement would have to be built on the fly, since it's not guaranteed to be the same for each run.
Thanks,
Mark -
BDC recording not executing last OK code for order technical completion
Hello!
Regarding a QM requirement, I have created a rather simple BDC recording to change the activity type of an order to new ones (based on particular conditions not relevant here) on transaction IW32.
However, if the order is technically complete, I have to cancel the technical completion, change the activity type, and then complete the order technically again (so it remains just the way it was before modification).
The only order types relevant in the requirement are YM01 and YM02. For YM01, the BDC recording works like a charm. But when executing the proper recording for type YM02, the last OK code (i.e. pressing the OK button on the Complete subscreen) is ignored and the process remains incomplete: the orders are never completed technically again.
Here is the recording:
0 T IW32 BS AA X F
SAPLCOIH 101 X
0 BDC_OKCODE /00
0 CAUFVD-AUFNR 80000005
SAPLCOIH 3000 X
0 BDC_OKCODE =WIAR
SAPLCOIH 3000 X
0 BDC_OKCODE /00
0 CAUFVD-ILART 206
SAPLCOIH 3000 X
0 BDC_OKCODE =ARCH
SAPLIWO1 200 X
0 BDC_OKCODE =WTER
0 RIWO1-CLNOT X
Any help would greatly appreciated!
Best regards,
André SantosLeandro, thanks for the answer!
The BDC recording does not work when executed visibly or step by step. After some extensive debugging, I realized that the final screen (the technical complete confirmation screen) is not an actual subscreen, even though it has its own number. That screen is actually generated by an FM, so apparently that's why it's ignored when the BDC is executed.
I found a BAPI to replace that missing step: BAPI_ALM_ORDER_MAINTAIN. However, I'm having a hard time figuring out how to reference the orders I need it to complete. The FM asks for an IT_METHODS table and I couldn't tie the method to the orders:
it_methods-refnumber = ???
it_methods-objecttype = 'HEADER'. "That's what I found on the example, not sure whether this is right or not.
it_methods-method = 'TECHNICALCOMPLETE'.
it_methods-objectkey = ??? "Maybe the order number itself?
APPEND it_methods.
Has anyone used this BAPI before?
Edited by: André Felipe Oliveira dos Santos on Oct 20, 2010 2:18 PM -
Can not create planning function types (for process empty records)
Hi! SAP Experts,
I want to copy 0RSPL_FORMULA to another function types for processing empty records, ZRSPL_FORMULA. I checked this function type via RSPLAN, there is no error!. But when i try to use it in planning modeler. We found the error message "Infoobject 1FORMULA is does not available in version A". Do we need to create this infoobject?... Anyone know, please let me know.
Thanks,
SakeHi!,
Thanks for your help but I've already put that parameter,HIDDENFORMULAVARTAB->1FORMULA, in my planning function, ZRSPL_FORMULA. I validated it and no error found. But when I go to planning modeler, in web browser, and try to create a new planning function based on ZRSPL_FORMULA. I found the problem as I mention in previous message, "infoobject 1FORMULA is not available in version A". I try to search this infoobject in my system. The result is there is no this infoobject in my system. So, my question is do i need to create it with myself? What kind of infoobject i have to create? Key Figures or Characteristics?
Anyway, If I have to do this, why 0RSPL_FORMULA still used as normal.
Brgds,
Sake -
Sync: UPDATE on records that do not exist
I have to similar cases that occur now and then:
1. user syncs from PDA, record ends up in EQ with "Update/delete error :: no data found". (EQ DML: UPDATE)
2. user syncs from PDA, record ends up in EQ with "integrity constraint (MIPSS.FK_EVENT__INSPECTION) violated - parent key not found" (EQ DML: INSERT)
Data ending up in EQ is deleted from the PDA according to the user.
Data is not accessible for deletion by anyone on the server side or on the PDA. I know that the last time this happened, the PDA user INSERTED (created) a new record (INSPECTION) and then UPDATED (edited) it before he did the sync. Is it possible that olite/Mobile server skips an INSERT when syncing or could there be something wrong with my publication?
Marius
Edited by: Marius H on Mar 24, 2009 4:08 AMThe uniqueness of the seqno$$ values is within clientid and tranid$$, so it is possible for the same seqno$$ values to be in a ceq$ table for different users and/or transactions.
In your example (assuming they are for the same clientid), tranid$$ 258 is the first upload (the tranid$$ increased for each sync for the same user), and therefore will need to be processed first. The seqno$$ value for the record for tranid$$ 258 looks like an update, rather than an insert from the range value (higher than the type I for tranid$$ 263) did you change the U to I when trying to fix the problem?
the version$$ values in the cfm$/ceq$ tables do not always have real values
if the record was uploaded as dmltype$$=I, the version$$ will normally be 1 (ie: first version of the record), but when the apply is done then if the PK does not exist, the record will be created and the cvr$ table inserted with version 1. If the PK does exist, then the record will be updated and the version value in the clg$ table added to.
if a record was downloaded to the client it would have a version number from the server, and update to this would normally include this version number so that the apply can check that the update is for that version of the record when checking for conflicts where the data has changed on both the server and the client.
If a record was created on the client and then updated, the version would probably be null as it is likely that this update would be changed to an insert when it is applied
the -1 is possibly a second update to the same record
When the apply process is done, the dmltype$$ from the upload is only used as a guide. for both I and U it tests if the PK exists and if so does an update, if not does an insert. for type D it checks the PK and if it exists, deletes the record, if it does not, then it ignores the record.
The processing order is clientid, tranid$$, seqno$$ -
Execution results panel does not show deleted records
Hi,
For OWB 10.2.0.2, i can succesfully run the mapping. But the Excution Results panel does not show deleted records. Shows 0 eventhough it actually did delete the records.
Does anyone have suggestions?
Thanks,
RajHi,
According to your post, my understanding is that you saw the different results for everything and people search tabs.
It is by design in SharePoint 2013.
There are four search experiences that are available on a default enterprise Search Center results page. Each search experience uses a different result source.
Everything search experience use Local SharePoint Results sources.
People search experience use Local People Results sources.
Local SharePoint Results specify all items from the local SharePoint search index except People items.
Local People Results specify People items from the profile database of the User Profile service application.
More information:
Understanding result sources for search in SharePoint Server 2013
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to delete a in place record that will not undeclare
I have an "in-place" record that will not let me undeclare itself, not sure how it got created but here are some facts about it:
when i first looked at it showed as checked out to (blank). This is different from all of my other in-place records which show as checked out to "System Account". I tried checking it out to me (and it let me) which was strange!! When I
try to undeclare it as a record by using the "compliance details" interface and click the undeclare record link, the reocrd status is changed from "Declared record on 1/17/2011" to "Record". When I go back to the UI it still shows the record with the
little lock on it. If I try to delete the record using the library interface I get the message: "The item cannot be updated because it is locked as read-only". I installed sharepoint manager 2010 (from codeplex) on my server and navigated to this
item in the list and checked out the properties...
in this tool it says "IsReadOnly" = false
if I look at the individual properties of the item i see properties like
ecm_ItmLockHolders value = ecm_InPlaceRecordLock
ecm_ItemDeleteBlockHOlders value= ecm_InPlaceRecordLock
I suspect that this is why ic cannot get rid of the bloody record... i don't know why undeclare doesn't take these locks off (Perhaps because someohw it got checked out to someone other than system). I even tried going iinto the content database
to set the CheckedOutTo column to null. when i did this nothing happened
i tried setting the id equal to the "system account" Id in the content database and the record vanished from the document library (although I can still see it in the content database)...
this is a big mystery for me... all i want is to get rid of a record that somehow has been "corrupted" we have been demoing some third party applications which upload to sharepoint and prerhaps they got the file in this state (its an email .msg format)...
i definitely need to know the recommended way to clean a record that will not let you undeclare it... help! my next course of action will be a ms support call...
krdthe record was declared as part of info mgmt policy (created +1 days, delcare record), then i have another step (declared record + 1 day, start a workflow). I'm trying to delete the record using a workflow (because the OOTB disposition workflow doesn't
work, i'm trying to create my own disposition workflow which undeclares the record first then deletes it). But that is a bit of a side story (I haven't managed to get that working...)
krd -
After updating to Firefox 5 my Realplayer Recorder is not working due to that add on not being compatible. How do I get this to work again?
Blue
It sounds like you restored from an old back-up. Did you back-up just before your software update? It will use your last one and if your last back-up was a ywear old then it will use that one.
In general, if you are getting these messages on your iPhones select logout (when you get that Apple Id request) and then log back in with your newer ID.
Sorry for your losses.
Cheers
Maybe you are looking for
-
How import/deploy .ept files in Portals
Hi All, I am trying to integrate RedDot CMS with SAP Portals. Customer has provided two types of files. One with .epa and other one with .ept extension. I could import .epa file using System Admin, however I am not able to deploy/import .ept files. I
-
Hi Would u please have a look at the following files and tell me why the jsp is not working properly? thanks, C Names.java package tjo; import java.util.*; public class Names { String answer; boolean success; String hint; int numGuesses; public Names
-
Table linking user to BP employee
Hi We have assigned SAP users to BP created in role employee(in. Now we are doing a developemnt for which we require tables through which linkage between SAP user and BP number could be identified. Please help me in this regard. Thanx & Regards Hits
-
Where do I find the place to set my color space and color management policies for Photoshop and ACR?
-
Hi I am currently working on UWL Configuration. I would like to know the relationship between the following in Universal Worklist Administration. uwl.standard(low) uwl.collaboration(low) uwl.webflow(low) Regards Senthil