Status change of Single correction using Abap report
Hi Experts,
I have a requirement to change the status of Single correction CR's to "completed" and also set the preceding document to appropriate status . I am using the function module CRM_ORDER_MAINTAIN followed by ORDER_SAVE to do so.
But this does not change the status.
Please let me know if there is anything that has to be done while changing the status of CR through an ABAP Report.
Thanks in advance for ur help.
Rithesh
Use function CRM_STATUS_CHANGE_EXTERN and also CRM_ORDER_SAVE and commit at the end.
Similar Messages
-
Use abap report program to print bar code instead of smartforms
Do anyone know how to use abap report program to print bar code?
Hi Celina,
http://searchsap.techtarget.com/tip/1,289483,sid21_gci839063,00.html
I hope this will help, also it depends on the barcode type like ARTNR-code 128...
Regards,
Sudhi -
Save a attachment file in the shared folder of receiver using ABAP report
Hi all
Is it possible to save an attachment file in the folder of receiver's desktop using ABAP report?
I am using the standard mail sending code to mail the excel file as an attachment.
Consumer wants that file to be stored automatically in the folder of a shared drive he is using.
Is it possible?You can do that via class CL_GUI_FRONTEND_SERVICES method gui_download. But this is not working in background. Reports running in background cant reach presentation servers.
If you have XI/PI in place you can set up a scenario for that. -
Cannot get encoding correct using ABAP XML
I need to transform data using ABAP transforms and the DOM.
I'm expecting to get a string like this out of the DOM tree when I call IF_IXML_NODE->GET_VALUE( ):
Jukan testityö
Instead I get:
Jukan testityA¶
(This is finnish).
The inbound XML is UTF-8 encoded, and the text is fine when browsing.
I have two issues:
1) When I call CALL TRANSFORM and my xslt code has <xsl:output encoding="utf-8"/>, it works with the XSLT_TOOL in test mode and sets the encoding for the transformed XML as UTF-8. However, when I call CALL TRANSFORM in the program, the encoding of the transformed file is "iso-8859-1". I cannot change the encoding, even if using CALL TRANSFORMATION with OPTIONS xml_header = 'full'. How can I do that?
I have tried to use the SET_ENCODING methods of the if_ixml_istream and if_ixml_document objects like this:
l_encoding = l_ixml->create_encoding( byte_order ='1', character:_set = 'utf-8' ).
l_istream->set_encoding( encoding = l_encoding ).
and this still does not work.
Any idea how I can correctly render my xml to correctly display finnish characters?
BR,
Tony.Ever managed to get this done?
Tried "UTF-8" in capitals?
Ciao
Alex -
Changing default heading in the Abap report
Hi experts,
How can I change the default comment lines in the ABAP report heading. Currently in our system it is as below..
*& Report ZFI_TEST_REPORT
I want it into my custom.hi,
you can do that using Patterns
check below link hoe to create pattern
How to create statement templates in ABAP?
regards
Deepak. -
SAP HR data retriveal into LDAP using ABAP Report
Hi ,
Does anyone have an idea for extracting SAP HR Employee data into LDAP (Directory based service)by using any abap report and function module
RohitI'm also interested...
@Rohit Kumar Shukla
Did you already receive an answer?
Kind regards,
Mario Möllenbeck -
How to show muliti language data correctly using webi reports
Hi ,
Can you please suggest me how to show multi language data correctly in webi reports .
Do we need to install any lang pack in both server and client machine ?
Thanks & Regards
Venkatyou mean using translation manager? or data from DB? or both.
You need to make sure that your DB is already configured for multiple languages.
Enable the OS for multi languages
On XIR3.1, you will need to install language packs on the processing servers. then you can utilize translation manager.
Installation of Language Packs are a pain to install and update. -
Problem in calling Client proxy using ABAP Report
All Your inputs and various threads were really helpful . i have followed this blog as well /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Now after all while trying to pass values to proxy i have an issue : in the above blog there is a small pinch of code for referencing the proxy through an abap report.
i.e. &----
*& Report ZBLOG_ABAP_PROXY
REPORT zblog_abap_proxy.
DATA prxy TYPE REF TO zblogco_proxy_interface_ob.
CREATE OBJECT prxy.
DATA it TYPE zblogemp_profile_msg.
TRY.
it-emp_profile_msg-emp_name = 'Sravya'.
it-emp_profile_msg-empno = '80101'.
it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.
now instead of the DT being in this way : i.e. :
EMPProfile_MSG OCCURENCE
EmpNo 1
EmpName 1
DeptName 1
Instead if the DT / MT for which the proxy is generated is in this format for table data input then whats the way ?
EMPProfile_MSG OCCURENCE
.....Item 0..Unbounded
...........A 1
...........B 1
...........C 1
...........D 1
Please advice,
KrishnaHi,
Did you create a Data type,message type and Message interface and generated the proxy in trnx SPROXY?
If so, then a class gets created like ZCO...........
under which, structure gets created as you did in IR of XI.
Need to implement a BADI and Ztable on the Abap stack.So you get the values dynamically to your proxy.
For each change in your emp details,there will be a record in Ztable.
Hope you understand this.
Regards,
Joslyn -
Display two heading in single column using ALV report
Hi Experts,
I got a requirement for displaying 2 rows heading in a single column report. Is it possible that I can perform this task using ALV. How to get this 2 rows in ALV.
This is a criteria that need to be output in ALV REPORT.
MATERIAL CODE--MATERIAL NUMBERSTORAGE LOC----SLOC1 SLOC2
--DATE--DATE1 DATE2
123445--TEST MATERIAL22--
3
As mentioned above storage loc and date will be changing with respect to data dynamically and under this double heading qty will be displayed.
Just want to know how to get double heading. It is clear that how to display dynamically but unaware of double heading using fieldcatalog.
Regards,
YahyaHi Yahya,
Please pass row position in fieldcatalogue for the respective columns.
E.g MOVE '2' to w_fieldcat-row_pos. " This will display the field in 2nd row.
Thanks,
Rupali -
Read some HR archive files (object PA_PIDX) using Abap report
Hi experts,
an ABAP program that is supposed to read some HR archive files (object PA_PIDX) but all we can read is the object, we cannot access the individual lines. Please help
My code
Output of the report as well as output of archive program
Cycles comptab. archivés
0000000038
0000000040
0000000044
0000000045
0000000047
0000000050
Cycles comptab. ignorés (pour détails voir protocole de job)
0000000001 Simulation
0000000002 Simulation
0000000003 Simulation
0000000004 Simulation
0000000005 Simulation
.....etc
Please help
Edited by: Blaiso on Apr 1, 2011 5:54 PM
Edited by: Blaiso on Apr 1, 2011 5:59 PM
Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
Edited by: Thomas Zloch on Apr 2, 2011 9:59 PMHi Ajay,
1. You have to create a separate field catelogus and AIS according to your requirement with the required fields you want . Because the standard structures and field catelogues contains many fields from all tables. So before doing the read operation you have to deactivate the standard AIS and activate your newly created AIS .
2. Can you give some more details for this question to be answered.
3. The important archiving tables used are ARCH_IDX,ARCH_RPRG,ARCH_DEF.
4. While scheduling the Read process in batch mode , it will give you three criterias to be entered.
. Spool Parameters
(ii). Start date
(iii). Archive selection of files.
Unless you enter values for any one of these options , You cannot execute the batch job.
Hope this would help you.
Regards - Swarna. -
How to add / Change accounts to GR55 using a report painter
Hi Gurus,
Can you tell how the gl account s should be added for GR55 report,is there any procedure to follw for that ?
Can any one of you please list all the points for addition OR changing account no. in GR55 report
Thanks You
VSKHi santosh,
For change the report go to GR52 or GRR2 - select your report - double click on double click on Row items where your added the GL accounts - assign the gl accounts from to to, if its continius GL number, If its not continues give gl account no. in from account column, if want to assign more accounts just press more button and give your gl account.
please assign the points if its useful
reagrds
sai krishna -
Change UNIX file permitions using ABAP
Hello,
I create a file using the open and close dataset statements and the file has the following permitions:
-rw-rw----
Now i whant to send the file using FTP to another server, but function module FTP_COPY return the error:
Permission denied
Is that possible to change the file permition on the file creation or after?
Kind regards
Rui Almeida
Message was edited by: Rui AlmeidaYes , you can chnage, are you the owner of the file, then it can be done.
i can tell you the simple way to do that.
REPORT ZUNIX line-size 400
no standard page heading.
data: unixcom like rlgrap-filename.
"7 full perimission to read
"7 full permission to change
"7 full permission to delete
<b>unixcom = 'CHMOD 777 fillfullpath'.</b>
data: begin of tabl occurs 500,
line(400),
end of tabl.
data: lines type i.
start-of-selection.
refresh tabl.
call 'SYSTEM' id 'COMMAND' field unixcom
id 'TAB' field tabl[].
in the above code provide fullpath of the file.
Regards
vijay -
Change Column Heading dynamically in ABAP report
Hi,
is it possible to have the selection screen values in the column heading of the result screen in a report?
Currently list heading / column heading values are maintained in a Goto-> Text elements -> List headings
but I would like to have values there that are entered by user, is it possible?
Regards,
MindaugasHi,
User can Maintain the Column Heading's, by the way you mentioned....
Else you can use TOP-OF-PAGE event to build Dynamic Coulmn Headers. -
Dear Friends,
I would like to get a demand planning macro's detail in a ABAP report that I plan to develop manipulate the Macro attributes. My questions are:
1. Is it possible to come up with a report like this
2. If so, what is general approach to do the same - any function module calls or any other ways of getting the macro details in the ABAP report?
Thank you and Best Regards,
GuruHi Guru,
For this requirement i think ABAP program is not required.you can do in macro itself in DP.
As per my understanding i think you are trying to execute the macro step for the period current week + 1.
If this is the case then With the ITERATION_COUNTER macro function, you can determine the value of the step counter, that is, the number of periods that have already been processed. For example, if you only want to process the third and fourth future periods, you can define a step that processes the entire future and use an IF statement to check within the step whether the step counter assumes the value three or four and only then execute the calculation.
Note that changing macro attributes,activate using ABAP report is too complex .
Hope this will helps you.
Regards,
Sunitha -
ABAP report to use in analysis of Kanban Control Cycle
Hi Experts,
I have requirement to develop a new custom report 'Kanban history'.
When someone makes a change to transaction 'PK02', we need to have Kanban History of that change in our new custom report. Also, when someone makes a change to transaction PK13N or PK12N on a kanban correction, we need to capture that history to be able to followup on status changes or kanban corrections made from that screen.
As an example, this kanban history report can be displayed much like the material master history is displayed.
I need your suggestion to achieve this requirement.
Thanks,
LeoHi Leo,
1. Create a Ztable with the fields you want to capture.
2. Find some EXIT's/ BADI or Enhancment points in the t-codes during SAVE.
3. Save ammendments done using the t-code to your Z table .
4. Develop report based on the data you have in your Z table.
I also had a similar requirement to capture the PO ammendment data and display in custome reports
same logic worked
Hope this helps.
Regards
Bikas
Maybe you are looking for
-
What are all the Date pickers available in SAP Netweaver?
I am using Java based SAP Netweaver. I want to enter DATE OF BIRTH in a WebDynPro page. Default date picker shows current month only (refer attachment). Picking date with option to change Year, Month is required. Please help in this regard. With T
-
Get rid of the initial asterisk when using PasswordField masking in console
Hi! How can I get rid of the initial astrerisk when using the PasswordField script from Sun? I've tried to check whether the BufferedReader is empty or not, but with no succes. Here comes the code: PasswordField.java import java.io.*; public class Pa
-
An unexpected error occurred (error code -50)
Have anybody received this error "An unexpected error occurred (error code -50)"? I am using a harddrive (FAT) that I split in two partitions: 1st exclusive for time machine and the other as an extra drive for my photo library of the Light Room. Some
-
Cannot edit pdf text in word 2013
I have just opened a PDF document on Word 2013. However the entire document is showing up as a picture and I am unable to edit the text. please tell me how i can edit the pdf file using word 2013 as I believe we can. maybe i need to change the way th
-
IPhone not recognizing audiobooks purchased with iTunes when syncing
When I try to sync my iPhone 4 to my PC (current version of iTunes, iPhone OS, and current version of Windows 7), it does not recognize any of my audiobooks, which I downloaded from iTunes. It does not give me the options to check any books, and als