Batch classification details in Goods receipt
Hi ,
In my business for some of the materials i have activated the batch management and the batch classification details in the material master record.
For those materials if i am doing the goods receipt system is allowing to post the document if the batch characterstics are not entered. I have to restrict if the batch characterstics are not allowed it should not able to post.
I have made a message setting LB045 active with'E'. then also it is allowing.
Is there any other message settings to be configuered.
If the classification tab can be accessed in MIGO is depending on your customizing IMG > Logistics - General > Batch Management > Batch Valuation > Valuation for Goods Movement in Inventory Management > Activate Batch Classification for Goods Movements in IM
there you have 5 options:
' ' No branching to batch classification
1 Classification carried out in background (all batches)
2 Classification only in foregr.for mand.charac. (all batches)
3 Classification always in foreground (all batches)
4 Classification in foreground for new batches only
how did you setup it in your system?
from OSS note 519303 - FAQ: Goods movement with Transaction MIGO:
3. Question:
How does the batch classification work in Transaction MIGO?
Answer:
When you post or check a goods movement, the system carries out the classification in the background. If you want to process the batch classification online, use the 'Classification' pushbutton. You can find this pushbutton on the 'Batch' tab page in the detail data of the item.
You cannot automatically go from Transaction MIGO to the batch classification dialog. You can use the adjustable system message (Transaction OCHS) LB 045 to ensure that the complete classification data is entered.
Similar Messages
-
Hi Experts,
I would liek to ask your help.
We have issue on batch classification details.
During GR, the batch classification details created are not complete, as checked in MSC3N. Why do this happen? Could you kindly help me sort out this problem?
Thank you very much for your help.
MyleneDear Mylene
Materials Management -> Inventory Management and Physical Inventory -> Movement Types -> Copy, Change Movement Types
It is not plant specific. This will popup a window to enter the values for classification.
You can also use transaction OMCV
Logistics - General -> Batch Management -> Batch Valuation -> Valuation for Goods Movement in Inventory Management -> Activate Batch Classification for Goods Movements in IM.
Regards
Soundar -
User Exit for MSC2n( Batch) while doing a Good receipt for an order
Is ther any exit to update the Date1 field(MCHA-FVDT1) in MSC2n( Batch) while doing a Good receipt for an order
Thanks in advanceHi Varsha,
Try these User Exit.
BATCHCHK Function Module Exits for Check in Case of Batch Change
MBCFC010 Propose batch number on Inventory Management item scree
SAPLCHVW Batch where-used list
SAPLMHD1 Shelf life expiration date
SAPLV01D Determining the initial status of a batch
SAPLV01P Function Module Exits at Time Batches Are Updated
SAPLV01Z CFCs for internal batch number assignment
SAPLV1ZE CFCs for external batch number assignment
SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
Regards,
Vijay -
Hi all,
when will the batch assignment ( multiple batches ) takes place - at goods receipt ( order confirmation ) for each process order ?
we will be prompted for the batch assignment ?
thanks
VinuHi,
Yes system will create three process order considering you have maintain maximum lot lize as 1 Lac in Mateial master MRP 1 View.
and these three process order will have different three batches considering you have batch number assignment as the time of release of production order.
this can be multiple batches as well if partial confirmation done and batch number assignment is done on GR.
If you are looking for one batch for three process order you need to go with development.
Thanks -
Batch classification details -mass check -reg
Hi ,
Requirement is as of now batch classification details of a material are checked through MSC3N , where material , plant etc.. are entered and executed .
here we can see for the list of materials one by one only .
is there any t code through which the details can be checked entering materials in multiple / entering material type
if not available in standard SAP , if an ABAP report to be made , please suggest the flow with tables and fields
inputs
material type
material
plant
batch
storage location
out put should be teh batch classification details
Is there any Tcode similar to MSC3N where multiple inputs can be given / details can be taken in mass not entering one by one
plDear,
Please check to table MCH1, AUSP, KSSK, KSML, KLAH
Use these FM.
CLAF_CLASSIFICATION_OF_OBJECTS
[Thread|Re: Get batch characteristic value]
Regards,
R.Brahmankar -
Batch Classification Screen for Goods Movements
SAP Gurus,
Very recently (24. April), we experience the following issue: (PP-PI Process Order)
At the moment of process order confirmation, for any new batch assigned in the good movement overview, there's no pop-up of batch classification screen which allow our user to entry the classification data. And this functionality works fine in the past.
Do you have an idea that how it happens? We checked the configuration OMCV and master data as well, the settings are all fine to me.
Best regards,
VincentDear Vincent,
I think you talk about the 101 movement, don't you? In this case this is not possible at all, check SAP note 85310
Because goods movements can be decoupled from confirmations and
processed in background, it was decided that this functionality would
not be implemented; therefore this is Standard R/3.
Solution
As a work around for this you have the following options:
1. Classify your batch manually through Batch Master Maintenance.
2. Turn off automatic goods receipt and classify your batch through the
pop-up that is presented during MM goods receipt.
3. Do not create your batch during Order Processing. Instead have the
system create it during confirmation and at this time you will be
able to classify your new batch from the Goods Movement screen
COMPONENT>BATCH MANAGEMENT>CREATE BATCH.
Note :
If you want that your batch is classified in the background you can set
in the transaction OMCV (classify batches within goods movement
overview) that the classification is to happen in the background. You
can then utilise the user exit EXIT_SAPMM07M_004 to valuate the
characteristics if it is valid for
your release.
Regards,
Sabine -
Batch Classification for Finished Goods
Hi,
Can anybody explain me the significance of maintaining batch classification data for a finished material?
Currently we have batch management active for all the finished materials but for some materials we have not maintained the classification data.
When I checked the batch data in MMBE it shows me the Production date & Shelf life expiration date based on the values maintained in the material master.
The class type is maintained at the plant level as 022 with characteristics as Last Goods Receipt & Shelf Life Expiration date.
I want to know what impact will be on the distribution of these materials if I do not maintain the classification data?
Thanks & Regards,
AbhijitHi Ravi & Lakshman,
Thanks a lot for the response. I understand what batch classification is & how it is implemented to use in coordination with Batch Determination. What I would like to know is what if the batch search strategy & class type (022) is defined at the plant level and batch management for a finished material is active but classification data is not maintained. GR (101) for this finished material is possible but does this mean that not having classification data will not have any impact on the goods movement of this material?
In case of production when the classification data is not maintained for a back flushed material (raw / semifinish), after the process order confirmation the 261 movements end up in COGI with reason Enter Batch. Since the selection criteria fails due to the unavailability of classification data; the batch needs to be selected manually instead of the system picking up the correct batch automatically.
Like in inventory (consumption of raw & semifinish) do we have batch determination & search strategy for distribution where the finished stock will be picked up for the sales orders based on the selection criteria & sorting rule?
Thanks & regards,
Abhijit
Edited by: Abhijeet K. Nerurkar on Feb 14, 2011 2:18 AM -
New batch number for Draft Good Receipt Purchase Order
Hello,
I'm using SBO 8.81
I'm looking for the table that contains the information about the batch number of a draft good receipt.
DRF16 contains quantity of batch, but when itu2019s new batch, they are not in OBTN yet (in the table, SBO define object type as 10000068 while itu2019s 10000044 for existing batch)
The query defined here is not working as the batches are not in OBTN yet (not in stock)
I used the profiler trying to understand in which table these data are recorder, without success.
Any idea ?
Thank you for your help
Sébastien
Edited by: Sébastien Danober on Aug 24, 2011 6:31 PM
Sorry, wrong forum, I recreate it under SDKHi Sébastien,
The link is from DRF16 to ODBN:
select * from DRF16 T0 inner join ODBN T1 on T0.ObjAbs = T1.AbsEntry
DRF16 has a zero-to-many relationship with DRF1 (ie draft lines)
Kind Regards,
Owen -
Creating Unplanned Batches for Goods Receipts
Recently we had an incident where a goods receipt for a final product did not meet an analytical FDA requirement. We were able to segregated the portion of the material that did not meet this regulatory commitment. We have a manufacturing process in place that will allow us to rework this material however we need to assign this failed portion a new batch number. Since part of this final product is good we want to avoid a re-id of the total quantity of the goods receipt. Is there a way we can create unplanned batches and split a goods receipt for a planned process order after manufacturing has occurred?
Ryan,
For these requirements, you might want to consider classifying your batches. Through classification function, you can assign multiple characteristics to your materials (e.g., one characteristic for inspection type, one class for original batch number, and one class for process order number) and assign specific characteristic values in batch.
I'm not sure which version of SAP you're currently using, but the following is the link to help.sap.com on batch management.
<a href="http://help.sap.com/saphelp_46c/helpdata/en/25/28428b4f7811d18a150000e816ae6e/frameset.htm">BatchManagement_46c</a>
Batch classification is specifically discussed in Batch Specifications section.
Hope this helps. -
Batch number issue when posting goods receipt for Subcontracting PO
Dear expert,
I always heard there will be issues while posting goods receipt for subcontracting PO. If the component is managered by batch.
No batch number will be proposed during PGR in MIGO...
I dont quite understand where is the issue??
My understanding:
We have batch managered components and End Product. All have batch numbers, then we PGI the stock to 'SC stock' via 541 movement type.
Then Vendor will finish the end product and send us back the end product.
We consumption the components use 543 O movement type? And GR the end product..
So while goods receipt, the sytem just need pick the existing batch number for both components and finish products..
Where are the issues???
Thanks.Hoo Laa wrote:
I have questions for people always mentioning there are issues with batch determination while post goods receipt for subcontracting orders.
>
> I am thinking maybe they didnt active the batch determination for 543 movement type..
>
> Thanks.
Hi Hoo,
You are right!!
Setting of batch number determination has its importance in Mvt Type be it 541, 543....
The issue you might have observed would be with Batch Determination in Goods Issues which folks find it bit tough to achieve n make it work for them.
Cheers!!
Shiva -
New batch creation good receipt
I would like to create new batch code automatically on good receipt if it hasn't existed in the system.
Is this related to the movement type or transaction code(MB0A or MIGO) or an user who process good receipt?
Is this configuration or user authority?
Could anybody let me know how to do the set up.
Thank you very much for your help.
Best regards,
MikiHi Indranil,
Thanks for the information.
It is blank for good receipt 101 so it should work fine but it sometimes doesn't work.
Is there any configuration to select plant?
I would like to investigate when it doesn't work.
I am still checking.
Thank you.
Best regards,
Miki -
Batch Classification data not getting updated during the GR of the PO
Dear Gurus,
While doing the GR of the Purchase order the classification data for the batch should get updated .However we can see those data in MSC2N (Change batch) but not in MSC3N (Display Batch) .While consultuing with SAP we found that the data in MSC3N is directly picked in the AUSP table but the data in MSC2 N reads the information directly from the
reference table field (MCH1-LWEDT & MCH1-LIFNR .My Qusetion is why this the AUSP entries are not getting updated during the GR itself.
Sumit MohanHi Sumit,
I am not sure about your question, but if you want to populate the classification data during goods receipt then you need to maintain characteristics values in material master for classification tab under class type batch i.e. 022. After then it will apper during goods receipt for characteristics value for batch.
Regards,
Bhagat -
Grn report(goods receipt notice)
hi to all sdn people can u pls give coding for this if u give the answer i will be greatful to u and i will reward point to all of u
my report is as follows
a report for grn details which shows the all details of goods receipt movements based on the purcahse order.
and pls tell what is the pupose of this report and tables usedHi
Use the Tables
EKKO,EKPO --PO tables and
MKPF and MSEG Tables GRN related.
This report is useful to track the qty of ggods/materials received with respect to the PO's placed.
see the sample code and change the output as per your requirement.
*& Report ZMM_PO_REPORT
REPORT ZMM_PO_REPORT message-Id yb
NO STANDARD PAGE HEADING
LINE-COUNT 60(1)
LINE-SIZE 230.
D A T A B A S E T A B L E S D E C L A R A T I O N
TABLES: lfa1, " Vendor Master
t161, " PO Doc Types
t024, " Purchase Groups
ekko. " PO Header
T Y P E S D E C L A R A T I O N S
Purchase Orders Main Structure
TYPES: BEGIN OF s_po,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
bstyp TYPE bstyp, " PO Category
bukrs TYPE bukrs, " Company Code
bsart TYPE bbsrt, " PO Type
lifnr TYPE lifnr, " Vendor No
ekgrp TYPE bkgrp, " Purchase Group
waers TYPE waers, " Currency
bedat TYPE etbdt, " PO Date
txz01 TYPE txz01, " Material Text
werks TYPE ewerk, " Plant
lgort TYPE lgort_d, " Storage Location
matkl TYPE matkl, " Material Group
menge TYPE bamng, " PR Quantity
meins TYPE bamei, " UOM
bprme TYPE bbprm, " Price Unit
netpr TYPE netpr, " Net price
peinh TYPE peinh, " Price Unit UOM
pstyp TYPE pstyp, " Item Category
knttp TYPE knttp, " Account Assignment Category
END OF s_po.
Purchase Orders History Structure
TYPES: BEGIN OF s_account,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
gjahr TYPE mjahr, " Fiscal Year
belnr TYPE mblnr, " PO Invoice No
menge TYPE menge_d, " PR Quantity
wrbtr TYPE wrbtr, " Price in Local Currency
dmbtr TYPE dmbtr, " Price in Foreign Currency
waers TYPE waers, " Currency
shkzg TYPE shkzg, " Dr/Cr Indicator
END OF s_account.
Purchase Orders History Structure(Item Sum)
TYPES: BEGIN OF s_inv_sum,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
menge TYPE menge_d, " PR Quantity
wrbtr TYPE wrbtr, " Price in Foreign Currency
waers TYPE waers, " Currency
END OF s_inv_sum.
Purchase Orders Main Structure
TYPES: BEGIN OF s_rep,
lifnr TYPE lifnr, " Vendor No
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
bstyp TYPE bstyp, " PO Category
bsart TYPE bbsrt, " PO Type
ekgrp TYPE bkgrp, " Purchase Group
waers TYPE waers, " Currency
bedat TYPE etbdt, " PO Date
txz01 TYPE txz01, " Material Text
werks TYPE ewerk, " Plant
lgort TYPE lgort_d, " Storage Location
matkl TYPE matkl, " Material Group
menge TYPE bamng, " PR Quantity
meins TYPE bamei, " UOM
bprme TYPE bbprm, " Price Unit
netpr TYPE netpr, " Net price
peinh TYPE peinh, " Price Unit UOM
pstyp TYPE pstyp, " Item Category
knttp TYPE knttp, " Account Assignment Category
name1 TYPE name1, " Plant
orewr TYPE netpr, " To be Invoiced Price
curr TYPE waers, " Inv Doc Currency
END OF s_rep.
D A T A D E C L A R A T I O N S
DATA: gv_title1 TYPE sylisel, " Report title
gv_dial. " Color flag
C O N S T A N T S D E C L A R A T I O N S
CONSTANTS: c_x VALUE 'X', " Flag X
c_h VALUE 'H', " Debit
c_vgabe TYPE vgabe VALUE '2'. " Transaction Type
I N T E R N A L T A B L E S D E C L A R A T I O N S
DATA: i_po TYPE STANDARD TABLE OF s_po WITH HEADER LINE,
" Purchase Order
i_inv TYPE STANDARD TABLE OF s_inv_sum WITH HEADER LINE,
" PO Invoice Values
i_rep TYPE STANDARD TABLE OF s_rep WITH HEADER LINE,
" PO Invoice Values
i_ekbe TYPE STANDARD TABLE OF s_account WITH HEADER LINE.
" PO Invoice Values
S E L E C T I O N S C R E E N *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr MATCHCODE OBJECT kred,
s_ebeln FOR ekko-ebeln MATCHCODE OBJECT mekk,
s_bsart FOR t161-bsart,
s_ekgrp FOR t024-ekgrp,
s_bedat FOR ekko-bedat.
SELECTION-SCREEN END OF BLOCK b1.
I N I T I A L I Z A T I O N *
INITIALIZATION.
A T S E L E C T I O N - S C R E E N *
AT SELECTION-SCREEN.
Validate the screen fields
PERFORM validate_screen.
S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Fetch main data
PERFORM fetch_data.
T O P - O F - P A G E *
TOP-OF-PAGE.
Header of the List
PERFORM header.
E N D - O F - P A G E *
Footer
END-OF-PAGE.
ULINE.
E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
Display the Report Output data
PERFORM display_data.
At Line-Selection
AT LINE-SELECTION.
When double clicked on EBELN display the details of Purchase Doc
PERFORM line_sel.
*& Form validate_screen
Validation of Selection Screen fields
FORM validate_screen .
Validation of Vendor Number
CLEAR lfa1-lifnr.
IF NOT s_lifnr[] IS INITIAL.
SELECT lifnr UP TO 1 ROWS
INTO lfa1-lifnr
FROM lfa1
WHERE lifnr IN s_lifnr.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Vendor'(002).
ENDIF.
ENDIF.
Validation of PO Number
CLEAR ekko-ebeln.
IF NOT s_ebeln[] IS INITIAL.
SELECT ebeln UP TO 1 ROWS
INTO ekko-ebeln
FROM ekko
WHERE ebeln IN s_ebeln.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Document Number'(003).
ENDIF.
ENDIF.
Validation of PO Document Type
CLEAR t161-bsart.
IF NOT s_bsart[] IS INITIAL.
SELECT bsart UP TO 1 ROWS
INTO t161-bsart
FROM t161
WHERE bsart IN s_bsart.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Purchase Document Type'(004).
ENDIF.
ENDIF.
Validation of Purchasing Group
CLEAR t024-ekgrp.
IF NOT s_ekgrp[] IS INITIAL.
SELECT ekgrp UP TO 1 ROWS
INTO t024-ekgrp
FROM t024
WHERE ekgrp IN s_ekgrp.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Purchasing Group'(005).
ENDIF.
ENDIF.
ENDFORM. " validate_screen
*& Form fetch_data
Fetching the PO related data from Database Tables
FORM fetch_data .
CLEAR i_po.
REFRESH i_po.
SELECT a~ebeln " PO No.
b~ebelp " PO Item
a~bstyp " PO Category
a~bukrs " Company Code
a~bsart " PO Type
a~lifnr " Vendor No
a~ekgrp " Purchase Group
a~waers " Currency
a~bedat " PO Date
b~txz01 " Material Text
b~werks " Plant
b~lgort " Storage Location
b~matkl " Material Group
b~menge " PR Quantity
b~meins " UOM
b~bprme " Price Unit
b~netpr " Net price
b~peinh " Price Unit UOM
b~pstyp " Item Category
b~knttp " Account Assignment Category
INTO TABLE i_po
FROM ekko AS a JOIN ekpo AS b
ON a~ebeln = b~ebeln
WHERE a~ebeln IN s_ebeln AND
a~lifnr IN s_lifnr AND
a~ekgrp IN s_ekgrp AND
a~bsart IN s_bsart AND
a~bedat IN s_bedat.
SORT i_po BY ebeln ebelp.
break-point.
IF NOT i_po[] IS INITIAL.
Fetch the PO History/Invoice Details from EKBE Table
CLEAR i_ekbe.
REFRESH i_ekbe.
SELECT ebeln " PO No.
ebelp " PO Item
gjahr " Fiscal Year
belnr " PO Invoice No
menge " PR Quantity
wrbtr " Price in Local Currency
dmbtr " Price in Foreign Currency
waers " Currency
shkzg " Dr/Cr Indicator
INTO TABLE i_ekbe
FROM ekbe
FOR ALL ENTRIES IN i_po
WHERE ebeln = i_po-ebeln AND
ebelp = i_po-ebelp AND
vgabe = c_vgabe.
break-point.
IF sy-subrc = 0.
SORT i_ekbe BY ebeln ebelp.
LOOP AT i_ekbe.
IF i_ekbe-shkzg = c_h.
i_ekbe-wrbtr = i_ekbe-wrbtr * -1.
ENDIF.
MODIFY i_ekbe.
ENDLOOP.
break-point.
Sum up the Item wise Invoice totals
LOOP AT i_ekbe.
AT END OF ebelp.
READ TABLE i_ekbe INDEX sy-tabix.
SUM.
MOVE-CORRESPONDING i_ekbe TO i_inv.
APPEND i_inv.
ENDAT.
CLEAR i_inv.
ENDLOOP.
SORT i_inv BY ebeln ebelp.
break-point.
ENDIF.
ENDIF.
Move the Vendor Name and Invoice Values to I_rep Internal Table
LOOP AT i_po.
MOVE-CORRESPONDING i_po TO i_rep.
CLEAR i_inv.
READ TABLE i_inv WITH KEY ebeln = i_po-ebeln
ebelp = i_po-ebelp.
IF sy-subrc = 0.
i_rep-orewr = ( i_po-menge - i_inv-menge ) * i_po-netpr.
i_rep-curr = i_inv-waers.
ELSE.
i_rep-orewr = i_po-menge * i_po-netpr.
i_rep-curr = i_po-waers.
ENDIF.
break-point.
Get the Vendor Name
CLEAR lfa1-name1.
SELECT SINGLE name1 FROM lfa1 INTO lfa1-name1
WHERE lifnr = i_po-lifnr.
IF sy-subrc = 0.
i_rep-name1 = lfa1-name1.
ENDIF.
APPEND i_rep.
CLEAR i_rep.
break-point.
ENDLOOP.
SORT i_rep BY lifnr ebeln ebelp.
DELETE i_rep WHERE orewr LE 0.
break-point.
ENDFORM. " fetch_data
*& Form display_data
Display the Report Output data
FORM display_data .
DATA: lv_flag, " New Flag
lv_rec TYPE i. " No of Records
CLEAR lv_rec.
IF i_rep[] IS INITIAL.
MESSAGE e000 WITH 'No Data found'(022).
ELSE.
LOOP AT i_rep.
Toggle Color
PERFORM toggle_color.
IF lv_flag <> space.
NEW-LINE.
ENDIF.
At New Purchase Document
AT NEW ebeln.
WRITE:/1 sy-vline, 2(10) i_rep-ebeln INTENSIFIED OFF.
lv_flag = c_x.
lv_rec = lv_rec + 1.
ENDAT.
WRITE: 1 sy-vline,
12 sy-vline,13(4) i_rep-bsart,
17 sy-vline,18(10) i_rep-lifnr,
28 sy-vline,29(35) i_rep-name1,
64 sy-vline,65(4) i_rep-ekgrp,
69 sy-vline,70(10) i_rep-bedat,
80 sy-vline,81(5) i_rep-ebelp,
86 sy-vline,87(40) i_rep-txz01,
127 sy-vline,128(9) i_rep-matkl,
137 sy-vline,138(1) i_rep-pstyp,
139 sy-vline,140(1) i_rep-knttp,
141 sy-vline,142(4) i_rep-werks,
146 sy-vline,147(4) i_rep-lgort,
151 sy-vline,152(13) i_rep-menge UNIT i_rep-meins,
165 sy-vline,166(3) i_rep-meins,
169 sy-vline,170(15) i_rep-netpr CURRENCY i_rep-waers,
185 sy-vline,186(4) i_rep-waers,
190 sy-vline,191(5) i_rep-peinh,
196 sy-vline,197(4) i_rep-bprme,
201 sy-vline,202(15) i_rep-orewr CURRENCY i_rep-curr,
217 sy-vline,218(4) i_rep-curr,
222 sy-vline,223(7) i_rep-bstyp centered,
230 sy-vline.
NEW-LINE.
hide: i_rep-ebeln.
ENDLOOP.
ULINE.
FORMAT COLOR OFF.
WRITE : /2 'Total Number of Purchasing Documents:'(025) COLOR 3,
lv_rec COLOR 3.
ENDIF.
ENDFORM. " display_data
*& Form header
Write the Report Header
FORM header .
FORMAT RESET.
header
WRITE:/1(230) 'LIST OF PURCHASE DOCUMENTS PER VENDOR'(006) CENTERED.
SKIP.
FORMAT COLOR COL_HEADING.
ULINE.
WRITE:/1 sy-vline,2(10) 'Pur.Doc.No'(006) CENTERED,
12 sy-vline,13(4) 'Type'(007),
17 sy-vline,18(10) 'Vendor'(008) CENTERED,
28 sy-vline,29(35) 'Name'(009) CENTERED,
64 sy-vline,65(4) 'PGrp'(010) CENTERED,
69 sy-vline,70(10) 'Doc.Date'(012) CENTERED,
80 sy-vline,81(5) 'Item'(011),
86 sy-vline,87(40) 'Material Short Text'(024) CENTERED,
127 sy-vline,128(9) 'Mat.Group'(013),
137 sy-vline,138(1) 'I',
139 sy-vline,140(1) 'A',
141 sy-vline,142(4) 'Plnt'(014),
146 sy-vline,147(4) 'SLoc'(015),
151 sy-vline,152(13) 'Quantity'(016) CENTERED,
165 sy-vline,166(3) 'UoM'(017),
169 sy-vline,170(15) 'Net Value'(018) CENTERED,
185 sy-vline,186(4) 'Curr'(019),
190 sy-vline,191(5) 'Per'(020),
196 sy-vline,197(4) 'Unit'(021),
201 sy-vline,202(15) 'To be Invoiced'(023) CENTERED,
217 sy-vline,218(4) 'Curr'(019),
222 sy-vline,223(7) 'Doc.Cat'(026),
230 sy-vline.
ULINE.
ENDFORM. " header
*& Form toggle_color
This routine alters the color of the records in the list
FORM toggle_color.
IF gv_dial = space.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
gv_dial = c_x.
ELSE.
FORMAT COLOR 1 INTENSIFIED OFF.
CLEAR gv_dial.
ENDIF.
ENDFORM. " toggle_color
*& Form LINE_SEL
*When double clicked on EBELN field display the details of Purchase Doc
FORM line_sel.
CASE sy-lsind.
WHEN '1'.
DATA: lv_field(20),
lv_value(10),
lv_bstyp like i_rep-bstyp.
clear: lv_bstyp,lv_value, lv_field.
GET CURSOR FIELD lv_field VALUE lv_value.
IF lv_field = 'I_REP-EBELN'.
IF NOT lv_value IS INITIAL.
READ LINE sy-index FIELD VALUE i_rep-bstyp
INTO lv_bstyp.
READ CURRENT LINE FIELD VALUE i_rep-bstyp INTO lv_bstyp.
if lv_bstyp = 'F'.
SET PARAMETER ID 'BES' FIELD lv_value.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
elseif ( lv_bstyp = 'K' or lv_bstyp = 'L' ).
SET PARAMETER ID 'VRT' FIELD lv_value.
CALL TRANSACTION 'ME33' AND SKIP FIRST SCREEN.
elseif lv_bstyp = 'A'.
SET PARAMETER ID 'ANF' FIELD lv_value.
CALL TRANSACTION 'ME43' AND SKIP FIRST SCREEN.
endif.
ENDIF.
ENDIF.
ENDCASE.
ENDFORM. " line_sel
Reward points if useful
Regards
Anji -
Goods receipt for purchase assignments has not been posted. Mes. no. O1573
Dear expert,
I got a proplem with Intercompany STO as detail below:
Goods receipt for purchase assignments has not been posted.
Message no. O1573
Diagnosis
Certain fields needed for posting Goods Receipt have not been entered.
System Response
The goods receipt for Purchase Assignment was not posted.
Procedure
Check the error log and make the required entry.
process Step by steps:
1- create PO (intercompany PO) --> save
2- create SO to sell to endcustomer (at receiving company)
3- create DO
4- assign the previewous PO to DO (exchange function)
5- PGI ---> problem as above
Please, kindly helpDear all,
In this case, if I enter itemcategory "U" into PO I can post GR and GI at the same time I do PGI. but you know if I use "U" which mean I can't enter the net price as normal because this is a "stock transfer".
Is there any ideal for this?
Please, help me -
Copy batch classification in GR (101)
Dear gurus,
Could you please help me with the following issue.
I have a material managed in batches, and it has a classification type 023 in material master.
Now I want the class (with all characteristics) to be copied to the batch classification during the good reciept (MIGO / 101).
How it's possible?
When i go to the batch generated in migo (101) using T-code MSC2N, there is one icone in Classification-tab "Create classification". and i can do it manually. how can we do this automatically in GR (101).
Thanks in advance.Hi,
Check for that movement type in OMJJ in Entry control tab where there is field called classification batch, check what is defined for that movement type.
Regards
Ravi Shankar.
Maybe you are looking for
-
Adobe, please stop running from this issue! (GPU vs CPU anomalies / fades)
Adobe, I have tried to bring this issue to light many times, and your own users have argued it ad finem, but to no avail! I am TIRED of getting terrible alpha blending (and opacity curve) results with GPU acceleration enabled, vs CPU. In fact, it is
-
How can I restore an old background on a mac?
Today I created a collage on CollageIt Pro and made it my backround. Then when i restarted my computer, it was gone! How can i restore, or find the wallpaper i had before? (i do have a time machine back up but i could not find the picture). And it se
-
I am totally over mobileme issues yet I love iWeb. Can anyone recommend a good hosting site that is compatible with iWeb? How do I upload the site etc without using mobileme?
-
Best way to migrate applications from Lion to Snow Leopard?
Hello! own a mid 2011 MacBook Pro and upgraded to Lion back when it came out. I've now realized that Lion and CIFS network drives don't get along well. I want to downgrade back to Snow Leopard. I didn't have any Time machine back ups or anything like
-
How to replace a Smart object content with folder of JPGs
Greetings! Sorry if that title is not clear. I have a cover design template (see example). The image is a transformed Smart Object. I want to streamline my workflow. Say I have a folder of jpgs, and need to replace the smart object of the template wi