Conversion of FG into Scrap
Dear All,
Conversion of FG into Scrap.
one step process (mvt. type 309)
Accounting entry
scrap inventory a/c dr
gain /loss on scrapping a/c dr.
To, FG inventory a/c cr.
two step process
scrapping through 551 movt type -
gain/loss on scrapping a/c dr.
To, FG inventory a/c cr.
generating scrap 902 movt. type (customized) -
scrap inventory a/c dr
to gain/loss on scrapping cr.
my question is our client is following two step proces is it correct. moreover gl getting hit is price difference instead of loss on scrapping. what is the correct scenario and which movement type should be involved.
Regards,
Divraj
Hi Divraj,
We follow the first step and i personally feel that this is the best method of scrapping of Finish Good.
As the difference between the cost of FG and Scrap is going in Gain and Loss Account. IT IS NOT A PRICE DIFFERENCE.
Regards,
Shayam
Similar Messages
-
Direct Conversion of smartform into PDF system has to take spool request ?
does anybody know:
Direct Conversion of smartform into PDF, system has to take spool request dynamically..
i don't mean to use the SE38 calling PRG RSTXPDFT4 to transfer SAP sript into PDF.
thanks
SRIDHAR--strike Yes this is what I understood.
In the structure job_output_info of your function you'll find your OTF data :
st_ssfcrescl-otfdata --
CALL FUNCTION smartform_fonction_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = st_ssfctrlop
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
output_options = st_ssfcompop
user_settings = ' '
IMPORTING
document_output_info = st_ssfcrespd
job_output_info = st_ssfcrescl " This is the one which contains OTF data
job_output_options = st_ssfcresop
TABLES
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
-- Then you just have to convert, using something like that : --
* Convert OTF to PDF
LOOP AT otf_data INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = 'OTF'
format_dst = 'PDF'
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
pdf_itab_size = v_size.
it_pdfout[] = it_pdf[].
* Create the PDF File
CLEAR it_pdfdata.
REFRESH it_pdfdata.
* it_pdfdata[] = it_pdfout[].
LOOP AT it_pdfout.
MOVE it_pdfout-tline TO it_pdfdata-line.
APPEND it_pdfdata.
CLEAR it_pdfdata.
ENDLOOP.
-- The smartform creation and the PDF creation are done in the same time...--
OK, So what do'nt you want to use the RSTXPDFT4 program ?
Hope this helps,
Erwan
Edited by: Erwan LE BRUN on Aug 28, 2008 12:02 PM
Edited by: Erwan LE BRUN on Aug 28, 2008 12:03 PM -
Conversion of string into XML object
Hi
I am having some problems with conversion of string (containing XML data) into Flex XML object and binding it later to UI elements to output/maintain this data.
Binding of XML structure to UI elements works perfectly fine if I will do following:
1) Hardcode XML object within Flex file
2) Read xml file from repository (xml file inside the Flex project)
3) Use HTTP request to retrieve XML data
Unfortunately none of the above scenarios suits my solution.
I am developing a prototype application for processing Flex forms inside SAP system. I have decided to make data bindings using XML structure stored in Data Base. When rendering form inside web browser based application I am retrieving corresponding XML schema (empty for new forms and populated for saved forms) and pass it to Flex form as a string type import parameter. Data is being passed correctly (I can display it on TextArea control for instance) but after conversion to XML and binding to DataGrid I am not getting any results.
I am converting string (containing XML) to XML object in following way:
Private var xml_obj:XML = new XML(string_xml );
I am catching any potential errors but conversion is going well. After conversion I am not getting any results after binding it to DataGrid control and I am not able to access any of the nodes using AS code either. At the same time variable xml_obj is not empty (not null).
Any help would be much appreciated.
Regards
MichaelDavid
First of all sorry for not stating it clearly but I am using Flex 3 for this development (at the moment it is the only choice when embedding Flex objects inside SAP applications).
You must have missed the bit where I am describing how this XML data finds its way inside Flex. I am passing it to Flex as String type parameter during rendering (directly from DB where it is stored).
Now, following code works perfect (XML is embedded inside Flex project):
<mx:XML id="form_data" source="../assets/example_xml_data.xml"/>
<mx:Script>
<![CDATA[
import mx.collections.XMLListCollection;
import mx.controls.Alert;
[Bindable]
public var XML_list:XMLListCollection;
private function setParameters():void
XML_list = new XMLListCollection(form_data.*);
]]>
</mx:Script>
<mx:DataGrid id="myDataGrid" dataProvider="{XML_list}">
<mx:columns>
<mx:DataGridColumn dataField="COMMON" headerText="Popular name"/>
<mx:DataGridColumn dataField="BOTANICAL" headerText="Botanical name"/>
<mx:DataGridColumn dataField="ZONE" headerText="Zone"/>
<mx:DataGridColumn dataField="LIGHT" headerText="Light"/>
<mx:DataGridColumn dataField="PRICE" headerText="Price"/>
<mx:DataGridColumn dataField="AVAILABILITY" headerText="Availability"/>
</mx:columns>
</mx:DataGrid>
But following code does not work (XML passed to Flex form as String input parameter):
import sap.FlashIsland;
import mx.controls.Alert;
import mx.collections.XMLListCollection;
[Bindable]
public var xml_data:String;
private var form_data:XML;
[Bindable]
private var XML_list:XMLListCollection;
private function initApp():void
FlashIsland.register(this);
private function setParameters():void
try
form_data=new XML(xml_data);
catch (error:Error)
Alert.show(error.toString());
XML_list = new XMLListCollection(form_data.*);
XML string does find its way inside Flex form. I can display content of variable xml_data in TextArea and all looks fine. Conversion to XML (variable form_data) goes well (no error)
Please helpJ
Regards
Michael -
Exporting ProRes conversion of HDV into Motion 3 darkens image
When I export an HDV clip from FCP into Motion 3, apply Optical Flow frame blending, then export to FCP as an HDV file, the brightness and saturation of the resulting QT HDV file are essentially identical to the original. But when I begin by exporting the original clip to ProRes(HQ) via QT conversion or Compressor, bring the ProRes file into Motion and afterwards export to FCP as HDV, the resulting clip is considerably darker (and maybe more saturated) than the original. In the QT conversion, I'm not applying any brightness or contrast filtering. Any clues about what I'm doing wrong?
Alfred Guzzettihi,
why do you need to convert the codec into motion and then back again into FCP. Why not send to motion from fcp keeping the same format, and then drop thew motion file itself onto the fcp timeline and use it as a clip. ( although the need to render it everytime something moves can be a pain I know). I find that the less codec changes in a work flow the better.
hth
adam -
Radial gradient corrupted during conversion from EPS10 into bigger JPEG
I use Illustrator CS4 and Photoshop CS4 extended.
recently came scross rasteirizing of radial gradient when convert from AI CS4 file to EPS10 file and then buyer converts it into big 4000x4000 pxls JPEG. Never experienced that before.
It is visible only after conversion EPS into big JPEG.
Linear gradients are all smooth after conversion but radial is corrupted.
I clean my illustration before saving as EPS.
When I save my illustration AICS4 as EPS10, I check:
-preview-transparent;
-transparency preset : high resolution 100%,
-convert all strokes in outline,
-convert text in outline (if I have it in my illustration);
-include CMYK PostScript in RGB file,
-Compatible Gradient and Gradient Mash Printing.
I check then EPS file for rasteirizing : window-links.
No sign of any rasteirization. All nice and smooth.
here, how looks corrupted radial gradient after conversion to big JPEG from small EPS10. Note, that on the bottom of image linear gradient is almost ok.
What I am doing wrong?
When I upsize my AI CS4 file to 4000x4000pxls and then convert to EPS10, and then into JPEG of the same size, - Radial gradient is smoother, almost perfect. But the size of of EPS file is too big and out of acceptable limits.
JimThank you for reply.
Now I see that I did not explain it properly.
Sorry for that.
I need to provide my illustration saved as EPS10 with small Jpeg for preview via internet to the client, the way he requires to have it. I do not know why he wants it that way.
After receiving my EPS file with small Jpeg, he is making from that EPS10 file a big JPEG for his needs. It is what he wants.
When he is convertin' EPS10 file into big JEPEG, radial gradient becomes corrupted.
I followed his steps to try to undertstand what went wrong and got the same corrupted radial gradient in JPEG file, as you see on provided image.
What I want to know is how to accomplish what he wants without loosing quality.
Could you tell me, please, how to save illustration as EPS10 in Illustrator CS4 proper way.
Thank you. -
Regarding conversion of idoc into xml/edifact
hi everyone, i am using 5.0 version and i want to know that without using subsystem can be change my idoc into xml/edifact, if yes then plz let me know procedure
regards,
vimarshHello Vimarsh
Basically you have to following steps in the EDI conversion process:
(1) Send business object (e.g. invoice) as IDoc-XML to external system
(2) EDI converter converts IDoc-XML to EDIFACT (flat file) (e.g. Seeburger, mendelson, etc.)
(3) Send EDI file to EDI provider (e.g. GXS, IBM-IE, Tradanet, etc.)
In our case the EDI conversion takes place on SAP-XI (Note: the EDI converter is not part of SAP-XI but a third-party product). The EDI file is placed on a FTP server and then send via ODEX / OFTP to an EDI provider.
Regards,
Uwe -
UOM Conversion from PO into SO
Can anyone tell me how to convert the unit of measure of the material from what is coming in 850 into the uom of the sales order uom.
thought would use a user exit and a function module Material_unit_conversion.
but wat user exit should be used?
Suggestions greatly appreciated.
Michelle.Define the UOM conversion in Oracle.
Also if you are in R12, then you may setup the primary and secondary UOMs at the item master level to deal with both UOM. -
Conversations splitting msgs into 2 SMS's
Running Symbian Anna on Nokia C7-00. Conversations is doing a weird thing where it will inconsistently breakup outgoing messages into multiple SMSes. This happens long before 140 or 160 characters is hit.
For example, I just sent this message to Twitter (forgive the lack of context):
"@mister_aok i have the same vague memory but haven't been able to conjure it from the net yet!"
But Twitter received (and tweeted!) the following 2 messages:
1. "@mister_aok i have the same vague memory but haven't been able to c"
2. "onjure it from the net yet!"
Obviously, this is undesirable behavior - not only because it uses up my SMSes but because it is confusing for the recipient.
Anyone else experiencing this? Any advice?Try uninstalling the conversation application and conversation server from your installed application and check for software updates. If they're still available in the servers, you should get them back again. Install them and see whether the problem is corrected or not. Seems like a corrupted installation of conversations application.
blitZkid
Nokia C7: Running on Nokia Belle
"If I'm helpful in anyway, a click of appreciation on the star would be nice" -
Can anyone tell how to convert a String into date??
if the string is in the format "Thu Mar 25 17:11:34 GMT+05:30 2004"
i have converted it. code is
SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM d yyyy HH:mm:ss");
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+00:00"));
Date date = null;
try
//date = dateFormat.parse(new Date().toString());
date = dateFormat.parse(dateLine);
catch(ParseException ex)
but i am not able to specify the year.
so when i getYear on the new Date it return 1970.@duffymo, I'm pretty sure "d" is good for a two digit date, "dd" gives you zero-padding.
The problem, presumably, is that the format string "EEE MMM d yyyy HH:mm:ss" does not match the actual format "Thu Mar 25 17:11:34 GMT+05:30 2004".
The correct format string would be "EEE MMM d HH:mm:ss z yyyy" -
Conversion of Date into Number of Days
Hai All,
Can anyone pls tell how to convert the Date format into Number of days.
For example I have 2 dates, 25.03.2009 and 25.02.2009.
I have to take the difference of these two dates, means its 30 days.
Later I have to move this 30 days to a variable and display.
Can anyone help me.Try these FMs.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_sdate
i_datum_von = p_edate
IMPORTING
e_tage = l_differ
EXCEPTIONS
days_method_not_defined = 1
others = 2.
WRITE:/ l_differ.
call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
exporting
i_date_from = p_sdate
i_date_to = p_edate
I_FLG_SEPARATE = ' '
IMPORTING
E_DAYS = EDAYS
E_MONTHS = EMONTHS
E_YEARS = EYEARS.
WRITE:/ No of Days ', EDAYS.
Regards,
Joan -
Conversion of image into byte array
I have a problem in converting .png image into bytestream, if anyone can help in this pls do so.....
Hi,
To convert an Image to bytes you can use the Image.getRGB() method.
http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Image.html#getRGB(int[], int, int, int, int, int, int)
-Henrik -
Conversion of milloin into Laks(in words) on checks
Hi Experts,
My client wants amount of laks in words on checks. in standard B1 it prints on check in million e.g. 15,12,225( One million five hundred and twelve thousand two hundred twenty-five Indian Rupee). But my client wants it as 15,12,225 ( fifteen laks, twelve thousands and two hundreds twenty five rupee). They want that it should print automatically on the checks and they should not provide any UDF's for this. so pls tell me how it is possible?
Thanks & Regards,
Pankaj Sharma.Hi Sharma,
Try this,
->> Create 1 UDF in Header on Outgoing Payments.
->> Create 3 Function in MSSQL Server Management.
->> Create 1 FMS in Query Generator and save as Query Manager then Assign to UDF for Amount in Words.
Create UDF in Header on Outgoing Payments.
->> Choose Tools on Top menu.
->> User - Defined Fields. -> User Manage Fields.
->> Open the User Manage Fields Widnow.
->> Payments. -> Title.
->> Select Title and Click Add button in Bottom on User Manage Fields Window.
->> Create Amount in Words UDF(Code, Discription and Type - Character) and Add the UDF.
Create Function in MSSQL Server Management.
Check this Link, (have 3 Functions in Link).
http://techcreeze.blogspot.com/2008/11/convert-amount-into-words-according-to_15.html
1st Funciton - to Convert one Digit Number to words
2nd Funciton - to convert 2 digit number to words.
3rd Funciton - to convert amt in numbers to words.
->> Open the MSSQL Server Management Window.
->> Choose your Company database and Create NEW Query.
->> Create 3 Function Queries one by one.
->> Create 3 NEW Query Tab and 1st one put the 1st Function then Run the Function. and
2nd New Query tab put the 2nd Function then Run the Function.
3rd New Query tab put the 3rd Function then Run the Function.
Create FMS in Query Generator and Save as Query Manager.
->> Adminstration.
->> Reports. -> Query Generator.
->> Open the Query Generator and put the below FMS query.
SELECT dbo.fNumToWords($[OVPM.CheckSum])
->> Assign the FMS in UDF on Outgoing Payments.
->> Auto Refresh of REMARKS.
Ex.
1. Goto the UDF and Clcik ShiftAltF2.
2. Select the SEARCH BY SAVED QUERY.
3. Assign the FMS Query.
4. Select the AUTO REFRESH WHEN FIELD CHENGES.
5. Select REMARKS.
6. Check the Display Saved Values.
Note: Check Payments should need the Remarks in Comments field because Remarks field is AutoRefresh field.
IF You will not put the Remarks in Comments field. Amount in Words will not Retrieve(Display) in UDF
Regards,
Madhan. -
Boiler plate texts conversion from English into Chinese in forms6.0
Dear friends,
We need solution for converting all english boilplate texts in forms into Chinese language text.
We have created database with chinese char set. How to configure forms to accept and display chinese characters. Pls, give me the solution for this. Kindly expecting ur valueable reply
Thanks and regards
Radhakrishnan
nullShift to Russian Keybaord layout and Copy using CTRL + Insert and Paste using SHIFT + Insert then it will not print ??????
-
Conversion of idoc into xml without XI
Hi everyone
i am working on EDI i want to know procedure to convert our idoc into XML without using XI. is it possible, if yes then plz reply me with procedure.
Thanks & Regards
VimarshHi Nicolai
Thanks for ur suggestion, i have one more doubt regarding this, i got this program to convert my records in XML but whatever output i m getting that comes in form of excell sheet, i am sending you that program which not working,
report zexternalfile .
tables : zzpublisher,
sscrfields.
data: it_publisher like standard table of zzpublisher,
wa_publisher like zzpublisher.
select * from zzpublisher into table it_publisher.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = 'C:\externalfiles\kamal.XLS'
FILETYPE = 'ASC'
APPEND = ' '
write_field_separator = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_publisher
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
if sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
IF YOU HAVE ANY OTHER OPTION THEN PLEASE SEND ME, I WILL BE VERY THANKFUL FOR YOU.
PLEASE SEND ME WHOLE PROCEDURE IF YOU CAN.
THANKS & REGARDS
VIMARSH -
Conversion jpeg image into bmp
Hi experts,
I am trying to convert my jpg picture into bmp. for this i write one report but it showing some transferring error to binary mode
here is my code
*& Report ZSE78_8
REPORT ZSE78_8.
DATA: blob TYPE w3mimetabtype,
blob_size TYPE w3param-cont_len,
blob_type TYPE w3param-cont_type .
DATA:
p_color_scheme TYPE char20 ,
p_labels_groupid TYPE igs_label_tab,
p_labels_category TYPE igs_label_tab ,
p_data TYPE igs_data_tab,
p_charttype TYPE char20,
p_legend TYPE char20,
l_igs_chart TYPE REF TO cl_igs_chart ,
l_igs_chart_engine TYPE REF TO cl_igs_chart_engine,
i_igs_image_converter TYPE REF TO CL_IGS_IMAGE_CONVERTER,
mime TYPE w3mimetabtype,
html TYPE w3htmltabtype,
html_line TYPE w3html,
l_msg_text(72) TYPE c,
l_url TYPE w3url,
l_content_length TYPE i,
l_content_type TYPE w3param-cont_type,
l_content_subtype TYPE w3param-cont_type.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'E:\KATOCH.gif'
filetype = 'BIN'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
* IGNORE_CERR = 'ABAP_TRUE'
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
filelength = l_content_length
* HEADER =
TABLES
data_tab = mime
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
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT i_igs_image_converter .
i_igs_image_converter->input = 'image/gif'.
*i_igs_image_converter->output = 'image/x-ms-bmp'.
i_igs_image_converter->output = 'image/gif'.
i_igs_image_converter->width = '100'.
i_igs_image_converter->height = '100'.
CALL METHOD i_igs_image_converter->set_image
EXPORTING
blob = mime
blob_size = l_content_length.
CALL METHOD i_igs_image_converter->execute
EXCEPTIONS
communication_error = 1
internal_error = 2
external_error = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL METHOD i_igs_image_converter->get_image
IMPORTING
blob = blob
blob_size = blob_size
blob_type = blob_type.
DATA dsn1(20) TYPE c VALUE 'E:\katoch1.bmp'.
DATA wa_mime1 TYPE w3mime.
*DATA wa_mime1 TYPE w3mimetabtype.
OPEN DATASET dsn1 FOR OUTPUT IN BINARY MODE .
LOOP AT blob INTO wa_mime1.
TRANSFER wa_mime1 TO dsn1.
CLEAR wa_mime1.
ENDLOOP.
CLOSE DATASET dsn1.
ELSE.
DATA: num TYPE i, message TYPE string.
CALL METHOD i_igs_image_converter->get_error
IMPORTING
number = num
MESSAGE = message.
ENDIF.Hi,
To convert an Image to bytes you can use the Image.getRGB() method.
http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Image.html#getRGB(int[], int, int, int, int, int, int)
-Henrik
Maybe you are looking for
-
Files downloaded from the KM have iView pcd location instead of filename
Hello, I have created a Filesystem Repository manager and a KM Document that reference one of the excel file over there. The problem is that when a user opens the iView and saves the file the suggested name is not the filename but this one: pcd!3apor
-
Recovery Problem - Blue Screen error (STOP: 0x00008086)
I am working on a Toshiba Satellite laptop and need to recover back to original state. I do not have Recovery Disks, however, I have followed the Toshiba 'How to' instructions (F8 then select Repair your Computer) it show the Windows progress bar the
-
Lightroom vs. Photoshop Raw conversion
I have noticed that the Lightroom RAW conversion looks about 1/3 to 1/2 stop brighter compared to Photoshop on the same image with the same settings (I'm using LR 2.4 and Photoshop CS4). Anybody else notice this or have any thoughts? I'm assuming t
-
Hi, anyone have idea how to configure SFTP with SSH public/private key (without promt password) for non admin accounts on NAS NSS326 ? I have tried to generate with Putty and Puttygen a key but works only for admin user. Pls help me. Thanks Rudi
-
BIG EXPLAMATION POINT ON IPHOTO....HELP
I spent the weekend organizing my iPhoto library and my computer in general. Under my "finder" icon I have a file folder for pictures. I didn't think they were related to my iPhoto album and I deleted them ALL. My iphoto is still there in the same