Sales agent assignment incomplete error i showing
hi..
while creating advertising order in status tab "sales agen assgn incomplete" is checked.
Actually i didnt enter any sales agen in order entry tab. though i dont want create ad order without sales agent i am getting the error sales agen assgn incomplete".
Please tell me how to resolve this issue.
regards
ashok
Hello Ashok,
Due to Incorrect Sale Agent master data, you might get this error in status tab page.
Kindly check below data in Sale agent contract master data by using transaction JJV2.
1. Check Requirement
2. Valid From and Valid To
3. Qualifies for Commission indicator
Best Regards,
Chandramohan
Similar Messages
-
Agent Assignment showing error "Please position the cursor correctly"
Hi Friends,
I have a strange problem that has come up suddently in the development client. The "Agent Assignment" which was happening earlier is not working anymore. Instead it is showing an information message "Please position the cursor correctly". I am doing the agent assignment the same way i used to do it earlier but its not happening. I tried changing the agent assignment for most of the task types including the "Activity" task, "Decision" task. But nothing seems to work....
The agent assignment is happening in Sandbox client but not in Development client.
Is it some BASIS side settings ?? What may be the exact cause ??
Please help.
Thanks,
Shashank ShiraliYou do not have the proper authorization to do the agent Assignment. Take a SU53 dump and you will find our which authorization is missing and ask the Security folks to provide the authorization.
Thanks
Arghadip -
User exit to update the incompletion log in sales order for pricing error
Hi experts,
I have to check the some mandotory pricing conditions in sales order, if that conditions are not exist in sales order then i need to show the information message as well as i need to update it in incompletion log of sales order. (incopletion log we can see on menu bar 'EDIT' or ctrl+F8 on main screen of VA01). So that user can save the sales order but it will be in incomplete status.
I have completed it upto showing the information message using user exit 'MV45AFZZ', but after this i don't know how to update it in incompletion log of sales order for pricing. I tried to update in tables VBUK-UVPRS, but i am not getting the desired result.
Please anyone can tell me how to update it. In which user exit i can update the incompletion log.
Thanks and Regards,
Vicky.Hi Vinod,
I am sending you my code please check it,
if TKOMK-SPART = 10.
if XKOMV is not INITIAL.
clear v_JEXP.
READ TABLE XKOMV with key kschl = 'JEXP'.
if sy-subrc = 0.
check XKOMV-kwert = 0.
message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
v_JEXP = 'X'.
else.
message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
v_JEXP = 'X'.
endif.
if v_JEXP = 'X'.
XVBUV-MANDT = sy-mandt.
XVBUV-POSNR = '000010'.
XVBUV-TBNAM = 'VBAP'.
XVBUV-FDNAM = 'PRSOK'.
XVBUV-FEHGR = 20.
XVBUV-STATG = '06'.
XVBUV-FCODE = 'PKON'.
XVBUV-SORTF = 9999.
XVBUV-LFDNR = 0000.
XVBUV-UPDKZ = 'I'.
append XVBUV.
endif.
endif.
endif.
Please suggest something to solve this.
Thanks and Regards,
Vicky. -
Agent Assignment Doesn't work For Some Users
Hi all,
In OOCU_RESP there are four agents in a responsibility. But only one (say A) of the four gets tasks in Inbox. The other three (say B, C, D) get nothing.
I removed A from the responsibility and B, C, D still get nothing. In SWIA the log shows no agent assigned. But in SWI2_DIAG there is no error info.
In OOCU_RESP, Simulate rule resolution, i can get all 4 agents assigned.
I feel like there is something wrong with B, C, D's SAP account settings. But I have no clue what it can be. Advise please!Hi Dayong
Please check the Agent Assignment settings of the task used for sending the WI to the users. Is the task set to General task or specific agents are listed there?
PFTC->Supply the Task-> Additional Data -> Agent Assignment
Also, check if these agents are listed in Excluded agents in the Workflow Step.
regards,
Modak -
Agent assignment to workflow task
Hi all,
1) I have assigned a workflow(sub workflow) in a activity step in main workflow and assigned workflow task no ws99900258 in that step.i have tried to assign agents as general task.
i couldn't do it.its showing that please place the cursor..some thing.
Kindly let me know how to assign to a workflowid.
2) in another workflow i am facing the problem is "mandatory import element(workflow container object(z_plm_sbc) is not explicitly provided".
Kindly let me know how to rectify this error.
Regards,
Ramesh.Hi Ramesh,
1. Open the workflow ws99900258 in tcode PFTC,
Menu options -- > additional data-->agent assignment --> maintain --> select your workflow (this is where you are missing)
click on "atttributes' buttone..
Make it as general.
2. In your workflow some of the elements are mandatory, pass the required value into that element.
This is you have to mention in the Binding ..
Regards,
Murali Krishna, -
Agent assignment problem for activity in workflow
Hi Experts,
I have created an activity task for calling MM02 transaction in my workflow. I need to send this workitem to multiple people. I am using an expression in the place of agent assignment available in Control tab of the task. Now this assignment is not recognized by workflow, it shows error "Task TS90000070 has no agent assignment. Please suggest how to fix it, or if there is any other method available to send workitem to multiple people. Note: I am not using standard organizational management feature here.
Thanks,
AshokHi Ashok,
It seems you have not assigned possible agent for this task. Please follow these steps.
Execute PFTC transaction and take 90000070 in change mode.
Now goto Additional Data -> Agent Assignment -> Maintain.
This will take you to another screen where you can find the task 90000070. Click on the first button (Create Agent Assignment) on the application toolbar. This way you can assign an agent if you are using organizational management.
If not, then make it as a general task. For this click on the 'Attributes' button and select the 'General task'.
Hope this is helpful.
Thanks
Vinod -
I have assigned standard task as General Task in agent assignment but why there is a red flag beside the agent assignment property in task property like the image below?
Hi Atiq
Now that's concerning.....!!!
This error usually shows up when the workflow is not able to resolve the outcome of the decision....no branch is there for the selected decision.
Since, the standard workflow is also going in an error....this is something wrong...
Did anyone play around with the standard decision task?
I am not sure if this will help, try generating the task and standard workflow by executing the FM SWD_WFD_REPLICATE_FROM_9999 from SE37 directly. First, generate the task (give full task ID TS00008267 as the input and execute; and then the standard verification workflow in the next exec).
Try and test again...if this works, generate your custom workflow again like this.
The above is a pure guess and I am not sure if this will work.
Regards,
Modak -
Sales organisation assignement with plant
Hello guys,
Happy new year to all,
We created a new plant ,maintain all necessary settings related to SD enterprise structure.
But when we see it in T001w table for enterprise structure,it is not showing
1)sales org.
2)dist channel
3)shipping point
Can you help me out here...
I am not a SD guy so please help me in this issue...
Enjoy SAP...Hiiii
Table T001W is the master table of Plant. that show the all plants created in your system if it is not showing in the table that means plant not created. Now if you are getting the issue of plant during Sales order processing please ensure following
Whether the Sales organisation assign to Company Code (company code Which is assigned to your plant)
Whether Plant is assigned to Company code ( company code Which is assigned to sales Organisation)
Make proper assignment with Sales Organisation -- Distribution Channel -- Plant (this assignment make it delivering plant)
hope it will solve the problem. If not please let me know the exact error message
Regards
Shambhu Sarkar -
SCOM agent install fails Error 80070035 - the network path was not found
I have deployed SCOM 2012 agents to most servers (2008, 2008 R2, 2012, 2012R2) in our estate but some either fail to install or are not monitored. I assume the two problems are related, but for now I am concentrating on the servers that fail completely.
Installation is from the Discovery Wizard and I have about 20 servers that fail of various server versions.
So looking at one specific server that is failing to install the agent - a 2008 standard service pack 2
The firewall in on and file and printer sharing is enabled for domain, remote administration is enabled for domain
I added a specific rule to allow TCP 5723 and 5724
DCOM is enabled
I can Ping the target server from the SCOM server by both name and FQDN - both return the same IP and our DNS server has only one entry for this server
I can browse to the admin share \\server\C$ from the SCOM Server, using the same account that I specify for the agent install that is a domain admin with rights on this server (and on the other servers the agent
did install to) and the server has plenty of disk space available
I am not sure what else to look at so would welcome any ideas
ThanksHi Petro,
I have a Agent installation failure cheat sheet, For your error 80070035 it is said to perform a manual installation.
So i would like to understand which version of SCOM is this ? 2007 R2 or 2012 or 2012 r2 ?
Also check if your agents have the WMI service started and enabled ?
Also if yours is a SCOM 2007 R2 do you have a RMS & MS in your management group ? If yes then Pushing the agent installation from MS may cause such issue. So would suggest you push the installation from RMS.
Also check if your Network connectivity meets the minimum requirement as recommended by SCOM. Below is applicable for Both SCOM 2007 R2 & SCOM 2012 & 2012 R2.
Component A
Component B
Minimum Requirement
Root management server or management server
Agent
64 Kbps
Root management server or management server
Agentless
1024 Kbps
Root management server or management server
Database
256 Kbps
Also check if you have any Anti virus / Firewall which is blocking the install / communication. If yes disabe or add the "Monitoringhost.exe to the safe list or what your feature is.
Check if you have another IP assigned to the NIC card and remove it tempraurly andchecl.
Also post the event logs of the Agents which are in not monitored state for analysis.
SCOM Agent installation failure error codes
Error
Error Code(s)
Remediation Steps
The MOM Server could not execute WMI Query "Select * from Win32_Environment where
NAME='PROCESSOR_ARCHITECTURE'" on computer server.domain.com
Operation: Agent Install
Install account: domain\account
Error Code: 80004005
Error Description: Unspecified error
80004005
1. Check the PATH environment variable. If the PATH statement is very long, due to lots of installed third party software - this can
fail. Reduce the path by converting any long filename destinations to 8.3, and remove any path statements that are not necessary.
2. The cause
could be corrupted Performance Counters on the target Agent.
To rebuild all Performance counters including extensible and third party counters in Windows Server 2003, type the following commands at a command
prompt. Press ENTER after each command.
cd
\windows\system32
lodctr /R
Note /R is uppercase.
Windows Server 2003 rebuilds all the counters because it reads all the .ini files in the C:\Windows\inf\009 folder for the English operating system.
How to manually rebuild Performance Counter Library values
http://support.microsoft.com/kb/300956
3. Manual agent install.
The MOM Server could not execute WMI Query "Select * from Win32_OperatingSystem" on
computer “servername.domain.com”
Operation: Agent Install
Install account: DOMAIN\account
Error Code: 800706BA
Error Description: The RPC server is unavailable.
8004100A
800706BA
1. Ensure agent push account has local admin rights
2. Firewall is blocking NetBIOS access
3. Inspect WMI health and rebuild repository if necessary
4. Firewall is blocking ICMP (Live OneCare)
5. DNS incorrect
The MOM Server failed to open service control manager on computer "servername.domain.com". Access is Denied
Operation: Agent Install
Install account: DomainName\User Account
Error Code: 80070005
Error Description: Access is denied.
80070005
80041002
1. Verify SCOM agent push account is in Local Administrators group on target computer.
2. On Domain controllers will have to work with AD team to install agent manually if agent push account is not a domain admin.
Disable McAfee antivirus during push
The MOM Server failed to open service control manager on computer "servername.domain.com".
Therefore, the MOM Server cannot complete configuration of agent on the computer.
Operation: Agent Install
Install account: DOMAIN\account
Error Code: 800706BA
Error Description: The RPC server is unavailable.
800706BA
1. Firewall blocking NetBIOS ports
2. DNS resolution issue. Make sure the agent can ping the MS by NetBIOS and FQDN. Make sure the MS can ping the agent by NetBIOS
and FQDN
3. Firewall blocking ICMP
4. RPC services stopped.
The MOM Server failed to acquire lock to remote computer servername.domain.com. This means there is already an agent management operation proceeding
on this computer, please retry the Push Agent operation after some time.
Operation: Agent Install
Install account: DOMAIN\account
Error Code: 80072971
Error description: Unknown error 0x80072971
80072971
This problem occurs if the LockFileTime.txt file is located in the following folder on the remote computer:
%windir%\422C3AB1-32E0-4411-BF66-A84FEEFCC8E2
When you install or remove a management agent, the Operations Manager 2007 management server copies temporary files to the remote computer. One
of these files is named LockFileTime.txt. This lock file is intended to prevent another management server from performing a management agent installation at the same time as the current installation. If the management agent installation is unsuccessful and
if the management server loses connectivity with the remote computer, the temporary files may not be removed. Therefore, the LockFileTime.txt may remain in the folder on the remote computer. When the management server next tries to perform an agent installation,
the management server detects the lock file. Therefore, the management agent installation is unsuccessful.
http://support.microsoft.com/kb/934760/en-us
The MOM Server detected that the following services on computer "(null);NetLogon" are not running. These services are required for push
agent installation. To complete this operation, either start the required services on the computer or install the MOM agent manually by using MOMAgent.msi located on the product CD.
Operation: Agent Install
Remote Computer Name: servername.domain.com Install account: DOMAIN\account
Error Code: C000296E
Error Description: Unknown error 0xC000296E
C000296E
1. Netlogon service is not running. It must be set to auto/started
The MOM Server detected that the following services on computer
"winmgmt;(null)" are not running
C000296E
1. WMI services not running or WMI corrupt
The MOM Server detected that the Windows Installer service (MSIServer) is disabled on computer "servername.domain.com". This service is
required for push agent installation. To complete this operation on the computer, either set the MSIServer startup type to "Manual" or "Automatic", or install the MOM agent manually by using MOMAgent.msi located on the product CD.
Operation: Agent Install
Install account: DOMAIN\account
Error Code: C0002976
Error Description: Unknown error 0xC0002976
C0002976
1. Windows Installer service is not running or set to disabled – set this to manual or auto and start it.
The Agent Management Operation Agent Install failed for remote computer servername.domain.com.
Install account: DOMAIN\account
Error Code: 80070643
Error Description: Fatal error during installation.
Microsoft Installer Error Description:
For more information, see Windows Installer log file "C:\Program Files\System Center Operations Manager 2007\AgentManagement\AgentLogs\servernameAgentInstall.LOG
C:\Program Files\System Center Operations Manager 2007\AgentManagement\AgentLogs\servernameMOMAgentMgmt.log" on the Management Server.
80070643
1. Enable the automatic Updates service…. Install the agent – then disable the auto-updates service if desired.
Call was canceled by the message filter
80010002
Install latest SP and retry. One server that failed did not have Service pack installed
The MOM Server could not find directory \\I.P.\C$\WINDOWS\. Agent will not be installed on computer "name". Please verify the required
share exists.
80070006
1. Manual agent install
Possible locking on registry?
http://www.sysadmintales.com/category/operations-manager/
Try manual install.
Verified share does not exist.
The network path was not found.
80070035
1. Manual agent install
The Agent Management Operation Agent Install failed for remote computer "name". There is not enough space on the disk.
80070070
1. Free space on install disk
The MOM Server failed to perform specified operation on computer "name". The semaphore timeout period has expired.
80070079
NSlookup failed on server. Possible DNS resolution issue.
Try adding dnsname to dnssuffix search list.
The MOM Server could not start the MOMAgentInstaller service on computer "name" in the time.
8007041D
80070102
NSlookup failed on server. Possible DNS resolution issue.
Verify domain is in suffix search list on management servers.
The Agent Management Operation Agent Install failed for remote computer "name"
80070643
1. Ensure automatic updates service is started
2. Rebuild WMI repository
3. DNS resolution issue
The Agent Management Operation Agent Install failed for remote computer "name". Another installation is already in progress.
80070652
Verify not in pending management. If yes, remove and then attempt installation again.
The MOM Server detected that computer "name" has an unsupported operating system or service pack version
80072977
Install latest SP and verify you are installing to Windows system.
Not discovered
Agent machine is not a member of domain
Ping fails
1. Server is down
2. Server is blocked by firewall
3. DNS resolving to wrong IP.
Fail to resolve machine
1. DNS issue
The MOM Server failed to perform specified operation on computer "name". Not enough server storage…
8007046A
1. This is typically a memory error caused by the remote OS that the agent is being installed on.
There are currently no logon servers available to service the logon request.
8007051F
1. Possible DNS issue
This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version
of the Windows Installer service.
8007064D
1. Install Windows Installer 3.1
The network address is invalid
800706AB
Possible DNS name resolution issue.
Tried nslookup on server name and did not get response.
Verify domain is in suffix search list on management servers.
The MOM Server failed to perform specified operation on computer servername.domain.com
80070040
1. Ensure agent push account has local admin rights
The MOM Server detected that the actual NetBIOS name SERVERNAME is not same as the given NetBIOS name provide for remote computer SERVERNAME.domain.com.
80072979
1. Correct DNS/WINS issue.
2. Try pushing to NetBIOS name
Gautam.75801 -
Changes in Customizing for agent assignment do not transport well
Hi,
We have made changes in some tasks regarding agent assignment (we select the option 'General Task' in the Attributes button). This generates a Customizing request.
After releasing these 2 requests (Customizing and Workbench), we transport them from Development to Test. But when checking the new workflow in Test, the Customizing modifications regarding agent assignment do not occur.
We have tried the two possible sequences of transporting the requests: first Customizing and then Workbench, then the other way, with same results.
Is there any specific order that should be followed to correctly transport Customizing and Workbench requests?
I appreciate your help!
Regards,
IvsonThanks a lot,
Our wf doesn´t use organizational structure, but checking the transport logs as you suggested (that´s what I should've done first!), has shown an error of type 12 in the last Customizing requests we have sent.
The log error's header says
'Method execution 08.09.2006 16:01:39 (12) Canceled',
Going to the details,
'Execution of programs after import (XPRA)'
'Ended with return code: ===> 12 <==='
There is also one Workbench request with the same type of error.
All clues are welcome,
Best regards,
Ivson -
Inconsistency in Sales Orders Assignment in Planning Book
Hi Experts
When i create sales Orders in ECC,sales orders are assigned to the Planning Book but some times when i change the Quantity for the existing salers Orders , Changes are not getting reflected in the Planning Book Immediatly.
Some times system is giving pop up like 'sales order does not exist'.
When i delete existing sales order in ECC, the incomming Qty in Planning book should be changed to zero, but its not reflecting.
What measures we need to take to prevent such inconsistencies?rds
Thanks in Adavance
Regards
VasuHi Vasu,
In general, the above are product allocation consistency checks which
checks the following
These will display the confirmation date, quantities, used product
allocation settings, sales order , product etc.,
1) Checks if is there any single assignments without an incoming
orders quantity
2) Checks if is there any single assignements without a sales order
due to error
3) Checks if is there any single assignements without a characteristic
combination in place.
SAP recommends to check the affected sales orders again.
Regards
R. Senthil Mareeswaran. -
Sales agent commision in the SO
Hi,
In our system we want to configure sales agent commision in the sales order, requirement is in the saels order we want to enter the customer code for which we want to pay the commiision the commision amount we want to put manually and whenever the invocie is posted for that SO the total amount should be credited in the sold to party customer code and the commision amount separatly for the commion agent , can u give the stpe for this we have to create differett customer code or vendor code for the agent how to add that commision amount in the sales order header and that amount to be pay only aftre receiving th epayment from customer.
regards,
zafarHi.
I think you can create a sales / service partner (Vendor) and do mintain partner determination. also maintain a condition type with an option to feed value manually, it should be assigned to an accruals "ERU" type conditionm in Pricing procedure ( some what like Rebate processing) and further you also refer to the following link for assistance
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/105c1ac6-9d56-2d10-af9e-c747c98439d8?QuickLink=index&overridelayout=true
Regards
DSR
Edited by: D.Srinivasa Rao on Nov 28, 2011 1:27 PM -
Hi Experts,
I have created a custom workflow which has a user decision step. We have used a rule for agent assignment and we have also maintained General task: can be edited by all users. We have implemented deadline monitoring for this step.
When we moved this workflow to QA, agent assignment (General task: can be edited by all users) was not transported.
Now when we executed the workflow, agent was not determined, but still deadline emails were triggered.
Is this correct ? Shouldnt the workflow go into an Error state as no agent was determined ?
Note: I know that we can transport agent assignment using RE_RHMOVE30.
Thanks.Requested start states , when the workitem must be sent to user's inbox, In Simple, it mentions after how much interval of time the workitem will in the user's inbox
In your case after 3 Mins of.... (check it) the workitem will be in the user's inbox,
and coming to Latest End , it is a grace period to user to act on the workitems, if user does not act on the workitem then this deadline is reached, in your case teh suer has give one day , if he does not act on the workitem with in one day the deadline is reached. -
Function Module to Insert Agent assignment upon creation of Responsibility
Hi Friends,
Using BDC I am able to create Resposibilities in Responsibilities tab of PFAC tcode.
I need to insert Agent assignment under created Responsibility.
Actually In Tcode PFAC I enter Rule then select change button this will lead us to next screen there i select Responsibilities tab
there I select create button then it will give a pop-up in that i will enter Object abbr. and Name then i will select continue.
then next i will enter category then select save.
Up to this using recording I am able to create Responsibilities but here i need to come back and i need to select just now created
Responsibility and i need to select insert agent assignment icon then it will give popup there i need to select Orgnizational unit then continue then it will give small popup ther i need to give search term (what ever we entered in Object abbr.) then continue again one popup will come ther we need to select that Org.unit check box then continue then it will one more popup there i need to select create then it will be inserted under Responsibilitty.
In the above entire explanation I am able do upto create Responsibilities but to insert agent assignment we need to come back after save but it is not possible through Recording because after save Recording will be ended.
So could you please guid me how to insert agent assignment under just created Responsibility.
If there is any function module to do that please suggest me .
Thanks
ChanduHi,
I tried like that also.
Whenever we need to insert agent assignment under just created Responsibility we need to select just created responsibility
created by first BDC . But in seccond BDC WITH TCODE OOCU_RESP Recording is not capturing that action (selecting just created Responsibility).
It is giving the message 'You did not select a valid object' in the status bar.
So It is unable to insert agent assignment under responsibility.
I think there would a function module which insert agent assignment under selected responsibility.
If anybody knows please suggest me or am I making any mistake ?
If you would like to see my code pls find below.
*& Report YCRM_CREATE_REPBLT_AGENT
REPORT ycrm_create_repblt_agent.
*Selection Screen
PARAMETERS : p_rule TYPE pdtask-seark OBLIGATORY,
p_file TYPE rlgrap-filename OBLIGATORY.
*Data Declarations
TYPES : BEGIN OF ty_resp,
short TYPE p1000-short,
stext TYPE p1000-stext,
category TYPE ro_expr, "EDIT_BIND_DEF-EXPR_LOW(02),
END OF ty_resp.
DATA : it_resp TYPE TABLE OF ty_resp,
wa_resp TYPE ty_resp,
p_file1 TYPE string.
DATA : it_bdcdata TYPE TABLE OF bdcdata,
wa_bdcdata TYPE bdcdata,
it_bdcmsgcoll TYPE TABLE OF bdcmsgcoll,
wa_bdcmsgcoll TYPE bdcmsgcoll.
*Constants Declarations
CONSTANTS : c_x TYPE c VALUE 'X',
c_tcode(4) TYPE c VALUE 'PFAC',
c_mode TYPE c VALUE 'A'.
*AT SELECTION-SCREEN event for providing f4 help for input file
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
PERFORM file_on_f4.
*Start of selectin event.
START-OF-SELECTION.
File Upload
PERFORM upload_file.
*BDC Logic
PERFORM bdc_to_create_rep.
*& Form BDC_DYNPRO
text
-->P_0061 text
-->P_0062 text
FORM bdc_dynpro USING fp_program "value(p_0061)
fp_dynpro. "value(p_0062).
CLEAR wa_bdcdata.
wa_bdcdata-program = fp_program.
wa_bdcdata-dynpro = fp_dynpro.
wa_bdcdata-dynbegin = c_x.
APPEND wa_bdcdata TO it_bdcdata.
ENDFORM. " BDC_DYNPRO
*& Form BDC_FIELD
text
-->P_0066 text
-->P_0067 text
FORM bdc_field USING fp_fnam "value(p_0066)
fp_fval. "value(p_0067).
CLEAR wa_bdcdata.
wa_bdcdata-fnam = fp_fnam.
wa_bdcdata-fval = fp_fval.
*WA_BDCDATA-DYNBEGIN = C_X.
APPEND wa_bdcdata TO it_bdcdata.
ENDFORM. " BDC_FIELD
*& Form FILE_ON_F4
text
--> p1 text
<-- p2 text
FORM file_on_f4 .
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
field_name = 'P_FILE'
CHANGING
file_name = p_file
EXCEPTIONS
mask_too_long = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " FILE_ON_F4
*& Form UPLOAD_FILE
text
--> p1 text
<-- p2 text
FORM upload_file .
p_file1 = p_file.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = p_file1
has_field_separator = 'X'
CHANGING
data_tab = it_resp
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " UPLOAD_FILE
*& Form BDC_TO_CREATE_REP
text
--> p1 text
<-- p2 text
FORM bdc_to_create_rep .
LOOP AT it_resp INTO wa_resp.
REFRESH : it_bdcdata,
it_bdcmsgcoll.
*Screen 0600
PERFORM bdc_dynpro USING 'SAPLRHWS' '0600'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PDTASK-SEARK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=AEND'.
PERFORM bdc_field USING 'PDTASK-SEARK'
p_rule. "'90000159'.
*Screen 0040
PERFORM bdc_dynpro USING 'SAPLRHWS' '0040'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=RESP'.
PERFORM bdc_field USING 'BDC_CURSOR'
'HRS1000-SHORT'.
PERFORM bdc_field USING 'HRS1000-SHORT'
'Z99999999972'.
PERFORM bdc_field USING 'HRS1000-STEXT'
'Category (RUN -SUPPORT) + C&PS Web'.
PERFORM bdc_field USING 'HRS1203-ACTOR_FLAG'
'R'.
*Screen 0040
PERFORM bdc_dynpro USING 'SAPLRHWS' '0040'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=INSE'.
PERFORM bdc_field USING 'BDC_CURSOR'
'DATESET'.
PERFORM bdc_field USING 'DATESET'
'O'.
*Screen 0300
PERFORM bdc_dynpro USING 'SAPLSPO4' '0300'.
PERFORM bdc_field USING 'BDC_CURSOR'
'SVALD-VALUE(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=FURT'.
PERFORM bdc_field USING 'SVALD-VALUE(01)'
wa_resp-short. "'PL-BK'.
PERFORM bdc_field USING 'SVALD-VALUE(02)'
wa_resp-stext. "'Plan - BendixKing Team'.
*Screen 0200
PERFORM bdc_dynpro USING 'SAPLRHUZ' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EDIT_BIND_DEF-EXPR_LOW(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SAVE'.
PERFORM bdc_field USING 'P1000-BEGDA'
'23.03.2011'.
perform bdc_field using 'P1000-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P1000-SHORT'
wa_resp-short. "'PL-BK'.
PERFORM bdc_field USING 'P1000-STEXT'
wa_resp-stext. "'Plan - BendixKing Team'.
PERFORM bdc_field USING 'EDIT_BIND_DEF-EXPR_LOW(02)'
wa_resp-category. "'z11'.
CALL TRANSACTION c_tcode USING it_bdcdata
MODE c_mode
MESSAGES INTO it_bdcmsgcoll.
IF sy-subrc <> 0.
MESSAGE i001(ymsg)."Error Message
ROLLBACK WORK.
ELSE.
REFRESH : it_bdcdata,
it_bdcmsgcoll.
**screen 0410
PERFORM bdc_dynpro USING 'SAPLRHUZ' '0410'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P1000-OBJID'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=CHG'.
PERFORM bdc_field USING 'P1000-OBJID'
p_rule. "'90000162'.
**screen 0420
PERFORM bdc_dynpro USING 'SAPLRHUZ' '0420'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=RELI'.
PERFORM bdc_field USING 'DATESET'
'O'.
**screen 0110
PERFORM bdc_dynpro USING 'SAPLRHW0' '0110'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=CONT'.
**screen 0100
PERFORM bdc_dynpro USING 'SAPLRHWL' '0100'.
*perform bdc_field using 'BDC_CURSOR'
'PCHDY-SEARK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=CONT'.
PERFORM bdc_field USING 'PCHDY-SEARK'
wa_resp-short. "'PL-BK'.
**screen 0120
PERFORM bdc_dynpro USING 'SAPMSSY0' '0120'.
*perform bdc_field using 'BDC_CURSOR'
'04/03'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
**screen 0400
PERFORM bdc_dynpro USING 'SAPLRHUA' '0400'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=INSE'.
*perform bdc_field using 'BDC_CURSOR'
'PERIOD-BEGDA'.
PERFORM bdc_field USING 'PERIOD-BEGDA'
'29.03.2011'.
PERFORM bdc_field USING 'PERIOD-ENDDA'
'31.12.9999'.
CALL TRANSACTION 'OOCU_RESP' USING it_bdcdata
MODE c_mode
MESSAGES INTO it_bdcmsgcoll.
IF sy-subrc <> 0.
MESSAGE i001(ymsg)."Error Message
ROLLBACK WORK.
ELSE.
MESSAGE i000(ymsg)."Success Message
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " BDC_TO_CREATE_REP
Guide me on this.
Thanks -
Agent assignment for a task group
Hi,
I have created a TAsk group which has two workflows inside. But when go for the agent assignment for the task group via OOCU tcode, it is not showing the workflows under the task group.
Plz let me know wht may be the problem...
Thanks,
SivagamiHi,
I am not able to assign agent through task customization [ OOCU Tcode ]. But I am able to assign in PFTC tcode.
Any clues?
Thanx,
Sivagami
Maybe you are looking for
-
I am wanting to add picture and designs to my form how do I place it in a specific place on my form?
-
OBIEE Group Authentication Maintenance
Hi All, I have set up Authorisation Via ms ADSI Server for OBIEE 10g , I have also setup Group Authorisation via Table .. Works well. But my problem is " Each user and group has to be created in the table" , Is there way around this or any common pra
-
80710092 error code while trying to update Minecraft
Hi, While trying to update Minecraft version 1.17, my ps3 keeps getting an error code or freezing on 0%, 80710092. I have checked all connections and tried all manner of fixes from the internet but nothing has worked. I have re-booted both the PS3 an
-
HT3832 "Automatically add to iTunes" folder. Where do my files go?
Where do my pdf files go after I add them to the "Automatically add to iTunes" folder? They appear on my iPad okay, but I cannot find them on my PC any longer
-
Mouse events on a pdf page (javascript)
Hello, I would like to know if it is possible to detect mouse position, movement and clicks events/infos from javascript at /app level on a pdf page. Thanks in advance