Problem with Place call in a script with HTTP trigger
Hi!
I'm trying to develop a sample script, associated to an application that has an HTTP trigger. I'm working with UCCX Premium 8.5.1
The trigger is working OK, but the place call output is allways "unsuccessful". The number to call and the redirect number are extensions of the same IPT platform.
Below you will find print-screen of the script. Besides, I'm attaching the .aef file.
Any help would be appreciated. Thanks in advance.
Roy.
The value in your "Call Control Group" must match the "Group ID" in your CM Telephony Call Control Group Configuration
This is from my lab system so the "AgentsLoggedIn" variable would need to contain 1 or 3. You are telling the script which CTI port group to make the call with. You have a 0 in your AgentsLoggedIn so do you have a Group ID of 0?
Your CTI group must be able to make the call so must have the correct partition/Calling Search Space
Graham
Similar Messages
-
Place call is not working in HTTP trigger script
All,
I have basic hello script with HTTP trigger and CUCM trigger configured as well. I am trying to dial out an extension and play an prompt in my script. Running UCCX 7.0.1 with premium license. The place call step doesnt start at all when I do the debug. HTTP trigger and response works fine. Anything I am missing in the script.
Regards
SobanCreate a Contact-type variable. Set the Place Call and Play Prompt to this second contact. You cannot play a prompt or make a call to the triggering contact when the script was triggered by an HTTP contact instead of JTAPI.
-
Sql 2008 R2
Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx.
If I call rs.exe with the various parameters from the command prompt I have success(other than rs.exe using the temp folder, which is a different issue). But when I try to execute the same process from a Visual Basic 6.0 application utilizing
the ShellEx api call, the report creation and output to PDF format do not occur. There is no error raised.
Yes, I wish I could use a newer dev tool but that isn't an option right now. I think this should work. Can ya'll tell me what I'm doing wrong?
sArgs = "-i " & Chr(34) & "'C:\Program Files\Dura Supreme\OrderEntry\RunOrdReports.rss'" & Chr(34) & _
" -s 'http://walnut/reportserver' -v 'DuraOrderNum=" & _
Chr(34) & sOrdDuraID & Chr(34) & "' -e Exec2005 -t"
ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & Chr(34), EShellShowConstants.essSW_SHOWNORMAL, sArgs
TIA,
Jim M.ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & ....
Hello Jim,
The path for rs.exe includes spaces, you should set it in hyphen, as you already did for file "RunOrdReports.rss" in variable "sArgs2
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Hello,
We are a SIP provider in France. More and more of our customers are using the WIFI/SIP features of Nokia mobile phones. They can register without problem, as well as they can get SIP calls on their mobile.
Yet, many of them have problems to place calls. As far as we can see in the SIP traces, it looks like the N95 answers by a CANCEL to a 180 Ringing message.
We have done some tests with a customer with the following configuration :
Nokia N95 8GB
V 20.0.16 28-02-08 RM-320
Is this a known problem ? Would it be possible to get in touch with some developers of the SIP stack to trace this problem ?
Thanks and regards,
Guillaume
Solved!
Go to Solution.I wouldn't be so sure of that. I have an N95-1 registered to my own Asterisk server and I can place calls no problem.
This said, if you want to get hold of Nokia you've come to the wrong place. This is just a forum for users of Nokia products to share information. You should be able to contact a Nokia customer service representative on 0811.004567 and they should be able to pass the message on.
Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you! -
Email CSQ status script for http trigger
Hello,
I have an email csq and need http trigger to monitor the emails, agents, calls etc
Does anyone have a basic script for it
Please let me know.
Thanks
KadsHi!
Can you please tell us who the initiator and the target for this call would be! You can of course have a UCCX script that initiates the call to a specific destination!
Also, please attach a screenshot of the script! Or at least the relevant part of it!
Thanks!
G! -
With JDBC, calling a stored procedure with ARRAY as out parameter
Hi,
I want to use the data type ARRAY as an out parameter in an Oracle stored procedure. I want to call the stored procedure from
my java program using JDBC.
The problem it's i use a 8.1.7 client to acces with oci to a 7.1.3 Database.
With this configuration I can get back a Cursor but not an Array.
Does it's possible ?
Thanks for your help !
MichaklOriginally posted by JDBC Development Team:
It's very similar to other datatype except that it uses OracleTypes.ARRAY typecode and the value is mapped to a oracle.sql.ARRAY instance. The code looks as follows --
cstmt.registerOutParameter (idx, OracleTypes.ARRAY, "VARRAY_TYPE_NAME_HERE");
cstmt.execute ();
ARRAY array = (ARRAY) cstmt.getObject (idx);
Thanks for your reply.
I have to use:-
OracleCallableStatement cs1 = (OracleCallableStatement )conn.prepareCall
( "{call proj_array(?)}" ) ;
for retrieving a collection as an OUT parameter.
This gives me the errors:-
C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Blob getBlob(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
import java.sql.*;
^
C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Array getArray(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
import java.sql.*;
^
C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Clob getClob(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
import java.sql.*;
^
C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Ref getRef(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
import java.sql.*;
^
How do I get rid of these errors?
null -
Impersonating user with Soap calls
I want to create (and delete) calendar items in Outlook 2007 (and Exchange 2007).
I do this with soap calls in SOAP UI 5.0.0.
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://schemas.microsoft.com/exchange/services/2006/types">
<soap:Header>
<typ:RequestServerVersion Version="Exchange2010_SP2"/>
<typ:ExchangeImpersonation>
<typ:ConnectingSID>
<!--<typ:PrincipalName>[email protected]</typ:PrincipalName>-->
<typ:SmtpAddress>[email protected]</typ:SmtpAddress>
</typ:ConnectingSID>
</typ:ExchangeImpersonation>
</soap:Header>
<soap:Body>
<CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
SendMeetingInvitations="SendToAllAndSaveCopy" >
<SavedItemFolderId>
<t:DistinguishedFolderId Id="calendar"/>
</SavedItemFolderId>
<Items>
<t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<Subject>Planning Meeting - 1234</Subject>
<Body BodyType="Text">1234 - Plan the agenda for next week's meeting.</Body>
<ReminderIsSet>true</ReminderIsSet>
<ReminderMinutesBeforeStart>60</ReminderMinutesBeforeStart>
<Start>2014-07-22T14:00:00</Start>
<End>2014-07-23T15:00:00</End>
<IsAllDayEvent>false</IsAllDayEvent>
<LegacyFreeBusyStatus>Busy</LegacyFreeBusyStatus>
<Location>Conference Room 721</Location>
</t:CalendarItem>
</Items>
</CreateItem>
</soap:Body>
</soap:Envelope>
I created an event in my own calendar (without the typ:ExchangeImpersonation part).
So now I want to create an event in an other user's calendar.
I have an admin account, who got al rights to do this.
But when I configure my endpoint and Authorization (NTLM) to the admins credentials, I get this as response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types">a:ErrorImpersonateUserDenied</faultcode>
<faultstring xml:lang="nl-BE">The account does not have permission to impersonate the requested user.</faultstring>
<detail>
<e:ResponseCode xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">ErrorImpersonateUserDenied</e:ResponseCode>
<e:Message xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">The account does not have permission to impersonate the requested user.</e:Message>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Admin got all the rigths to do this (normally).
So how can I create an event in another users calendar, with SOAP calls?
Is this with the use of typ:ExchangeImpersonation ?
TYFixed
For anyone who wants to know:
<SavedItemFolderId>
<t:DistinguishedFolderId Id="calendar">
<t:Mailbox>
<t:EmailAddress>[email protected]</t:EmailAddress>
</t:Mailbox>
</t:DistinguishedFolderId>
</SavedItemFolderId>
And login with admin credentials.
see
http://blogs.msdn.com/b/mstehle/archive/2009/06/16/exchange-api-team-blog-exchange-impersonation-vs-delegate-access.aspx -
Place Call and continue with remaining script steps - is it possible?
We recently picked up IPCelerate which has the ability to send a Text display or Text-to-Speech message to a group of phones simply by dialing a configured directory number. We would like to text our call center agents with this application when a caller has been waiting for X number of loops.
Attempting to use 'Place Call' to initiate this text page works, however, the script terminates immediately after the call is placed and we would like to continue on with the remainder of our script. In this case, on Success go back to the top of the loop.
I have also tried to use Call Subflow instead, thinking an executed sub-routine placing the call would return to the original script and continue on, but it didn't. In both cases, the system comes back and states " I'm sorry, we're currently experiencing system problems and are unable to process your call. Please try again later."
If there's a way to get this to work via Place Call or another process to accomplish the same result, that would be fantastic. I appreciate any feedback.
We're using UCCx Express 5.0 (2.064) with premium type licensing.Hello,
I did get to an answer similar to what r.stockton did to solve the issue, but I left Exception (ContactInactiveException) Goto in ours to isolate exceptions because we have multiple contacts within our script. Turns out that this particular exception was thrown by the PlaceCall step ending abruptly by our paging system answering and hanging up the call quickly. MIVR logs showed that it didn't bomb as immediately as when the debugs showed it crashing - it actually went into a loop over and over with the Trigger contact before failing.
We had some help from TAC on this, but below is what we did to keep some error checking and notification we use available to us. We are running a check to make sure the Call Trigger (original call) is still active.
placecallContact = Place Call (to Number)
on Exception (ContactInactiveException) Goto
label:
CallActive = Get Contact Info (--Trigering Contact--, Active)
If (CallActive) Then
- True branch continues with script
- False Branch terminates call
If this takes the false branch, it means the trigger contact is not active, and has abandoned the call or been transferred elsewhere. Placed an End step here to prevent any loops.
If this takes the true branch, it means the triggering contact is actually still active. In our scenario, CallActive (boolean variable) is verified true and continues with the script without going into the loop of death.
I hope this helps! -
Problem with ExternalInterface.call and Internet Explorer
Hi, I´m developing a site, (
www.gen-studio.com/avelart2
), and I´m using a swf to display a set of thumbs that when
clicked show an item and its description on the browser, those
items might be images or video, everything works fine with the
images.
And actually it works fine with the videos too, when using
Firefox, but when I test the page on Internet explorer it just
doesn’t work!
On principle let me describe how it´s supposed to work,
a thumbnail when clicked sends an id number to javaScript using
ExternalInterface.call(“myFunction”,myId); -I´m
using AS3 for the swf´s-
the javaScript file has already loaded (ever since$(
document).ready) a XML file which uses to match the id with a file
and the description, if the item to show it´s a video, then it
creates a variable which holds a string with the proper html to
embed a swf (a swf movie player that resides just next to the HTML
file), when loaded, the swf movie player uses
ExternalInterface.call() to ask for the source of the video that
has to play, and that function is as follows:
setVideo: function(){
alert("hola");
return comun.miVideo;
(The alert(“hola”); is just to test that the
function is being called), which it is, but it returns null as a
value instead of the proper string, and this happens only on
internet Explorer, but works correctly on Firefox.
I´ve been reading all day about the subject and found a
few interesting things, which though have made me narrow my
problem, they haven´t just provided me with a solution, what I
found so far:
-I must have in account flash security issues: Checked (my
actionScript follows:)
import fl.video.*;
import flash.external.ExternalInterface;
flash.system.Security.allowDomain("*");
var vid:FLVPlayback = this.miPlayer;
vid.source =
flash.external.ExternalInterface.call("comun.setVideo");
-ExternalInterface and Internet explorer don´t work
properly when tested locally: Checked (I have a server on my PC and
I´m testing the site as well in the above direction).
-The object tag holding the swf must have a proper id
attribute: Checked.
-It´s super important the way the object tag is formed:
Checked, and I also tested the tag separately (I put it directly in
the HTML instead of adding it via javaScript) and it worked as
expected in both Firefox and Internet Explorer, which leads me to
believe:
-I read somewhere that if you add the object tag by using
innerHTML or appendChild, returning values from javaScript to swf
won´t work, but I couldn´t find an explanation nor a
solution.
Well, as I said now I´ve been looking all day for an
answer, so I really hope you can help me or give me some advice on
the subject, thank you so much for your time!Hi! it solved itself !! (nahh, I wish), but it indeed had a
solution, it was something quite simple, and I don´t really
understand why it was not working in the first place, but here is
the thing:
I´m learning jquery and this is the first proyect
I´m officially using it, so I was using
$('#myDIV').append("string"); to embed the swf, (and it was working
perfectly on Firefox), so since I had narrowed my problem to those
lines, I decided to try some good-old-fashioned-javaScript and
changed it for: var myDiv =
document.getElementById('thatParticularDiv'); myDiv.innerHTML =
('string'); and it worked both in Firefox and IE !!!!!! :)
I´m quite happy about it, and if someone knows
what´s the issue with my jquery approach I would love to hear
it. THANKS !! -
Problem in calling of stored procedure with variable parameters
Hello!
When we try to call our stored procudure with variable parameter (year and month) we receive various errors.
Here's the dynamic package script code:
DEBUG(ON)
PROMPT(SELECTINPUT,,,"Please select time for restatement",%TIME_DIM%)
TASK(Execute formulas,USER,%USER%)
TASK(Execute formulas,APPSET,%APPSET%)
TASK(Execute formulas,APP,%APP%)
TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\zbpc_to_fm.lgx)
TASK(Execute formulas,RUNMODE,1)
TASK(Execute formulas,LOGICMODE,1)
TASK(Execute formulas,SIMULATION,1)
TASK(Execute formulas,CHECKLCK,0)
Our logic script file (zbpc_to_fm.lgx) code is:
*RUN_STORED_PROCEDURE=ztest('%TIME_SET%')
*commit
The problem occures while transferring the variable parameter %TIME_SET% value.
How can we correctly transfer the selected value of TIME_SET into the procedure?Everything in the debug log looks correct -- the most important lines are the ones indicating the values passed from the user's response to the PROMPT(SELECTINPUT...)
INFO(%CATEGORY_SET%, BUDGET)
INFO(%ENTITY_SET%, 1733)
INFO(%FUND_SET%, )
INFO(%PROJECT_SET%, )
INFO(%TIME_SET%, 2008.NOV)
Are you certain that the stored proc is processing the input parameter for time correctly, when you run it directly in MS Mgmt Studio?
What error messages do you see running it from BPC?
By "customized user authorities" do you mean that the time dimension is secured, and this user has access only to 2008.total and its descendants? If that's the case, the user should be able to see only those members in the action pane / current view, but the SELECTINPUT prompt should only show the base members (and not the year total and quarters). I'm still confused as to why all 12 + 4 + 1 members are passed through to the stored proc. -
I am having weird problem intermittently with adding calls or merging them or swapping them. The issue happens 8 out of 10 times whenever I try to do a conference call. This issue came up after I upgraded to 8,1.2. Never experienced this in 8.1.1 or previous version.
Some of the scenarios that I have experienced is:
1. While on the call, when I try to add a new contact, it just doesn't dial the second number.
2. Sometimes the second number gets dialed, cannot merge the calls.
3. After talking to the second person, cannot go back to the first call.
I am very sure that this is not a carrier issue as it worked flawlessly before upgrade.
Anyone experienced this before? Any suggestions?Thanks for the above infromation. I did a complete restore of my iphone through iTunes connecting it to my computer via cable. iOS8.1.3 was re-installed. I then added back my settings and data which were backed up prior to restoring the phone. I still have the same issue with conferencing and adding a third caller. When I hit the [+] box, the existing caller is not put on hold. The phone appears to be making a call but it is not dialing to the 3rd party. Shortly thereafter, the Merge icon appears but there is no active call to merge with. I have tried this several times using my wife's iPhone and our home phone to set up a 3-way call. I know it is not working because the 3rd phone (our home phone) does not ring. Is this a hardware problem? My wife's iPhone 6 works with no problem and was purchased the same time I purchased my iPhone 6. Probably time for a visit to the Apple Store unless there is another solution.
iPhone 6; iOS 8.1.3; Carrier: Verizon -
Problem with multiple calls to hr_infotype_operation in a loop
Hi,
Im using infotyp 2003 with the following situation. For a date, e.g. 2011/07/20 and a person_nr I have several time entries, like 08:00-09:00, 10:00-12:00, 15:00-17:00. Now I read the entries with HR_READ_INFOTYPE and store them back unmodified with hr_infotype_operation in a loop in the same report.
data: i_p2003 type standard table of p2003.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
* TCLAS = 'A'
pernr = person_nr
infty = '2003'
BEGDA = '20110720'
ENDDA = '20110720'
* BYPASS_BUFFER = ' '
* LEGACY_MODE = ' '
* IMPORTING
* SUBRC =
tables
infty_tab = i_p2003
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2.
loop at i_p2003 assigning <p>.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '2003'
number = person_nr
validityend = '20110720'
validitybegin = '20110720'
record = <p>
operation = 'MOD'
dialog_mode = '0'
IMPORTING
return = return_struct
key = personaldatakey
EXCEPTIONS
OTHERS = 0.
endloop.
the first call to hr_infotype_operation succeeds but the following operations fail because of collision. This example is stupid, I know, but it shows the core of a problem I have in a more complex report.
I face the problem that several calls to HR_INFOTYPE_OPERATION cause a collision error even if there cannot be a collision because the data are unchanged.
Any hints on this.
Regards,
JOPHi, you must execute a 'BAPI_EMPLOYEE_ENQUEUE' before 'HR_INFOTYPE_OPERATION' and a 'HR_EMPLOYEE_DEQUEUE' after.
See next example:
Bloqueo del empleado
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = PERNR.
IF SY-SUBRC IS INITIAL.
Si se pudo bloquear el empleado intenta
insertar el infotipo
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '2001'
NUMBER = P0001-PERNR
SUBTYPE = i_p2001-subty
VALIDITYEND = acdate
VALIDITYBEGIN = acdate
RECORD = i_p2001
RECORDNUMBER = '000'
OPERATION = 'INS'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT = ' '
IMPORTING
RETURN = I_RETURN
KEY = I_KEY.
IF SY-SUBRC IS INITIAL.
VARGT = 'Y'.
ELSE.
VARGT = 'N'.
ENDIF.
No se hace COMMIT debido que el estandar lo realiza
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Desbloqueo del empleado
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = PERNR.
Regards,
Diego. -
Error in calling SQL plus program with parameter from Shell script
This is my Shell script. I am trying to call in the SQL plus program with the parameter and the shell script is registered as a concurrent program.
PARAMETERS=`echo $1 |tr -d '\"'`
DB_USER_ID=`echo $PARAMETERS|cut -d" " -f3|cut -d"=" -f2`
CONN_STRING=$DB_USER_ID
REQ_DATE=`echo $PARAMETERS|cut -d" " -f9|cut -d"=" -f2`
timestamp=`date +%m-%d-%y-%H:%M:%S-%Z`
timestam=`date +%y-%m-%d`
sqlplus -s $CONN_STRING @ar_statement.sql $REQ_DATE
chmod 755 statement.sh
. statement.sh
My Sql plus program is like this.
set pagesize 0
set heading off
set feedback off
spool $GEC_TOP/log/ge_ar_statement.sh
select output_file_name
from fnd_concurrent_requests
where trunc(actual_completion_date) = '&2';
spool off;
exit;
When i run the concurrent program, i am getting the following error:
ar_statement: line 14: REQ_DATE: command not found
Enter value for 2:
User requested Interrupt or EOF detected.
ar_statement.sh: line 1: Enter: command not found
ar_statement.sh: line 2: User: command not found
ar_statement
Program exited with status 127
I am not strong at Unix Porgamming and i would request someone who can
help me out as soon as possible.
I need this solution quickly and thank everyone in advance.
Thanks.Can you put your coding between code statements, like shown in the FAQ. It will be easier to read.
Looking at your script, my first guess is that crontab will not find your sqlplus since your script does not have $HOME/bin in the $PATH. From what I understand, running .profile in your script will not work either because variables are exported to sub-shells, not to the shell above. You can call your script with a dot like . ./script which means that the script will run like it was typed at the command prompt. But it will be less confusing to define appropriate variables in the script. eg.
ORACLE_SID=my_instance_name
ORACLE_HOME=/my_path_to_oracle_home_directory
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$ORACLE_HOME/bin:$PATH
I remember some slightly different way of coding to handle the sqlplus return codes.
For instance:
sqlplus -s /nolog > /dev/null <<-EOF
connect system/manager
@ssm.sql
whenever oserror exit failure
whenever sqlerror exit failure
EOF
sql_err=$?
if [ $sql_err -ne 0 ]; then
echo "FAILURE"
else
echo "SUCCESS"
fiThe - in -EOF supresses tab's
Using connect will prevent ps from showing your login credentials
In some versions of bash the ending EOF needs to be at the beginning of the line to work.
Edited by: waldorfm on Jul 14, 2010 7:05 PM
complaining about putting code between code delimiters and forgot myself ;-)
Edited by: waldorfm on Jul 14, 2010 7:08 PM
Btw, if you "source" a script running it like . .script, than an exit in that script will log you out. -
downloaded acrobat reader 11 onto my Mac Book Pro, it can open the file but will not print. Get a message that says PDF cannot be printed, however, I forwarded it to someone else and they could print it, no problem. I called HP and spent an 1hour with them and then called Apple support and worked with them for 3 hours. No one can figure it out. Is there something wrong with this version? the pdf was created in 2004. Do I have to pay to get Acrobat?
Let me give you a slightly different perspective than everyone else here. You are using an unsecured wireless network, which means that all your network traffic is easily available for viewing by anyone else using that network. That's bad. Very bad, for you, unless you absolutely trust everyone who lives within range of this network. So stop doing it.
As to the Mac not connecting, wireless networking is simply too complex for any reasonable answer without more information. There are many possible error points, and as often as not it's the Mac that can connect and the Windows PC that cannot. Since you can't give us any information about the configuration of the neighbor's network, and can't make any changes to it, we can't do much to help you troubleshoot it. -
Problems with a call transaction
Hi, I'm having some problems with a call transaction and I cannot understand why. I put A in the mode, and I am seeing the dynpros and I am pressing enter it works perfectly but when I use mode N it tells me that there is not information for one of the dynpros and it doesn't work. Does anybody know the problem and how to solve it??
Thanks in advanceHi,
First of all thank you very much for your time.
I am using FB05 and the problem is in dynpro SAPLKACB 0002, and it says that batch input data doesn't exist. Here is the code, maybe you can see what is happening
LOOP AT t_resumen WHERE belnr = t_batch-belnr AND
( contador = 3 OR contador = 4 or CONTADOR = 5 ).
READ TABLE t_clave WITH KEY belnr = t_resumen-belnr.
d_clave = t_clave-bschl.
i = i + 1.
CASE i.
WHEN 1.
PERFORM bdc_dynpro USING 'SAPMF05A' '0700'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'RF05A-NEWBS' t_resumen-bschl.
PERFORM bdc_field USING 'RF05A-NEWKO' t_resumen-hkont.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_wrbtr = t_resumen-wrbtr.
REPLACE '.' WITH ',' INTO j_wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' j_wrbtr.
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
WHEN t.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'RF05A-NEWBS' t_resumen-bschl.
PERFORM bdc_field USING 'RF05A-NEWKO' t_resumen-hkont.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_hkont = t_resumen-hkont.
j_clave = t_resumen-bschl.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.
j_wrbtr = t_resumen-wrbtr.
REPLACE '.' WITH ',' INTO j_wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' j_wrbtr.
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
WHEN OTHERS.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'RF05A-NEWBS' t_resumen-bschl.
PERFORM bdc_field USING 'RF05A-NEWKO' t_resumen-hkont.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_hkont = t_resumen-hkont.
j_clave = t_resumen-bschl.
PERFORM bdc_dynpro USING 'SAPMF05A' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
j_wrbtr = t_resumen-wrbtr.
REPLACE '.' WITH ',' INTO j_wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' j_wrbtr.
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
ENDCASE.
READ TABLE t_porcentajes WITH KEY gjahr = t_resumen-zzbad
zzbtd = t_resumen-zzbtd.
IF j_hkont = t_porcentajes-cfacpr.
PERFORM bdc_field USING 'COBL-PRCTR' t_porcentajes-prctrfac.
PERFORM bdc_field USING 'COBL-ZZBTD' t_resumen-zzbtd.
PERFORM bdc_field USING 'COBL-ZZBAD' t_resumen-zzbad.
ELSEIF t_resumen-hkont = t_porcentajes-cadmin.
PERFORM bdc_field USING 'COBL-KOSTL' '20801'.
ELSEIF t_resumen-hkont = t_porcentajes-creca.
PERFORM bdc_field USING 'COBL-KOSTL' '20401'.
ELSE.
IF d_clave = 01 OR d_clave = 04 OR d_clave = 40 OR d_clave = 09.
IF j_hkont >= 424001 AND j_hkont <= 424005.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ELSEIF j_hkont >= 424601 AND j_hkont <= 424605.
IF j_clave = 40.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ENDIF.
ENDIF.
ELSEIF d_clave = 11 OR d_clave = 12 OR d_clave = 14 OR d_clave = 50.
IF j_hkont >= 424001 AND j_hkont <= 424005.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ELSEIF j_hkont >= 424601 AND j_hkont <= 424605.
IF j_clave = 50.
PERFORM bdc_field USING 'COBL-PRCTR' 'DUMMY'.
ENDIF.
ENDIF.
ENDIF.
*Fin modificacion marzo 2007.----
PERFORM bdc_field USING 'COBL-ZZBTD' t_resumen-zzbtd.
PERFORM bdc_field USING 'COBL-ZZBAD' t_resumen-zzbad.
PERFORM bdc_field USING 'COBL-ZZBTT' t_resumen-zzbtt.
PERFORM bdc_field USING 'COBL-ZZBTU' t_resumen-zzbtu.
PERFORM bdc_field USING 'COBL-ZZBTS' t_resumen-zzbts.
PERFORM bdc_field USING 'COBL-ZZBAG' t_resumen-zzbag.
PERFORM bdc_field USING 'COBL-ZZBRE' t_resumen-zzbre.
PERFORM bdc_field USING 'COBL-ZZBC8' t_resumen-zzbc8.
PERFORM bdc_field USING 'COBL-ZZBC9' t_resumen-zzbc9.
ENDIF.
ENDLOOP.
Maybe you are looking for
-
Problems with creating a USB boot device for Windows 8.1
My iMac (late 2012) running OSX Mavericks is encountering problems creating a Windows 8.1 install disk via a USB thumbdrive. The drive has 8gb of space available, which is enough to fit windows. But when I choose my ISO image and select the drive I r
-
Thank you in advance!
-
How can I export TB address book without stripping leading zero ?
When I export a Thunderbird address book to a CSV file some leading zeros are stripped by MS excel 2007. Please advise. The aim is to export to a csv file, edit the data in the spreadsheet, and then re-import the revised csv file into TB.
-
I did a re-install because of other issues and for the life of me, I cannot get Compiz to start when I boot my machine. I have to pull up the icon and then it starts. I am using compiz with gtk-window-decorator instead of Emerald. This is what my s
-
Hi all, Having a bit of a problem here. In Pages, I redefined Header 1 and Header 2, then created two new styles below that, Header 3 and Header 4, all with different formatting. Then, I saved the document. Then, because I always wanted these styl