Input requrired for BAPI_LEAD_CHANGEMULTI
Hi Experts,
I have created a Lead from T-code CRMD_BUS2000108.
The status of the LEAD is Open.
I want to change the status of lead from Open to Closed with the help of BAPI :BAPI_LEAD_CHANGEMULTI but the lead is not getting updated.
Please provide me the input parameters to this BAPI. Do i need to call some other BAPI before calling this BAPI.
Plesase sugest some points. Below is the parameters which I am passing to the BAPI . Please suggest if something is missing.
CALL FUNCTION 'BAPI_LEAD_CHANGEMULTI'
TABLES
statusx = i_statusx
status = i_status
return = i_return.
Also please let me know the mapping of GUID which would be passed in i_status.
Help will be appreciated.
Regards
Sourabh Verma
Hi Sourabh,
You need to pass details of input fields to be changed in the table
"INPUT_FIELDS" to the bapi : BAPI_LEAD_CHANGEMULTI.as example
REF_HANDLE N 10 0000000000
REF_GUID X 16 A13B35BF4ED2D342B3052E93B3BC6960 "header GUID
REF_KIND C 1 A
OBJECTNAME C 30 STATUS
LOGICAL_KEY C 42 E0002CRMLEAD " this value changes with config.
FIELD_NAMES h 8 Table[1x64] "Field name "ACTIVATE"
After the call of BAPI_LEAD_CHANGEMULTI, check RETURN export table; if it has any error message. If there is not error mesage, call BAPI_TRANSACTION_COMMIT.
Hope this will help.
Regards,
Arjun.
Pl. do reward the points
Similar Messages
-
How to log input parameters for Function Modules?
Hi,
I need to create a Logging system to trace input parameters for function modules.
The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I want to log. The 'write_log' code should be independent from the interface of the Function Module that I want to log.
For example, I'd like to write a function/class method that can log both these functions modules:
Function DummyA
Input parameters: A1 type char10, A2 type char10.
Function DummyB
Input parameters: B1 type char20, B2 type char20, B3 type char20, B4 type Z_MYSTRUCTURE
Now the questions...
- Is there a "standard SAP" function that provide this functionality?
- If not, is there a system variable in which I can access runtime all parameters name, type and value for a particular function module?
- If not, how can I loop at Input parameters in a way that is independent from the function module interface?
Thank you in advance for helping!check this sample code. here i am capturing only parameters (import) values. you can extend this to capture tables, changin, etc.
FUNCTION y_test_fm.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(PARAM1) TYPE CHAR10
*" REFERENCE(PARAM2) TYPE CHAR10
*" REFERENCE(PARAM3) TYPE CHAR10
DATA: ep TYPE STANDARD TABLE OF rsexp ,
ip TYPE STANDARD TABLE OF rsimp ,
tp TYPE STANDARD TABLE OF rstbl ,
el TYPE STANDARD TABLE OF rsexc ,
vals TYPE tihttpnvp ,
wa_vals TYPE ihttpnvp ,
wa_ip TYPE rsimp .
FIELD-SYMBOLS: <temp> TYPE ANY .
CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE'
EXPORTING
funcname = 'Y_TEST_FM'
* INACTIVE_VERSION = ' '
* WITH_ENHANCEMENTS = 'X'
* IGNORE_SWITCHES = ' '
* IMPORTING
* GLOBAL_FLAG =
* REMOTE_CALL =
* UPDATE_TASK =
* EXCEPTION_CLASSES =
TABLES
exception_list = el
export_parameter = ep
import_parameter = ip
* CHANGING_PARAMETER =
tables_parameter = tp
* P_DOCU =
* ENHA_EXP_PARAMETER =
* ENHA_IMP_PARAMETER =
* ENHA_CHA_PARAMETER =
* ENHA_TBL_PARAMETER =
* ENHA_DOCU =
EXCEPTIONS
error_message = 1
function_not_found = 2
invalid_name = 3
OTHERS = 4
IF sy-subrc = 0.
LOOP AT ip INTO wa_ip .
MOVE: wa_ip-parameter TO wa_vals-name .
ASSIGN (wa_vals-name) TO <temp> .
IF <temp> IS ASSIGNED .
wa_vals-value = <temp> .
ENDIF .
APPEND wa_vals TO vals .
ENDLOOP .
ENDIF.
ENDFUNCTION. -
How to Block Account member in input reporting for some users?
Hi experts, i need to know if is possible to block input of values for some Users in the Account Dimension so that some users can input value in the report but other user cant do it.
I try to do this from "member access profile" but this option only allow you to define access right for one specifict parent o member.
I mean, is posible to asigned to Account Dimension a Propertie type "OWNER" like ENTITY?
For example: one user must to input value for the Account member "CASH", but other user dont, however i have to show the same input reporting for both users.
I hope understand the question, im sorry about my english
thank you in advance
Ignacio VazquezI would think you could do one of the following:
Either set account as a secured dimension. You would then define security profiles for all account groups and assign those to your users / teams as appropriate. Would take a while to setup initially, but if your users don't change that much it shouldn't be too difficult to manage once it's done.
Setup different input templates that only showed the accounts you wanted each group of users to see. Put the templates in different site folders and assign access to those sites as required. users would then only have access to open the template applicable to them. Would require that you basically make duplicate copies or your current template, modify and save to different site folders which could become a pain if the template requires changes (since you would now have to make the same change multiple times).
Setup a macro in the current template so that you need to enter a password to unlock the send commands for the respective accounts. I don't know if it can be setup to support multiple passwords - assuming it can, password 1 would unlock all accounts, password 2 would only unlock CASH accounts, password 3 would only unlock LIABILITY accounts, etc. You then distribute the passwords to the users as appropriate.
Hope that helps. -
Can I use a MIDI keyboard as an input device for a software instrument?
I have a Casio CTK-2100 that I am currently playing around with in Logic Pro 9. It can record and playback the different instruments fine using MIDI tracks. But I was wondering if it is possible to use the keyboard as an input device for a software instrument instead of the "Step Input Keyboard".
Is it? If so, how do I set it up?Yes, the terminology can be a bear, many, many years ago when I started using Logic the manuals were written completely by the programmers, while they were quite humorous in places the were also really hard to understand so I learned/realized.. you can't really do anything so wrong it's going to destroy your computer so why not go ahead and experiment. I learned the basics of Logic without a manual, months later when I went back to find some some details I could figure out the manual made a lot more sense.
Logic has been somewhat Appleized but it's not really an Apple program, it was purchased almost as developed as it is now... a lot of the additions a fluff to make it easier to understand for new users while at the same time there are some real improvements.
This is personal opinion: With all of the forums/online tutorials...etc...etc. It seems users are learning (but not understanding) the same things, plus everyone wants to use it right away so nobody takes a deep breath and investigates on their own. Logic is a deep, deep program, while learning don't be afraid to go off on a tangent and explore the program without any other input, it can actually be inspirational. One other thing good about the manual or "Online Help", in looking up a function you will invariably come across a related concept that will provide further insight.
And..... have fun. -
Unable to enter Input value for an ICD
Hi All,
I have created an element XXX which has two input values "Pay Value" and "Class". The class has the values 'A','B','C','D'. I have created a plan and set up the rate In the calculation method I have chosen "No Standard values used".
Now when I try to assign this ICD plan to the user in the Miscellaneous plan I am not able to enter the car class. Can someone help me with this.
Thanks
Shekar.Hi Shekar
I find the ICD setup very 'picky'! If you get one thing wrong, it doesn't work. I have detailed below the steps I usually advise people to tek. Check your setup and see if this helps.
1. Define Plan Type, Compensation Category = Others.
2. Define Plan. Link to Plan Type. Plan Usage = May not be in program. On Not in program Tab - define sequence, currency, enrollment rate (per pay period?), activity reference period (Monthly). Your settings may need to be different. On Plan details tab, enter plan years.
3. Plan enrollment requirements. On the general tab, plan sub tab, make sure the method = EXPLICIT. this allows the user to enter an input value for the ICD. THIS MAY WELL BE THE SOURCE OF YOUR PROBLEM!
Make sure the CERTIFICATION region is UNTICKED. This can also cause ICDs not to work.
ALLOWS UNRESTRICTED ENROLLMENT must be TICKED. Otherwise there is no eligibility to the ICD.
On the rates subregion, make sure the run strt date is set to ENTERABLE.
4. standard Rates form. Make sure the ACTIVITY TYPE and TAX TYPE are entered. Select the ELEMENT and the INPUT VALUE and TICK the ELEMENT AND INPUT VALUE REQUIRED field.
On the processing Information tab - TICK ASSIGN ON ENROLMENT, DISPLAY ON ENROLLMENT and PROCESS EACH PAY PERIOD. Enter PER PAY PERIOD AMOUNT in VALUE PASSED TO PAYROLL and OTHER in COMPENSATION CATEGORY.
Let me know if this works!
Regards
Tim -
No batch input data for screen for VF01
Hi All,
Iam trying to to create billing document using BDC for VF01 with sales order. For single line item it is working fine and that to in Mode 'A'. But while creating invoices using multiple sales orders , Iam getting the following error.
No batch input data for screen 'SAPMV60A' '0102' . Error - 0344.
Kindly help me as I was strucked here.
My code .
PERFORM bdc_dynpro USING 'SAPMV60A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'KOMFK-VBELN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'KOMFK-VBELN(01)'
gwa_bdc-vbeln.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SICH'.
REFRESH messtab[].
CALL TRANSACTION 'VF01' USING bdcdata
OPTIONS FROM wa_options
MESSAGES INTO messtab.
Please <removed by moderator> help.
Thanks ,
Srikanth.A
Edited by: Thomas Zloch on Sep 15, 2011 1:47 PMHi Jurgen
LOOP AT git_bdc INTO gwa_bdc.
refresh messtab[].
PERFORM bdc_dynpro USING 'SAPMV60A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'KOMFK-VBELN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'KOMFK-VBELN(01)'
gwa_bdc-vbeln.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMV60A' '0104'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBRK-FKART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SICH'.
REFRESH messtab[].
CALL TRANSACTION 'VF01' USING bdcdata
OPTIONS FROM wa_options
MESSAGES INTO messtab.
Error message population....
REFRESH bdcdata[].
ENDLOOP.
Thanks,
Srikanth.A -
Controlling of Input width for Password Item Type
can we control the Input Width of
password Item Type when the form creation.
If the Item Type is Password for any field during the form creation, i want to control the Input Width for that field for good
appearence.Pls tell me the solution.
ThanksThrough Functional configuration, this is not possible. Please carry out coding corrections in USEREXIT_COBL_RECEIVE_VBAP as recommended in the following note.
Note 1739319 - Cost center in Sales order item
G. Lakshmipathi -
Creation of input string for SHA-1 in hash total calculation
In order to create an input string for the SHA-1 algorithm based on the REGUH table I am searching for the ABAP source code which can be used in the user exit of transaction of transaction F110 (Payment Run).
Can anybody provide me the source code or is there a BAPI or something ?
Please help. The problem is urgent and my ABAP engineer did not succeed so far developing the solution.
Best regards, EdwinAnd this will get a base64 encoded hash
select utl_raw.cast_to_varchar2( utl_encode.base64_encode( dbms_crypto.hash(utl_raw.cast_to_raw('mypass'),3) ) )
from dual; -
No batch input data for screen SAPMSSY3 0131 in Sales order IDOC
I am processing Sales order IDOCS in status 64 using RBDAPP01 .Some of them error out to status 51 with the message -
No batch input data for screen SAPMSSY3 0131 .
I know the standard IDOC inbound process tries to simulate the posting in a BDC like process.
Now, I went to we19 and the screen hangs up in a pop up in the partners tab with partner type 'WE' and my shipto (which is actually filled in the IDOC), missing..upon repeatedly hitting enter, it goes thru and an idoc is posted in status 53. But still unable to get through the root of this issue.
Any, insight will help.Hi,
I think the pop-up is generated through and user-exit for which recording is missing. This is why your idoc stays in status 64...
Handle the screen recording in the user exit IDOC_INPUT_ORDERS
user exit routine
PERFORM customer_function_dynpro.
FORM CUSTOMER_FUNCTION_DYNPRO.
CALL CUSTOMER-FUNCTION '002'
EXPORTING DXVBAK = XVBAK
DVTCOMAG = VTCOMAG
DLAST_DYNPRO = LAST_DYNPRO
DXMESCOD = IDOC_CONTRL-MESCOD
TABLES DXBDCDATA = BDCDATA
DXVBAP = XVBAP
DXVBEP = XVBEP
DYVBEP = YVBEP
DXVBADR = XVBADR
DYVBADR = YVBADR
DXVBPA = XVBPA
DXVBUV = XVBUV
DIDOC_DATA = IDOC_DATA
DXKOMV = XKOMV
DXVEKP = XVEKP
DYVEKP = YVEKP
EXCEPTIONS
USER_ERROR = 01.
Regards,
Krishnakumar -
Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"
I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
Regards
FawaazHi Guys,
Thanks so much for all the prompt responses. My issue is now resolved.
The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
Thanks again.
Regards
Fawaaz -
What are the input parameters for Function Module
Dear Experts,
I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
For that i want to write a Generic Datasource with Function Module.
audat
bukrs
vkorg
vtweg
spart
aurat
auart
netwr
mwsbp
kschl zedp(consition type)
kschl zvat(condition type)
ksch zcst(condition type)
matkl material group
Here what are the Input parameters for Function Module.
Thanks in Advance.
Srinivasan.Srinivasan-
For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
Let me know how it goes.
-Bhushan. -
"no batch input data for screen SAPLMR!M 6220 in BDC while holding Invoice
Hi
I am facing a problem while uploading Invoice data and to hold the data in miro transaction I am getting the error
"no batch input data for screen SAPLMR!M 6220 " . It is for non PO data only I am facing this problem using BDC.
But for Po based Invoice I am getting Invoice number while holding the Invoice. I am Using SHBDB to record the
transaction details
Please give me some solution regrading this.
SamirKrish ,
I am doing it in same transaction MIRO for both PO and NON-PO. I am able to generate an Invoice number while holding the Invoice For NON-PO taking vendor as invoice Party .While I am recording it in SHDB and trying to use the
same in my BDC Programe it is throughing this error and also by testing the program which has been generated by the
SHDB trnasaction i am getting the same Error . Is there any diferrent trnasaction that is used to hold NON_PO invoice ?
Where Invoice number will be generated automatically ? -
Mapping input values for a web service connection to a range of cells
I've created a web service connection in Xcelsius data manager. My web service requires an array of integer as input parameter. How do I map input values for a web service connection to read from a range of cells in the spreadsheet, e.g. $A$2:$A$20, in similar way of mapping output values to write to a range of cells in the spreadsheet?
For output values of the web service, I can specify to map the output values to write to a range of cells. However, it doesn't seem to work for reading the input values.
I can map input values for each node to a single cell, e.g. $A$2, in the spreadsheet. However, when I set the "Read From" field to a range of cells, e.g. $A$2:$A$20, it only reads in the first value in the range.
Is there any way that we can do this mapping for input values as we do for output values?
Your assistance is very much appreciated.
Regards,
VanVan,
There is a workaround for that...
Example:
My Webservice accepts input data range in a specific format with " :" symbol, i.e. 072008:082008
Now what i do is
A1 = 072008
A2 = 082008
A3 = CONCATENATE(A1,":",A2)
so A3 = 072008:082008
Now i map the input value in web service to cell A3
P.S have 2 input box components and map it to cells A1 and A2, i.e you are giving users an option to enter the range of values...then web service will capture the range and refreshes data with the range of values user entered.
hope this helps..
-Anil -
Input help for a selection screen field
I have a selection screen with field species and checkoff activity .
For a given species('sc','sb' or 'ss') , the input values allowed for the
check off activity must be 'SCCK' for species 'SC' ,'SBCK' for species 'SB' and so on.
I need to provide input help for check off activity based on the value of the species.How do i do that?PARAMETER : p_val(10) TYPE c ,
p_val2(10) TYPE c.
AT SELECTION-SCREEN on p_val.
IF p_val = 'SC'.
p_val2 = 'SCCK'.
ENDIF. -
No batch input data for screen SAPMSSY3 0131
Dear All,
I have developed a report where i need to upload (old and new)incoterms,payment terms,document type and update in the table ekko with my new values (incoterms,payment terms and document type).
Problem :For this report i have uploaded the excel sheet and values are getting uploaded into my internal table.but when using bapi_agreement_maintain to update the ekko table ,in return table its showing No batch input data for screen SAPMSSY3 0131.
Anyone please give the reason/solution to solve the problem.
Regards,
Bhavani.Hi,
screen SAPMSSY3 0131 is the debugging screen so if you have any break-points in any of the transactions remove the breakpoint and check.
Basically this BAPI is calling a transaction to execute a transaction in no dialog mode so if you have break-points in any of those program you will face this issue.
Regards,
Himanshu
Maybe you are looking for
-
Is it possible to do goods receipt for purchase order by mb31
Hello friends, I have created one purchase order.Now i want to do goods receipt for that purchase order.I know that throught migo and movt type 101, i can do this.But guys i have one doubt over here.Can i do the goods receipt for purchase order by Tr
-
Power Mac G5 and a Laserwriter Pro 630 - Is it Possible?
Another question as I look to upgrade my father's computing setup. He probably wants to keep his older LaserWriter Pro 630. I'm going to load OS X Panther and Classic 9.2.2 onto the Power Mac G5. Is it possible to get the LaserWriter to print on a st
-
Image copy to folder with name based on image creation date
Hi all, I am new to Mac OS X and automator so I would like to know the following, Is it possible to have an automated action that triggers when I attach my camera to USB, and who copies all images to a folder which is named according to the date when
-
Corruption on export from Motion? Help!!
Greetings, I'm experiencing an odd problem.. Unpredictably, my compressor output is completely corrupt, wacky horizontal lines across the frames, etc.. I've successfully exported this project TWICE, and after making a few minor adjustments, my last t
-
Can use the users stored in DB access worklist?
In my project,the user info is stored in DB. According the document of soa 11g, I add SQLAuthenticationProvider into weblogic, and top this provider. but I use the DB user to access worklist, error occurred. Error info is : ORABPEL-30501 验证用户时出错. 验证和