Quantity mask
Hello...
In a editable field on ALV I can insert a quantity of PO item... The filed mas is X,XXX (in ALV).
I use the method ref_grid->check_changed_data to come back the informations of ALV report. But, when the quantity back the SAP change the number...
Follows a example:
In the ALV report: 1,000 (default mask)
In ABAP after method: 0,001
How Can I change this configuration?
Hi folks!,
The problem is in the construct the fieldcat table .
Try this way:
it_fieldcat-datatype = '!EKPO-MENGE'
it_fieldcat-fieldname = 'MGCONF'
There are conversion functions that are linked to the type of data element. For example, the calendar view in a date field.
When using the '!' before the name of the table, these functions are carried to the field of alv.
Regards,
Thiago Losilla.
Edited by: Losilla on Oct 17, 2011 7:38 PM
Similar Messages
-
Quantity update into sales order using BAPI_SALESORDER_CREATEFROMDAT2
Hi All,
I am able to create a sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT2".
But even after assinging the Target_quntity and the Target_quantity_units, the values are not getting updated into the Sales order, but the sales order gets created .
Did anyone of you had a similare problem, how was it solved.
cold some one please help me out on this.
RegardsHi
I had used below code (using <b>BAPI_SALESORDER_CREATEFROMDAT1</b>)..but never faced any problem.. you can try the same...
Regards,
Raj
REPORT z_sd_salesorder_create
NO STANDARD PAGE HEADING
LINE-SIZE 150
MESSAGE-ID zz.
S T R U C T U R E D E C L A R A T I O N S *
TYPES: BEGIN OF x_ppl,
ppl_order(18), " ppl Orderno
auart(4), " Sales Doc Type
vkorg(4), " Sales Organization
vtweg(2), " Distribution Channel
spart(2), " Division
div(3), " Division
kunnr(10), " Sold-to Party
date(10), " Doc Dt
matnr(18), " Item Matnr#
uom(3), " UOM
qty(15), " Qty
kschl(4), " Pricing condiiton type
kbetr(11), " Rate
END OF x_ppl.
TYPES: BEGIN OF x_file,
loc(30), " Location
div(3), " Division
ppl_order(18), " ppl Orderno
kunnr(10), " Sold-to Party
date(10), " Doc Dt
matnr(20), " Item Matnr#
qty(15), " Qty
uom(3), " UOM
kbetr(11), " Rate
discount(5), " Discount
END OF x_file.
TYPES: BEGIN OF x_output,
ppl_order(18), " ppl Orderno
mesg(130), " Mesg Success/Error
END OF x_output.
TYPES: BEGIN OF x_werks,
name2(30), " Location
werks TYPE werks_ext, " Plant
END OF x_werks.
TYPES: BEGIN OF x_info,
vkorg TYPE vkorg , " Sales org
vtweg TYPE vtweg, " Dist channel
werks TYPE werks_ext," Plant
spart TYPE spart, " Storage Loc
END OF x_info.
TYPES: BEGIN OF x_material,
ppl_prdid(20), " ppl Prd id
matnr TYPE matnr, " Material (SAP)
END OF x_material.
I N T E R N A L T A B L E D E C L A R A T I O N S *
DATA: it_file TYPE STANDARD TABLE OF x_file WITH HEADER LINE." File Data
DATA: it_data TYPE STANDARD TABLE OF x_ppl WITH HEADER LINE." ppl File
DATA: it_out TYPE STANDARD TABLE OF x_output WITH HEADER LINE. " Outcome
DATA: it_werks TYPE STANDARD TABLE OF x_werks WITH HEADER LINE. " Plant
DATA: it_info TYPE STANDARD TABLE OF x_info WITH HEADER LINE. " Othr Info
DATA: it_matnr TYPE STANDARD TABLE OF x_material WITH HEADER LINE. " Material Info
DATA: it_item TYPE STANDARD TABLE OF bapiitemin WITH HEADER LINE. "Order Itm data
DATA: it_partner TYPE STANDARD TABLE OF bapipartnr WITH HEADER LINE. "Order Partner data
V A R I A B L E S D E C L A R A T I O N S *
DATA : v_correct TYPE i,
v_error TYPE i,
v_total TYPE i,
v_return LIKE bapireturn1,
v_index LIKE sy-tabix.
*- Return values
DATA: it_orderh TYPE bapisdhead, "Order Hdr data
order TYPE bapivbeln-vbeln,
soldto TYPE bapisoldto,
shipto TYPE bapishipto,
return TYPE bapireturn1.
DATA: hdate TYPE sy-datum.
U S E R I N P U T S S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
PARAMETERS: p_file TYPE rlgrap-filename OBLIGATORY. " File name
SELECTION-SCREEN END OF BLOCK blk01.
S E L E C T I O N S C R E E N *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
PERFORM get_file.
S t a r t o f S e l e c t i o n *
START-OF-SELECTION.
PERFORM get_upload.
PERFORM validate_data. " Validate the data
PERFORM data_swap. " Prepare the data for processing
IF NOT it_data[] IS INITIAL.
PERFORM get_update. " Create SalesOrders
ELSE.
MESSAGE i001(zz) WITH text-001.
STOP.
ENDIF.
E n d o f S e l e c t i o n *
END-OF-SELECTION.
IF NOT it_data[] IS INITIAL.
PERFORM get_write.
ENDIF.
*& Form get_file
Get File name
FORM get_file .
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
program_name = syst-repid
mask = '*'
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. " get_file
*& Form get_upload
to upload the file
FORM get_upload .
DATA l_file TYPE string.
CLEAR: it_file, it_file[].
l_file = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = it_file
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.
ELSEIF sy-subrc = 0.
SORT it_file BY loc ppl_order.
ENDIF.
ENDFORM. " get_upload
*& Form get_update
Creating mapping Data in Z table
FORM get_update .
DATA: l_itemno(2) TYPE n,
l_partner TYPE parvw,
l_kunnr TYPE kunnr,
l_matnr TYPE matnr,
l_mesg TYPE string,
l_kbetr TYPE p DECIMALS 2.
DATA: l_in_qty LIKE vbap-zmeng,
l_meins LIKE mara-meins,
l_qty LIKE vbap-zmeng.
CLEAR: v_correct, v_error, v_total.
SORT it_data BY ppl_order.
LOOP AT it_data.
CLEAR v_index.
v_index = sy-tabix.
*- New SalesOrder
AT NEW ppl_order.
READ TABLE it_data INDEX v_index.
CLEAR: it_orderh, it_item, it_partner,
order, soldto, shipto, return,
it_item[], it_partner[].
v_total = v_total + 1. "Increment Total SalesOrders counter
CLEAR l_itemno.
l_itemno = '10'.
*- Covert date fields into Internal format
CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'
EXPORTING
datum = it_data-date
dtype = 'DATS'
IMPORTING
idate = it_data-date.
*- Populate SalesOrder header data.
CALL FUNCTION 'CONVERSION_EXIT_AUART_INPUT'
EXPORTING
input = it_data-auart
IMPORTING
output = it_data-auart.
it_orderh-doc_type = it_data-auart.
it_orderh-sales_org = it_data-vkorg.
it_orderh-distr_chan = it_data-vtweg.
it_orderh-division = it_data-spart.
it_orderh-purch_no = 'DEPOT'.
it_orderh-price_date = it_data-date. "Doc Dt
it_orderh-req_date_h = it_data-date. "Del.Dt
it_orderh-purch_no_s = it_data-ppl_order.
*- Partner data
CLEAR: l_partner, l_kunnr.
*- Convert Partner type into internal format
l_partner = 'SP'. "SoldTo Party
CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'
EXPORTING
input = l_partner
IMPORTING
output = l_partner.
*- Convert Customer into internal format
l_kunnr = it_data-kunnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_kunnr
IMPORTING
output = l_kunnr.
it_partner-partn_role = l_partner.
it_partner-partn_numb = l_kunnr.
APPEND it_partner.
CLEAR it_partner.
ENDAT.
*- Item data
it_item-itm_number = l_itemno.
*- Convert material number into internal format
CLEAR l_matnr.
l_matnr = it_data-matnr.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
input = l_matnr
IMPORTING
output = l_matnr
EXCEPTIONS
length_error = 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.
it_item-material = l_matnr.
*- Call FM to get new qty based on SAP UOM
CLEAR: l_meins, l_qty, l_in_qty.
l_in_qty = it_data-qty.
CALL FUNCTION 'Z_GET_QTY_FROM_UOM'
EXPORTING
matnr = it_item-material
in_meins = it_data-uom
in_qty = l_in_qty
IMPORTING
out_meins = l_meins
quantity = l_qty.
IF sy-subrc = 0.
it_data-qty = l_qty.
it_data-uom = l_meins.
ENDIF.
it_data-qty = it_data-qty * 1000.
it_item-req_qty = it_data-qty.
it_item-sales_unit = it_data-uom.
it_item-req_date = it_data-date.
*- Pricing data
it_item-cond_type = it_data-kschl. "Pricing condition
CLEAR l_kbetr.
l_kbetr = it_data-kbetr / 10. "Price (Rate)
it_item-cond_value = l_kbetr.
APPEND it_item.
CLEAR it_item.
*- Increment Item counter.
l_itemno = l_itemno + 10.
*- At end of SalesOrder
AT END OF ppl_order.
READ TABLE it_data INDEX v_index.
*- Call the BAPI for SalesOrder creation
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
order_header_in = it_orderh
IMPORTING
salesdocument = order
sold_to_party = soldto
ship_to_party = shipto
return = return
TABLES
order_items_in = it_item
order_partners = it_partner.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
v_return = return+0(1).
IF v_return = 'E'.
v_error = v_error + 1.
CLEAR l_mesg.
l_mesg = return.
CONDENSE l_mesg.
ELSE.
v_correct = v_correct + 1.
CLEAR l_mesg.
CONCATENATE 'Salesorder'(007) order 'successfully created.'(008)
INTO l_mesg SEPARATED BY space.
CONDENSE l_mesg.
ENDIF.
*- Populate the output table
CLEAR it_out.
it_out-ppl_order = it_data-ppl_order.
it_out-mesg = l_mesg.
APPEND it_out.
CLEAR it_out.
ENDAT.
ENDLOOP.
ENDFORM. " get_update
*& Form get_write
Write the results
FORM get_write .
WRITE:/ 'Total Number of Records :'(002), v_total COLOR 1.
WRITE:/ 'Total Correct Records :'(003), v_correct COLOR 3.
WRITE:/ 'Total Error Records :'(004), v_error COLOR 6.
SKIP 3.
IF NOT it_out[] IS INITIAL.
WRITE:/5 'ppl Order #'(005),
28 'Message'(006).
ENDIF.
SKIP 1.
LOOP AT it_out.
WRITE:/5 it_out-ppl_order,
28 it_out-mesg.
ENDLOOP.
ENDFORM. " get_write
*& Form validate_data
Validate the data
FORM validate_data .
DATA: l_bstkde TYPE bstkd_e.
LOOP AT it_file.
SELECT bstkd_e INTO l_bstkde
UP TO 1 ROWS
FROM vbkd
WHERE bstkd_e = it_file-ppl_order.
ENDSELECT.
IF sy-subrc = 0. " This ppl Order is already been created in SAP, so delete record
DELETE it_file.
ENDIF.
ENDLOOP.
SORT it_file BY ppl_order.
ENDFORM. " validate_data
*& Form data_swap
Prepare the data for processing
FORM data_swap .
CLEAR: it_werks, it_info, it_matnr, it_data,
it_werks[], it_info[], it_matnr[], it_data[].
IF NOT it_file[] IS INITIAL.
*- Get the plant from location
SELECT name2
werks
INTO CORRESPONDING FIELDS OF TABLE it_werks
FROM t001w FOR ALL ENTRIES IN it_file
WHERE name2 = it_file-loc.
IF sy-subrc = 0.
SORT it_werks BY name2 werks.
*- Get the Sales Org, Division and Distribution Channel
IF NOT it_werks[] IS INITIAL.
SELECT vkorg
vtweg
werks
INTO CORRESPONDING FIELDS OF TABLE it_info
FROM tvkwz FOR ALL ENTRIES IN it_werks
WHERE werks = it_werks-werks.
IF sy-subrc = 0.
LOOP AT it_info.
it_info-spart = '99'.
MODIFY it_info INDEX sy-tabix.
ENDLOOP.
SORT it_info BY vkorg vtweg werks.
ENDIF.
ENDIF.
ENDIF.
*- Get material from ppl material
SELECT ppl_prdid
matnr
FROM zppl_master
INTO TABLE it_matnr FOR ALL ENTRIES IN it_file
WHERE ppl_prdid = it_file-matnr.
IF sy-subrc = 0.
SORT it_matnr BY ppl_prdid matnr.
ENDIF.
ENDIF.
*- Update the data in it_data
LOOP AT it_file.
CLEAR it_data.
it_data-auart = 'OR'.
it_data-auart = 'OR'. " CHANGED BY Jo ON 3103005
READ TABLE it_werks WITH KEY name2 = it_file-loc BINARY SEARCH.
IF sy-subrc = 0.
READ TABLE it_info WITH KEY werks = it_werks-werks BINARY SEARCH.
IF sy-subrc = 0.
it_data-vkorg = it_info-vkorg.
it_data-vtweg = it_info-vtweg.
ENDIF.
ENDIF.
*- Material
READ TABLE it_matnr WITH KEY ppl_prdid = it_file-matnr BINARY SEARCH.
IF sy-subrc = 0.
it_data-matnr = it_matnr-matnr.
ENDIF.
it_data-ppl_order = it_file-ppl_order.
it_data-date = it_file-date.
CONCATENATE it_file-kunnr it_file-loc+1(2) INTO it_data-kunnr.
it_data-qty = it_file-qty.
it_data-uom = it_file-uom.
it_data-kbetr = it_file-kbetr.
*- Pricing condition
it_data-kschl = 'PR00'.
CASE it_file-div.
WHEN 'BRN'.
it_data-div = '04'.
WHEN 'GEN'.
it_data-div = '03'.
WHEN 'IVF'.
it_data-div = '02'.
WHEN 'OPH'.
it_data-div = '01'.
ENDCASE.
it_data-spart = it_data-div.
APPEND it_data.
CLEAR it_data.
ENDLOOP.
ENDFORM. " data_swap -
hi,
how to print the Quantity variable with 2 decimals actually the field is having 3 decimals.
Ex: field1 having value <b>16000.000</b> and field2 value is <b>800.000</b>
in out put i want field1 = <b>16.000,00</b> and field2 = <b>800,00</b>.
same is achieved in script is done by using field1(I12.2), and field2(12.2).
how can we do same thing in Smartform....
Regards
Ashok PPlease see formatting options for Smart Forms. There you will find this:
&field(.<nat.number>)&
Limits output of decimal places to <nat.number>
You should then use: &field1(.2)&
Here is the complete list:
Overview
Formatting Options for Fields
Syntax
Description
&field+<offset>&
Skips offsets (<offset>) in the field value (character fields only). If the offset is greater than the length of the value, nothing is displayed.
&field(<length>)&
Sets the output length to <length>.
&field(*)&
If the field is defined by a Data Dictionary type, Smart Forms sets the output length to the value specified there.
&field(S)&
Suppresses the sign
&field(<)&
Displays the sign to the left of the number
&field(.<nat.number>)&
Limits output of decimal places to <nat.number>
&field(E<nat.number>)&
Displays the field value with the fixed exponent <nat.number>. The mantissa is adapted to this exponent by shifting the decimal character and inserting zeros.
&field(T)&
Suppresses thousand indicators when displaying fields of types DEC, CURR, INT, and QUAN.
&field(Z)&
Suppresses leading zeros in numbers
&field(I)&
Suppresses display of initial values
&field(K)&
Deactivates a conversion routine specified in the Data Dictionary
&field(R)&
Right-justified display. Use this option only when specifying an output length as well.
&field(F<filler>)&
Replaces left-justified blanks in the value by the fill character <filler>.
&field(L)&
Converts a date field to a local date and displays it. The date is then formatted using the edit mask JPDAT.
Since this representation uses Japanese characters, it is only to be used in the Japanese version of the SAP System.
&field(C)&
The system takes the field value as a sequence of words separated by blanks. Option C shifts these words to the left
and leaves one blank in-between as a separator. Any leading blanks are omitted. This effect corresponds to that
of the ABAP statement CONDENSE. -
How to display or write quantity with decimals?
Exists some mask or function that make next?:
1.- If a quantity is 1500.000 should display 1,500
2.- If a quantity is 1500.010 should display 1,500.01
3.- If a quantity is 1500.555 should display 1,500.555
In others words, only display decimals if apply.i think below code will helpful to u :
data: var(10) type c,
var2 type string,
var3 type string,
var1 type string.
var = '15000.000'.
var1 = var.
split var1 at '.' into var2 var3.
if var3 ge '000'.
condense var3.
SHIFT var3 RIGHT DELETING TRAILING '0'.
condense var3.
endif.
if not var3 is initial.
concatenate var2 '.' var3 into var.
write: / var.
else.
write: / var2.
endif. -
Which RFC describes the illegal subnet masks (255.255.255.254, 255.255.255.255)?
Hi,
RFC 4632 would probably make useful reading. To quote section 3.1 :
"In CIDR notation, a prefix is shown as a 4-octet quantity, just like a traditional IPv4 address or network number, followed by the "/" (slash) character, followed by a decimal value between 0 and 32 that describes the number of significant bits."
So, this basically says your subnet mask can be any value from 0 (i.e. a default route) to 32 (i.e. a "host"). In your example 255.255.255.254 is 31 bits and 255.255.255.255 is 32 bits so both are valid.
There's a nice table that illustrates this in the RFC as well.
HTH
Andrew. -
Mask RFx item information in Bidder's view
Hello.
In our SRM5.0 environment, we are able to modify HTML templates to "mask" (not hide) some item information in bidder's view of the Bid Invitation. For example, if the item's UoM is "USD", we would not show the actual quantity, but change the display of quantity to 1 and UoM to "Task", to the bidder. We process this type of item as such because the quantity value is actually storing our budget which needs to be concealed from the bidders.
However, in our SRM 7.0 environment, I have difficulty in finding the best way to handle the same requirement. The data on the UI is rendered by context binding. I wonder if somehow enhancing the business object data retrieval is the best approach, or there is possibility for configuration. More importantly, I would like to know if any of you have faced similar requirement before (typically indicated by UoM = USD) and what solution you had, either technically or from business process point of view.
Thanks.Hello Yang,
The quick solution which I can give right away is to introduce 2 custom fields at the item level. Based on the UoM field value, we will disable the 2 standard SAP fields and enable the newly introduced custom fields.
This can be done either enhancing the meta data code in the method UNIT of the class /SAPSRM/CL_PDO_DYN_MDF_IT_QTE or defining custom meta data attributes for these two SAP Standard fields
And same approach for the new custom fields.
Hope this might solve the problem quickly and not modifying any standard SAP Code.
Best Regards,
Mani -
Variant Configuration:Calculation For Masking tape in VA:21.
Dear Experts,
Our client is using sales order BOM for Quotation purpose, now they need following calculation, kindly suggest way to make it possible.
Below is the calculation of MASKING TAPE requirement,
3M means 7000232
1)
2) If 3M X 2 is u226410 system should capture 7000557
3) If 3M X 2 is >10 and u226420 system should capture 7000558
4) If 3M X 2 is >20 and u226430 system should capture 7000559
5) If 3M X 2 is >30 and u226440 system should capture 7000560
6) If 3M X 2 is >50 system should capture 7000235
7)
8) We require MASKING TAPE calculation, based on consolidated 3M Quantity.
9)
Example: For Line Item 10 - 3M Tape Qty is 5m
For Line Item 20 - 3M Tape Qty is 15m
For Line Item 30 - 3M Tape Qty is 18m
Total 3M Qty is 38Mtrs, MASKING TAPE required Qty is 38x2 = 76 Mts
Hence Material for Masking to be picked
1 No. 7000235 (50Mts)
1 No. 7000559 (30Mts)
Kind Regards From Samirsinh.Hi Amber,
Thanks for help, but our porblem is different, take a look following example for understanding of problem,
10 STEEL DOOR 1 EA
11 7000002 3 EA
12 7000190 2 EA
13 7000232 4.400 M
14 7001041 154 ML
20 STEEL DOOR 2 EA
21 7000002 6 EA
22 7000232 16.800 M
23 7001041 588 ML
30 STEEL DOOR 1 EA
31 7000002 3 EA 0
32 7000232 4.200
33 7000186 2
34 7001041 147
Here line items 13,22 and 32 are same, client requirement is that system should consolidate requirement first like 2x(4.416.84.2)=50.8 and then it should capture 7000235 of 50MTS for 50 and for0.8 it should capture 7000559 of 30MTS so losses would be minimize.
Kind Regards From Samirsinh -
Edit Mask in ALV add $ sign
Hello
Does any one know how to add the "$" sign to costing numbers in an ALV grid? I tried using Edit_Mask in the field catalog table but doesn't seem to work. I have a number 9,380,568 and I would like it to be displayed as $9,380,568 on the ALV Grid. Do I use an EDIT_MASK to do this and should it be gs_fc-edit_mask = '$_,___,___'? I tried this and does not work for me. If I have a zero cost quantity how do I show blanks, do not want the "$" to be displayed if I am using an Edit Mask?
THANKSHi LydiaMM,
Try this : -
DATA TIME TYPE T VALUE '154633'.
WRITE (8) TIME USING EDIT MASK '__:__:__'. "Output: 15:46:33
or
write sy-datum using edit mask '__/__/____' to sydatum.
or
incude a character field of length 10 in your final internal table.
data: wrk_date(10) .
then in the loop.. endloop of the final internal table
suppose sy-datum is varibale which need conversion.
USE THE BELOW CODE FOR CONVERSION.
WRITE sy-datum TO wrk_date USING EDIT MASK '__.__.____' .
Regards,
Kittu -
Quantity fields not getting displayed in the second total row
Hi,
As per the requirement I have to display 2 total rows for an ALV report using CL_GUI_ALV_GRID. I am able to get the first total row properly using method get_subtotal(). However for the next total row only the character fields are getting displayed and the quantity fields are coming blank.
The second total row will have different values based on a formula.
Please help me out in resolving the issue.
Thanks,
AbhishekYou can provide first row as the SUBTOTAL and next row as the TOTAL.
Get one extra column on which you can do the SUBTOTAL.
Regards,
Naimesh Patel -
Open sale order quantity in VA05
hi all,
can anyone please tell me the function module or bapi or Table to find out open sales order quantity coming in VA05.
regards.First of all define what is open , is it created but notdelivered , or delivered but not invoiced.
The table VBUP has flags for statuses eg
A Not yet processed
B Partially processed
C Completely processed
A for open , B for partial C for complete , so by checking this table you will find which are actually delivered or invoiced completely.
Tcode V.02 gives u this option. -
Report including open purchase order quantity for one storage location
Hello gurus,
I am looking for a report giving me the total/available stock and the open purchase order quantity for all materials stored in a certain storage location.
I.e. like this:
Plant 0001, storage loc. 01
Material stock open purchase order quantity
100000 200 pcs. 50pcs.
Is there such a report in SAP standard?
Thanks
AliciahI
U want the report like this ,
MAterial stock availablein storage location and with Open PO quantity for the same material.???
This report u can get in 2 different transaction . the n u can combine and create one custom transaction .
One is for materil stock in storage location is MB52 or MB5B
THen ME2N for open PO quantity for that material. -
Report for open purchase order quantity
Dear experts,
Is there any report for showing open purchase order quantity for which goods are not yet received?
Regards
babuHi
ref the blw link which will have the complete sap std reports
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/sapStandardReports -
Open Order Quantity for open sales orders
Is there a standard SAP Report that gives the open order quantity for every open sales order. "Open" is defined as any order quantity that has not shipped. Delivery creation is not the same as shipment. VA05 Report does not contain enough information to calculate the open order quantity for an ERP-based backlog report.
Try VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05, you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
Hope it helps.
Jorge Fernandez -
Delivery Completed Indicator - Open PO Quantity Issue
Hi All,
I have an issue relating to our Open Purchase Order Report. I have some POs which are appearing on the report eventhough they are marked, 'Delivery Complete' ie NOT open. The example of a PO is where the PO Quantity is 100 and the Goods Receipt is 99. The user knows that there will be no further deliveries and therefore marks the PO 'Delivery Complete'
In the Extractor to BI we have extracted this field ELIKZ 'Delivery Completed Indicator'. The structure of our datamodel is
PSA -> DSO (Write Optimised DSO) -> Cube
We calculate the Open PO Qty by taking 'PO Qty' minus 'Goods Receipt Quantity' I have checked the example PO in the cube & DSO. I can see that for the infoobject 'Delivery Complete Indicator' that it has been marked 'X' but only on the records relating to the Goods Receipt for this PO. The original PO record is added to the cube eg on 1st Jan and then the Goods Receipt record, including the delivery complete indicator is added to the cube on 31st Jan, but the original record is not updated by this indicator. Therefore at the moment I cannot use this to filter out records in my query. See below how it looks in the Cube;
Created Date - PO No - PO Line - Del Complete Indicator - PO QTy - Goods Receipt Qty
01.01.2011 123 10 (Blank) 100
31.01.2011 123 10 X 99
What should I do? How have you created this report?
Just to let you know I have already read the post Delivery Completed Indicator(ELIKZ:0COMPL_DEL) in 2LIS_02_SCL
Many thanks for your help,
MichelleHi Kalyan,
Thanks very much for your message,
In my case if the Order Qty is not equal to receipted this does not always mean that it is open. Sometimes the receipted quantity can be over or under (not equal) and the PO can be closed. What do you mean by confirmed quanity? Also, this is a Purchase Order report not a Sales report.
You have said...
"Then I would suggest to still keep the condition on the Net ord qty and Net confirmed qty and exclude the del compl indicator as X and also the status as open "
I don't understand how this will work. My issue is that the indicator is not on all the records of a PO only the receipted records.
Can you help again please?
Many thanks
Michelle -
Hi
From the business content, in the update rule: 2LIS_02_SCL -> 0PUR_DS03. there is a routine for the PO open quantity 0BO_QTY as follows:
RESULT = COMM_STRUCTURE-cpquaou * COMM_STRUCTURE-numerator /
COMM_STRUCTURE-denomintr.
cpquaou is mapped to BWMNG which is the PO quantity "not the OPEN PO quantity".
1. So how come this routine calculates the open quantity?
2. I have to report parital open quantity as soon we have confirmed quantities, so I am trying to use 2LIS_02_SCN as a datasource and map it to 0PUR_DS03. Then I will map 0OPNQTY -> 0BO_QTY. Is my logic valid??
3. To resolve the first issue I am thinking to enhance my datasource 2LIS_02_SCL with two fields:
- MENGE (Scheduled Qty.)
- WEMNG (GR Qty.)
then i will change the update rule routine as: Open Qty. = MENGE - WEMNG.
Do you think that approach is ok?
Thanks in Advance
Edited by: Omar on Apr 7, 2010 10:43 AMHi,
The DSO 0PUR_DS03 is loaded from 2LIS_02_SCL & 2LIS_02_SGR .
Open qty is updated both from SCL & SGR.
In SCL it is calculated in datasource level..
In SGR it is calculated in datasource as difference between the schedule line quantity (SCLQTY) and the total quantity (TTLQTY).
SCLQTY u2013 TTLQTY
The loading sequence is SCl then SGR.
1. So how come this routine calculates the open quantity? - it is calculated in datasource level..
2. I have to report parital open quantity as soon we have confirmed quantities, so I am trying to use 2LIS_02_SCN as a datasource and map it to 0PUR_DS03. Then I will map 0OPNQTY -> 0BO_QTY. Is my logic valid??
Partially open Qty is Confirmed Qty - EKES -MENGE.
3. To resolve the first issue I am thinking to enhance my datasource 2LIS_02_SCL with two fields:
- MENGE (Scheduled Qty.)
- WEMNG (GR Qty.)
then i will change the update rule routine as: Open Qty. = MENGE - WEMNG.
Do you think that approach is ok?
No need to enhance can be updated from SGR - SCLQTY u2013 TTLQTY.
http://help.sap.com/saphelp_nw04/helpdata/en/69/063f3f2615e07fe10000000a114084/content.htm
Maybe you are looking for
-
Is it possible to control an itunes library located on an iMAC from a
I am trying to set up a sound system for a blind person using an ipad as a controller. The itunes music library is located on a iMAC and there is a Wifi network with an Airport Express located elsewhere. The ipad has the Remote App and Airport utili
-
Is it possible to create a new tab in 'Default settings for items' option?
Hi everybody I am Raghu working in EBP2.0 & I have come across a difficlty and that is of creating a new tab and also the fields 'GL a/c', 'cost centre' or 'internal order' in this new tab. First of all please let me know whether is it possible to cr
-
Error while calling the standard Program
Hi, I am using the Program <b>RMDATIND</b>, While executing the program ,I am getting an error as <b>The field MARC-AUSDT is not ready for input and was therefore not transfered. </b>. What exactly this means? the message type used is MG. I have tr
-
Please help - strange error message when trying to download i tunes
Hi When i try and download i-tunes i get a message about URBCHN1 not being a win32 command, or something similar. I have tried all thr suggestion on the web, deleted i tunes and quicktime, deleted temp folders and even changed the settings in myconfi
-
I am trying to create a Java server with using Tomcat. After configuration, I can access http://localhost:8080 successfully. However, I can not open SSL function. I have removed the comment of SSL section in server.xml. In addition, I have generated