Goods receipt by list?
Hello gurus,
very often goods purchased by us are delivered directly to our customers. So we do not actually "see" the goods arriving but periodically get lists with all goods received from our customers.
Now we would like to create the goods receipts without having to do it manually. E.g. we get a list with 100 items (from serveral different POs). So we would have to use MIGO and manually enter the numbers of every PO on the list and manually select those items on the list.
Is there better way to do this (preferrably without programming)? Like in some way importing the list (that contains PO and item number for every item)?
Thanks
Alicia
Hi Alicia
For this business process you can use third party processing (maybe you are using now - it's just information):
http://help.sap.com/saphelp_47x200/helpdata/en/dd/560287545a11d1a7020000e829fd11/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/4d/2b91be43ad11d189410000e829fbbd/frameset.htm
As for your original question (mass goods receipt), there's no such standard transaction in SAP as per my best knowledge.
- you could develop one transaction and input the data in an excel file
- your system should be connected with your customer's, and they would have to do their GR that would your GR too
The account assignment category controls whether you need GR or not. If your apply such account assignment you don't have to do GR - of course, disadvantage is that you won't have that information.
Just my opinion
Regards,
Csaba
Similar Messages
-
Experts,
I have a client who wants to know if there is a way to change the Default Price List on a Goods Receipt to another from the Last Purchase price?
Any help would be appreciated.
MarliHello Sir,
I faced this same issue, please let me know how to change the default price list from Goods Receipt?
Is it possible to change the default Price List or not..???
Regards,
Pankit Sheth -
List of Invoices which are paid without a Goods receipt
Hello,
Does anyone know a report which shows invoices which are paid without goods receipt being done on them. The reason for this is the process that we follow:
We dont do GR based IV because there are invoices which are received without the Goods receipt being done. So the process is that all invoices which dont have a Goods received are automatically R-blocked by the system and hence no payment can be released unless they are Goods receipted. We run transaction MRBR in background everyday and it releases invoices which have a corresponding GR. At month end, we do a GRIR clearing account transaction which cleared all invoices which didnt have a GR (this is the way it was done historically) and we are looking to improve this process. What this means is that an invoice which didnt have a goods receipt also got cleared off and the R block was removed and hence it appeared in the automatic payment program and was paid.
Business wants to find out any report which would show them all invoices paid without a GR. Its the only way to know what payments have been made to vendors which actually shouldnt have been made.
Any insights would be really helpful.
Thanks
Keyurdear sir
in MB5S- list of GR/IR balances.
this report will show the GR/IR pending.
regards
jrp -
Report for list of good receipt document against advance document
Dear all,
Good Morning.
I want list of pending purchase order in which advace document is created but good receipt document is not created.
Like.
I have create one purchase order & also create down payment request with F-47. Payment also done by f-48.
Now i want below mention detail
1) List of purchase order in which advance is done but good receipt document is not created i means material is not received.
2) If good receipt document is created then list of good receipt documents.
Above both report required with advance document no. & purchase order no.
Regards,
Mahesh WaghList of purchase order in which advance is done but good receipt document is not created
i means material is not received.
Use report ME2N with scope of list 'ALLES',selection parameter - WE101
If good receipt document is created then list of good receipt documents.
Use report ME2N With Scope of list 'ALLES',Selection parameter - RECHNUNG -
List of purchase orders is empty on Goods Receipt PO
Hi,
a user can't see the purchase order lists (empty result) when he clicks the "copy from" button on Good Receipt PO, although he just added several new purchase orders (hence they are still open). The weird thing is, another user with the same authorizations (I copied the authorizations) can see the results.
Does anyone know why? Is there any setup or permission I should be aware of?
Thanks!!
AndreHi,
Did the user fill out the BP details? You will see the PO's only after choosing a supplier.
Regards,
Nat -
DI API - Goods Receipt (OIGN) - HOWTO Set Price List ?
Hi everyone,
I want to create a Goods Receipt Document via DI API
Documents doc = (Documents)cmp.GetBusinessObject(BoObjectTypes.oInventoryGenEntry);
I set doc.DocDate of the document header,
and doc.Lines.ItemCode, doc.Lines.Quantity of document lines
In some cases, SAP does not allow me to add the document, namely when an item does not have a price...
In SAP GUI there is a possibiliy to set a price list (instead of "Last Purchase Price")
the related field in Database (OIGN) is "GroupNum"
My question is now - How can i set this variable "GroupNum" via DI API? Documents contains no property for doing this??
(I already looked at SDK Docu relating GetItemPrice, PriceLists but i didnt really found what i m looking for).
Best regardsAre you serious ?
They use this property to change the Price List of a Goods Receipt ?
I mean I understand that this is a Marketing Document but the lack of a property for disctinct values like Price List
is not that good. -
PO's fully goods receipted are still appearing in the list to GR
Hi,
I am experiencing the following problem. The PO has been goods receipted fully (checked both in EBP and R/3)
Why it is still appearing in the list to be goods receipted in "Confirm goods and services" in the menu ?
Thanks in advance!Hello Yulia,
Please, have a look at thread below :
[BBPCF02, POs with Goods Receipt must not be shown|BBPCF02, POs with Goods Receipt must not be shown;
Regards.
Laurent. -
Default price list in goods receipt
Hi,
Please let me know how I can change the default price list in GOODS RECEIPT (which is currently "Last Purchase Price")
Regards,Hi,
The Default price List is specified on the Business Partner Master Data > Payment Terms Tab. The price in the Price List, linked to the Business Partner Master Data will default to the documents. You can also assign a Price List in form Settings.
Kind regards
Carin -
DTW - selecting a Price List in a Goods Receipt PO
Hi
I am looking to use a Price List with my import of a Goods Receipt PO but am unsure what field name to use?
Thanks
IanHi Ian........
There is no such field for Price List in GRPO Template but if you want it to be picked up while import you have to set the same in Business Partner Master data either manually or by DTW update and then try importing GRPO.
Hope this will solve your problem..........
Regards,
Rahul -
How to create the good received list before actual goods receipt?
Hi,
Current process at client's end.
1)Shipment arrives from vendor
2)Warehouse prints the reception note (with the system generated no.), based on the purchase order (usually referenced on package or vendor paperwork)
3)Warehouse confirms the correct product was shipped by the vendor and hand writes the quantity, lot #, and the zone/location where the material has been stored in the warehouse (they also write down if there are any problems with the shipment, etc)
4)The reception note, along with all of the vendor paperwork is transferred to the purchasing department, who then processes goods receipt based on the information written on the Reception note.
How to to map above in SAP?
(In SAP GR is printed after it is created, whereas client wants the printout before GR is created.)
Thanks in advance,
SanjogHi,
I wonder why purchasers should do GR...
The goods arive at the warehouse and WH staff checks / receives them, so normally the should do the GR.
If they do mistake, GR can be cancelled.
I think your client should revise its process...
What is the sense of giving a paper, with same details as the GR would have, to the purchaser who books the GR based on that paper w/o ever seeing the goods?
I just want to say that in your process the purchaser depends on the information provided by WH staff. Why cannot be the booking executed the WH? And why can purchaser book the GR using the same information?
In case of normal process (GR done by WH staff) purchaser could check the GR in SAP w/o a physical "paperflow"...
Please explain their reason not to do this way.
Regards,
Csaba -
Adding item description in Goods receipt list
hi gurus,
my company needs item description in the goods receipt slip.Can anyone suggest me how we can achieve this .I think it;s a simple change.I am a beginner please help me.
chrisHi Chris
A goods receipt slip will be created/triggered within a goods movement via Inventory output messages.
There are lots of these available in the standard system and they can be determined by different configuration, such as movement, doc type etc.
See IMG > Materials Management > Inventory Management > Output Determination > Maintain Output Types (E.G. Type WA03)
Each one of these outputs has a standard SAPScript assigned, whch determines what the print looks like etc. In WA03 it is WESCHEINVERS1
A developer can review the sapscript and identify if the material description is there, if it is not then it can be added and positioned as required.
Please remember that this is classed as customer development
Regards
Steve -
I want to see a PO's without Goods receipt list
Hi all.
There are some table with " PO's with not posted for Goods Receipt " ???
I'm searching for table similar to SHP_IDX_GDSI ( Outbound Deliveries: Not Posted for Goods Issue ) but, in this case for PO's.
If doesn't exists this table, How I can to see these PO's ???
thanks a lot.
IsmaelHi
Please check the field ELIKZ in EKPO table.. If there is "X" marked here, that means the item is delivered. If all the items have this marked then the PO is complete
Thanks
Prashanth -
Query help on Goods Receipt Query with AP Invoice
Looking for a little help on a query. I would like to list all the goods receipts for a given date range and then display the AP Invoice information (if its been copied to an AP Invoice). I think my problem is in my where clause, I plagerized an SAP query to show GR and AP from a PO as a start. SBO 2005 SP01. Any help would be great appreciated. Thanks
SELECT distinct 'GR',
D0.DocStatus,
D0.DocNum ,
D0.DocDate,
D0.DocDueDate,
D0.DocTotal,
'AP',
I0.DocStatus,
I0.DocNum ,
I0.DocDate,
I0.DocDueDate,
I0.DocTotal,
I0.PaidToDate
FROM
((OPDN D0 inner Join PDN1 D1 on D0.DocEntry = D1.DocEntry)
full outer join
(OPCH I0 inner join PCH1 I1 on I0.DocEntry = I1.DocEntry)
on (I1.BaseType=20 AND D1.DocEntry = I1.BaseEntry AND D1.LineNum=I1.BaseLine))
WHERE
(D1.BaseType=22 AND D1.DocDate>='[%0]' AND D1.DocDate<='[%1]')
OR (I1.BaseType=20 AND I1.BaseEntry IN
(SELECT Distinct DocEntry
FROM PDN1 WHERE BaseType=22 AND DocDate>='[%0]' AND DocDate<='[%1]'))Hi Dalen ,
I believe it is because of the condition
(D1.BaseType=22 AND D1.DocDate>='%0' AND D1.DocDate<='%1')
OR (I1.BaseType=20 AND I1.BaseEntry IN
(SELECT Distinct DocEntry FROM PDN1 WHERE PDN1.BaseType=22 AND DocDate>='%0' AND DocDate<='%1'))
Try changing
D1.BaseType=22 OR D1.DocDate>='%0' AND D1.DocDate<='%1
PDN1.BaseType=22 OR DocDate>='%0' AND DocDate<='%1'))
Lets see what would be the result . Lets have some fun with troubleshooting
See what would be the difference in the result .
Thank you
Bishal -
Should the Goods Receipt Inventory Transaction include Item Cost selection?
When processing a Goods Receipt inventory transaction, the Price List pull down does not display "Item Cost" as a selection.
The user can make the Unit Price field visible and active, compare the cost displayed from the Price List selected to the current Item cost and update if different. This forces the user to be very cost cognizant as none of the price lists available are guaranteed to be equal to the current item cost.
Update of the record can cause a cost revaluation in moving average or a cost varinance account adjustment in a standard cost system.
The companies I have talked to would prefer to select Item Cost in the price list field as they can do in the Stock Posting.
I am looking for further input on this.
Thanks,
JimNo replies since April 2009, closing.
-
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
Maybe you are looking for
-
Problem with display of content in Windows XP - help!
Hi, I recently created a Windows XP partition on my Mac using Boot Camp and am having a problem. Everything that I open in Windows is way too big and in some cases, it means that I can't access the whole page or scroll up or down. Even when I open Gm
-
IPod connects and charges, but now doesn't show up on desktop or in iTunes
I've seen numerous threads/topics about iPods not connecting/showing up...and most say to reset, but if i can't even get it to show up in iTunes in order to reset how do I go about this?? Also, if I reset, am I losing all my music/worked saved on it?
-
Oracle Client installs with validated rpms
Hello, I'm new to the Oracle on Linux world (OL6), so hoping someone could point me in the right direction. I'm needing to set up some Oracle clients (11.2) on middle tier/application servers Looking around for a simple/repeatable way of meeting the
-
Text Indexing based on XML_SECTION_GROUP
I've text-indexed a column using a section group based on XML_SECTION_GROUP and containing 5 field sections corresponding to 5 xml tags. It took a long time to index - somewhere around 12 hours - compared to 2 hours to do a vanilla text index on the
-
What is the best way to enable multiple people to work together in Imovie?
I am teaching a class of seven students who are creating a movie together. How can we set up this project so that they can each have access to the movie project files to work on their part of it? The master media files are on a shared college media f