Amount and quantity to be proposed from PO in case of IR of PO before GR
i have a case when i want to make invoice (MIRO) based on PO before doing GR, the amount and quantity are blank when i reference the PO number in MIRO- GR based IV is unchecked in PO.
Please help me why the amount and quantity field are blank and is it possible through some setting that in case of IR of PO without GR the amount and quantity should be proposed from PO
Regards,
Garima
I don't think in standard process it is possible...one way is to do the GR before custom miro but logically & technically it willbe a wrong process
Regards,
Indranil
Similar Messages
-
Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..
Dear friends,
I am attempting write a dymanic Select Statement (with joins).
And the sleect query looks like this..
SELECT (LT_SEL_LIST)
INTO CORRESPONDING FIELDS OF
TABLE <DYN_TABLE>
FROM (LT_FROM_LIST)
WHERE (LT_WHERE3).
Here the into table is a dynamically created internal table..
which is created by ...this
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IT_OUTPUT2[]
IMPORTING
EP_TABLE = DY_TABLE.
the it_output2 contains the the fieldcatlog information of dynamically given fields :-
like:-
TABNAME
FIELDNAME
DATATYPE
LENG
INTTYPE
ROLLNAME
DECIMALS
REFTABLE
REFFIELD
i mean the internal table is constructed with reference to all the bove metadata.
Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
"The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
the target field's type or the target field is too short."
after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
so now my fieldcatlog looks like this:---
LOOP AT IT_DD03L..
IF IT_DD03L-DATATYPE = 'CURR'.
TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
ENDIF.
IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
ENDIF.
TABLEFIELD-TABNAME = IT_DD03L-TABNAME.
TABLEFIELD-FIELDNAME = IT_DD03L-FIELDNAME.
TABLEFIELD-DATATYPE = IT_DD03L-DATATYPE.
TABLEFIELD-INTLEN = IT_DD03L-LENG.
TABLEFIELD-INTTYPE = IT_DD03L-INTTYPE .
TABLEFIELD-ROLLNAME = IT_DD03L-ROLLNAME.
TABLEFIELD-DECIMALS = IT_DD03L-DECIMALS.
TABLEFIELD-REF_TABLE = IT_DD03L-REFTABLE.
TABLEFIELD-REF_FIELD = IT_DD03L-REFFIELD.
APPEND TABLEFIELD.
CLEAR TABLEFIELD.
ENDLOOP.
Note:- this is a test code so ignore performance issues...
Please help me with some code ...to avoid the Runtime erorr.
Thanks,
jeevan.Hi Jeevan,
Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
data: it_dd03l type table of dd03l initial size 0,
ls_dd03l type dd03l,
lt_fldcat TYPE lvc_t_fcat,
ls_fldcat TYPE lvc_s_fcat,
ls_where(72) TYPE c,
lt_where LIKE TABLE OF ls_where,
lt_fld LIKE TABLE OF ls_where,
lt_data_dy TYPE REF TO data.
field-symbols: <ft_data> TYPE STANDARD TABLE.
select * into table it_dd03l from dd03l
where tabname = 'VBAK'
and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
check sy-subrc eq 0.
loop at it_dd03l into ls_dd03l.
move-corresponding ls_dd03l to ls_fldcat.
append ls_fldcat to lt_fldcat.
move ls_dd03l-fieldname to ls_where.
append ls_where to lt_fld.
if ls_dd03l-fieldname = 'VBELN'.
clear ls_where.
concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
append ls_where to lt_where.
endif.
endloop.
check not lt_fldcat is initial.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lt_fldcat
IMPORTING
ep_table = lt_data_dy
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2.
IF sy-subrc <> 0.
RAISE no_configuration_data.
ENDIF.
ASSIGN lt_data_dy->* TO <ft_data>.
check sy-subrc eq 0.
select (lt_fld) from VBAK into corresponding fields of table
<ft_data>
where (lt_where).
Thanks
Bala -
Amount and quantity of the item in MIRO
Dear Experts,
i had a case when i want to make invoice (MIRO) based on PO that had not been received; the amount and quantity are blanked when i already referenced the PO number - for this case i already put the tick box blank for GR-Bsd IV in the related PO. Please help me why the amount and quantity field are blank while sometimes some PO that had a case like this (non GR-Bsd IV) the amount and quantity is automatically filled out in MIRO.
Regards,
Aditya Utamaits as sap std process
qty and amount will only appere is u have done GR
if u have not done GR than this amount will not come
logic is that
when u have done GR system know that what is the qty or amount must be the invoice of
in case where GR is not done system dont know how much the invoice would have come.
hope this is clear -
OSS notes for MB1B in checking Amount and Quantity depending on the mat. #
Dear All:
Where can i download OSS notes in MB1B for checking the amount and quantity depending on the material number?
Thanks,
CHOCOHi ,
We are not getting what you mean to say.
But as far my understanding of your query I am giving the reply.
OSS notes can be download at the tcode SNOTE.
Pls go to the tcode SNOTE-> GOTO ->DOWNLOAD SAP NOTE.
here you need to give the sap note number.
To get this number you first need to search in service.sap.com and find the relevant note that is useful for ur scenario.
And after finding that note and we need to give this number in SNOTE tcode and we need to download.
Pls tell me your requirement clearly so that i will try to find a oss note for you.
Pls get back to us for further assistance . Happy to help you.
Regards,
Viveks -
Amount and Quantity field during MIR7
Hello Experts,
My client wants to keep Amount and Quantity field in display mode for particular user during parking of Invoice(MIR7)
Is there any way to achieve this.
Thanks and Regards
Gyaneshgo for varients
in SHD0 transaction
here you can try to make fields display mode -
I want to get increment only amount and its percentage of increment from HR
Dear Sir,
I want to get increment only amount and its percentage of increment can you plz help me how to get it
please find below mentioned query.
Regards
select
papf.employee_number as employee_number,
papf.last_name as last_name,
papf.middle_names as middle_name,
papf.first_name as first_name,
papf.known_as as preferred_name,
ppt.user_person_type as employment_type,
ppp.change_date as change_effective_date,
cur.currency_code as currency,
ppp.proposed_salary_n * per_saladmin_utility.get_annualization_factor(paaf.assignment_id , to_date(sysdate)) as current_salary_annual,ppp.proposed_salary_n,
per_saladmin_utility.get_previous_salary(paaf.assignment_id,ppp.PAY_PROPOSAL_ID) PREVIOUS_SAL,
ppp.proposal_reason as sal_proposla_resaon,
ppp.attribute2 as performance,
ppp.attribute3 as gandac,
ppp.attribute4 as NINEBOXPOSITION,
ppp.attribute1 as RPR
from
per_all_people_f papf,
per_all_assignments_f paaf,
per_pay_proposals ppp,
per_pay_bases ppb ,
pay_input_values_f piv,
pay_element_types_f pet,
fnd_currencies_tl cur,
per_person_type_usages_f pptu,
per_person_types ppt
where 1=1
and papf.employee_number in (127)
--and ppp.change_date >= ’01-Jan-2005?
and papf.current_employee_flag = 'Y'
and sysdate between papf.effective_start_date and papf.effective_end_date
and papf.person_id = paaf.person_id
and sysdate between paaf.effective_start_date and paaf.effective_end_date
and paaf.assignment_id = ppp.assignment_id
and paaf.pay_basis_id = ppb.pay_basis_id
and ppb.input_value_id = piv.input_value_id
and piv.element_type_id = pet.element_type_id
and pet.input_currency_code = cur.currency_code
and papf.person_id = pptu.person_id
and pptu.person_type_id = ppt.person_type_id
order by papf.employee_number, ppp.change_date desc
Edited by: user10941925 on Jan 20, 2012 2:37 AMMaybe (taking it literally)
select proposed_salary_n - PREVIOUS_SAL increment,
100 * (proposed_salary_n / PREVIOUS_SAL - 1) increment_percentage
from (select papf.employee_number as employee_number,
papf.last_name as last_name,
papf.middle_names as middle_name,
papf.first_name as first_name,
papf.known_as as preferred_name,
ppt.user_person_type as employment_type,
ppp.change_date as change_effective_date,
cur.currency_code as currency,
ppp.proposed_salary_n * per_saladmin_utility.get_annualization_factor(paaf.assignment_id,to_date(sysdate)) as current_salary_annual,
ppp.proposed_salary_n,
per_saladmin_utility.get_previous_salary(paaf.assignment_id,ppp.PAY_PROPOSAL_ID) PREVIOUS_SAL,
ppp.proposal_reason as sal_proposla_resaon,
ppp.attribute2 as performance,
ppp.attribute3 as gandac,
ppp.attribute4 as NINEBOXPOSITION,
ppp.attribute1 as RPR
from per_all_people_f papf,
per_all_assignments_f paaf,
per_pay_proposals ppp,
per_pay_bases ppb,
pay_input_values_f piv,
pay_element_types_f pet,
fnd_currencies_tl cur,
per_person_type_usages_f pptu,
per_person_types ppt
where 1=1
and papf.employee_number in (127)
-- and ppp.change_date >= ’01-Jan-2005?
and papf.current_employee_flag = 'Y'
and sysdate between papf.effective_start_date and papf.effective_end_date
and papf.person_id = paaf.person_id
and sysdate between paaf.effective_start_date and paaf.effective_end_date
and paaf.assignment_id = ppp.assignment_id
and paaf.pay_basis_id = ppb.pay_basis_id
and ppb.input_value_id = piv.input_value_id
and piv.element_type_id = pet.element_type_id
and pet.input_currency_code = cur.currency_code
and papf.person_id = pptu.person_id
and pptu.person_type_id = ppt.person_type_id
order by papf.employee_number,ppp.change_date desc
order by employee_number,change_effective_date descRegards
Etbin -
MIRO issue (urgent!), amount and quantity fields are not captured from PO
Hi,
When we try to post thought MIRO using PO as reference, quantity and amount fields are not captured. We do MIGO first and then MIRO.
GR based invoice verification in the vendor master is selected and the check mark GR-based in the PO is selected too.
We're getting this MIRO issue for "all" PO and Service Entry Sheet.
We'll appreciate your recommendation in order to fix this critical issue as soon as possible.
Thanks in advance.I was looking for copy controls and other functions. Glad this is now resolved. You need to award yourself points!
Cheers. -
Amount and Quantity (with curr and unit) into single column
Hi All,
I have a query with several measures in the rows and two columns, one with 0AMOUNT and the other with 0QUANTITY. At least one of them (0AMOUNT, 0QUANTITY) equals 0 and I'd like to have the query just one column with 0AMOUNT and if 0AMOUNT = 0, then to put there 0QUANTITY. So I used this formula :
( 'Amount' <> 0 ) * NODIM ( 'Amount' ) + ( 'Amount' == 0 ) * NODIM ( 'Quantity' )
The problem is that I need to preserve 0UNIT and 0CURRENCY and if I remove NODIM the formula of course ends with error. Any idea how to solve this??
Thanks for any suggestions.
Paveluser9502062 wrote:
i want to do this without using any predefined functions.Well this solution still uses an analytical function if that's allowed...
SQL> ed
Wrote file afiedt.buf
1 select deptno
2 ,rtrim(max(decode(rn,1,ename))||','||
3 max(decode(rn,2,ename))||','||
4 max(decode(rn,3,ename))||','||
5 max(decode(rn,4,ename))||','||
6 max(decode(rn,5,ename))||','||
7 max(decode(rn,6,ename))||','||
8 max(decode(rn,7,ename))||','||
9 max(decode(rn,8,ename))||','||
10 max(decode(rn,9,ename))||','||
11 max(decode(rn,10,ename)),',') as enames
12 from (select deptno, ename, row_number() over (partition by deptno order by ename) as rn from emp)
13* group by deptno
SQL> /
DEPTNO ENAMES
10 CLARK,KING,MILLER
20 ADAMS,FORD,JONES,SCOTT,SMITH
30 ALLEN,BLAKE,JAMES,MARTIN,TURNER,WARD
SQL>... but it does limit you to how many rows you can join together.
Otherwise I'd suggest you go back to your teacher and ask them for more information about why you can't use predefined functions. -
Amount and Quantity of Goods issue made for a material and movement type
hi experts,
i need for a particular movement type considered, what are the goods issues made(Quatity, Amount) in the particular period for a material.Can u help me out in which table i can find this data. I think this can be achieved from MSEG,but it could be a performance issue.Which tables i have to approach to find the Quatity and amount of the GI madeHello
Read MSEG and MKPF (for posting date in the document) -
Why does the charger not charge my battery? I just bought and installed a new battery from Apple (direct) today
yes, the charger was working before.
so far i have:
1. updated my software
2. updated to battery 1.2
3. took off the "duck" plug and used the macbook pro cord that was provided
4. checked and cleaned the pins on the magsafe
5. checked and cleaned the magsafe port
any ideas? i appreciate your response! -
Difference between the subledger amount and the expense amount
Hi everybody
I am using PPAC Cost method to book OPM transactions to subledger, the subledger update process is generating RCA postings related to GL Expense cost components at average cost (Batch Certify subevent). This is resulting in a difference between the subledger amount and the expense amount. It is required to generate RCA postings based on allocated expense amount and not based on the average cost.
Did u face such problem before ? can anybody help me ?
Thank You and Best RegardsHi
Mmd.
The difference between the subledger amount and the expense amount MUST be adjusted using Adjustment form
Navigation: Finanacial-->Cost Management--> Actual Costing-->Adjustment
where u can see the Actual Cost adjustments form and u can adjust the diff.
hope this is cleat to u.
Raj
HYD -
From which table can I display PGI (material and quantity)for a spesific cu
Dear gurus,
From which table can I display PGI (material and quantity)for a spesific customer order?
Thanks in advanceHI
PGI and material quantity can be available in MSEG table
for this enter the sales order number in KDAUF or* MAT_KDAUF* fields in MSEG table
Also try with LIPS delivery item table and LIKP table
regards
SAP SD
Edited by: sapkpit_sd on Jul 22, 2010 8:14 AM -
Batch 0000000521 was proposed from initial transaction and cannot be change
Dear All,
My business process is we create new batch to replace/substitute the delivered batch when customer return is happen (in outbound delivery process).
that condition is running well when the return sales order not refer to billing document (billing document for previous sales order).
But when the return sales order refer to billing document (billing document for previous sales order), the old batch (batch that delivered) cannot change. there is error message when i try to change the batch :
"Batch 0000000521 was proposed from initial transaction and cannot be changed"
What should i do fix it ?
Thanks & Regards,
Saiful arifHi,
In T.code VTAF, go to the source and target document type and then go to the item details.
There you can find a box Donot copy batch, check the box and save.
Create a new return with reference to billing document and check now.
Regards -
Can u pls tell what r the currency and quantity fields in detail.
hi to all can u pls teell
can u pls tell what r the currency and quantity fields in detail.
what is reference table .and reference fields .why we r giving theese reference table names while creating the currency fields .Hi,
Currency amount fields and quantity fields are numeric fields which each have a currency or unit field assigned to them. The correct interpretation of the values in these fields depends on its currency or unit of measure. Therefore, you can decide whether you want their corresponding currency/unit of measure to be displayed before or after the field, or not at all. Proceed as follows:
1. Select the field.
2. Choose one of the options from the window on the lower left (before, No currency field/unit, or after).
3. Choose Apply.
For more information check the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/0b/5da4e42cf511d5b692006094192fe3/frameset.htm
Following are system variables of currency:
SY-CCURS
R/2 - exchange rate and result field for CURRENCY CONVERSION. Not filled in R/3.
SY-CCURT
R/2 - table exchange rate for CURRENCY CONVERSION. Not filled in R/3.
SY-CDATE
R/2 - exchange rate date for CURRENCY CONVERSION. Not filled in R/3.
SY-CTABL
R/2 - exchange rate table for CURRENCY CONVERSION. Not filled in R/3.
SY-CTYPE
R/2 - exchange rate type for CURRENCY CONVERSION. Not filled in R/3.
SY-DCSYS
Dialog system of the R/2 System. Not filled in R/3.
SY-WAERS
Formerly the company code currency after reading a posting segment. Not filled in R/3.
Regards,
Bhaskar -
Transfers proposal from production storrage to shipping storrage.
Dear all,
I work for the shipping department in my company and I would like to do some change in our
procedure.
Here is the structure of SLoc: We have a main shipping storage (Lean WM) which one is the
number 2000 and we have many production storages (MM) 2001, 2002, 2003, etc.
From time to time we have requirement for goods are located in MM stock (ex: 2001) these
MM stock are not manage by my team and are located somewhere else in our different
buildings.
I would like that every requirements are made for our shipping storage 2000 and that
the system propose transfers stock from MM stock to shipping stock to cover the
needs in shipping stock 2000. Ex: 2001 à 2000.
Do you know any solutions to do it? I know the transaction MF60 that analyse the need in
stock X and show the Qty missing in this stock X. Then you can propose transfer
from stock Y to stock X.
This transaction would be perfect for me, but it only analyse the need for
Production order, but don’t check the need for Transfer Order.
My English is not perfect so I hope that you have understood my problem.
If anyone know a solution, please let me know.
Thank you.
Best regardsHi Vincent,
You may try with LP22 transaction.
This transaction basically is used for replenishing based on outbound deliveries in shipping.
Here as well, it is a Fixed Bin replenishment.
You are only to provide Fixed Bin details along with Fixed Bin storage type and it would check the bin situation. I may advise you to create a storage type near MM storage location which would be acting as PSA (Production supply area).
LP22 Transaction
Short text
Replenishment Planning for Fixed Bins
Purpose
You can use this report to create transfer requirements for the replenishment of fixed bins in which stock removals based on relevant deliveries are taken into consideration before picking takes place.
The report only considers fixed storage bins and planned picks for these in addition to the current stock situation. The number of deliveries that are considered to initiate these stock removals can be limited based on various selection criteria. The system considers transfer requirements that have already been created for replenishment as future stock.
You can use this report, for example, at the end of the workday to create replenishment transfer requirements to supply fixed bins for the following day. This way, you can retrieve an overview of the planned replenishments.
This report does not resolve any exact time planning or control of replenishments. You must still organize and carry out the physical replenishment. To post the replenishment in the system, you must create a transfer order for the transfer requirement and confirm it once the replenishment has taken place.
A goods movement from one source storage type to a fixed bin in a fixed bin storage type is considered to be a fixed bin replenishment. You enter the fixed bin storage type into the selection screen of the report. As far as this report is concerned, the source storage type is irrelevant; the source storage type is not determined until the transfer order is created for the transfer requirement using the material-dependent stock removal indicator.
You can use two customer exits to change the way the system processes data to match your needs.
In the first customer exit ((EXIT_RLLNACH2_001, enhancement MWMRP001) you can change the internal table of relevant delivery items. For example, you can add or delete items or change the quantities of the items.
In the second customer exit (EXIT_RLLNACH2_002, enhancement MWMRP002) you can change the internal table of material items with data such as total quantity for replenishment, material quantity and number of transfer requests.
Maybe you are looking for
-
hello with JMF i try to load video files in my software, but some AVI sound can't be loaded, or others AVI i can't see any video. ex: Unable to handle format: LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 88200.0 frame rate, FrameSize=32
-
Best reader for various document types?
Just got a iPad 2. What I want to do with it is read documents. I have a lot of pdf, .doc, and various ebook format (mostly chm or mobi) articles and notes from school that I want to read on my iPad. First question is...is there a good app that will
-
I changed my Apple account and still can't update my applications
I changed my apple id and can't update my applications as my old apple ID is still appear once I'm trying to update it
-
Todavia puedo pedir mi bumper para iPhone 4 dado lo del reciente arreglo?
Lo que pasa es que soy de mexico, y quisiera saber si puedo pedir mi bumper gratis dado que mi iPhone 4 presenta el famoso "Antennagate", pero como lo adquiri recientemente obviamente me perdí del programa de bumpers gratis. Pero acabo de leer que ya
-
Hello and hi to all members, I have new HDD install in my sun netra T2..and realise that the new HDD has solaris 9 OS in it. I tried to fresh format the solaris 9 HDD but the machine keep on showing "can't format mount" and the machine can only detec