Unable to display purchase orders
Hi All,
User is not able to Find purchase orders when going from 'Process Purchase orders' tab.(in production system)
Even though purchase orders exist for search criterion,it is showing message 'No pruchase orders corresponding to search criterion'.
We are using SRM3.0 version.
Please help me on this as user needs it ursgently to process purcahse orders.
Thank You.
Hi,
There are two possibilities:
1. The authorizations are not sufficient for that users to view the PO.
2. There is some search criteria in extended search which is causing this trouble.
Please go through the following links:
Re: process purchase orders
No documents correspond to search criteria or no authorization in SRM syste
Thanks,
Pradeep
Similar Messages
-
Displaying Purchase order in report
Hi Expert
I am modifing a report for Mangement , They want to display purchase order in the report .....So I did the following modification but when I run the report all the fields are displaying and purchase order is showing empty, though I have added the po in the table and if you see my coding for adding po
data: vbkd-bstkd.
clear po_number.
select single bstkd into po_number
from vbkd
where vbeln = s903-vgbel.
call function 'RSAQRT_TEXTFIELD_CONTEXT'
exporting name = 'S903'
struc = S903.
call function 'RSAQRT_TEXTFIELD_CALL'
exporting struc = S903
name = 'S903'
fname = 'MATNR'
importing text = TEXT_S903_MATNR.
Can anyone help me please ....................it is very urgent
include /1BCDWB/IQ000000000226DAT
*{ INSERT 2
constants:
begin of %iqid,"type aqliqid
workspace type aql_wsid value ' ',
usergroup type aql_ugroup value 'SALES',
query type aql_query value 'BILL_DEL',
lid type aql_lid value 'G00',
struct type aql_tname value '/1BCDWB/IQ000000000226',
infoset type aql_iset value 'S903',
end of %iqid.
data %runmode type aqlimode.
data %seloptions type table of rsparams with header line.
field-symbols <%selopt> type rsparams_tt.
data TEXT_S903_FKART like TVFKT-VTEXT.
data TEXT_S903_FKSTO like DD07D-DDTEXT.
data TEXT_S903_GEWEI like T006A-MSEHL.
data TEXT_S903_KDKG1 like TVKGGT-VTEXT.
data TEXT_S903_KDKG2 like TVKGGT-VTEXT.
data TEXT_S903_KDKG3 like TVKGGT-VTEXT.
data TEXT_S903_MATNR like MAKT-MAKTX.
data TEXT_S903_MATNR_01 like MAKT-MAKTX.
data TEXT_S903_PERIV like T009T-LTEXT.
data TEXT_S903_PKUNAG like KNA1-NAME1.
data TEXT_S903_PKUNAG_07 like KNA1-NAME1.
data TEXT_S903_PKUNWE_01 like KNA1-NAME1.
data TEXT_S903_PMATN like MAKT-MAKTX.
data TEXT_S903_SPART like TSPAT-VTEXT.
data TEXT_S903_VKBUR like TVKBT-BEZEI.
data TEXT_S903_VKBUR_05 like TVKBT-BEZEI.
data TEXT_S903_VKORG like TVKOT-VTEXT.
data TEXT_S903_VKORG_03 like TVKOT-VTEXT.
data TEXT_S903_VOLEH like T006A-MSEHL.
data TEXT_S903_VRKME like T006A-MSEHL.
data TEXT_S903_VSTEL like TVSTT-VTEXT.
data TEXT_S903_VTWEG like TVTWT-VTEXT.
data TEXT_S903_VTWEG_04 like TVTWT-VTEXT.
data TEXT_S903_WAERK like TCURT-LTEXT.
data TEXT_S903_WERKS like T001W-NAME1.
data TEXT_S903_WERKS_01 like T001W-NAME1.
data TEXT_S903_ZZ_MGN like DD07D-DDTEXT.
data SP_ADD like VBPA-ADRNR.
data CUST_NAME like KNA1-NAME1.
data SHADD like VBPA-ADRNR.
data SHNAME like KNA1-NAME1.
data ADDRS like ADRC-STREET.
data MANDCK like LIKP-BOLNR.
data CMDDOC like LIKP-XABLN.
data EXT_DEL like LIKP-LIFEX.
*****ADD BY PIROZ
data PO_NUMBER like VBKD-BSTKD.
*data TEXT_S903_MATNR like MAKT-MAKTX.
TOTAL
data %Z_0001 like S903-NETWR.
CON_MARG
data %Z_0004 like %Z_0001.
CON_MRG_PC
data %Z_0005 like %Z_0001.
tables S903.
Function----
FUNCTION /1BCDWB/IQ000000000226EXTR.
""Local interface:
*" TABLES
*" %SELOPT STRUCTURE RSPARAMS
*" %DTAB STRUCTURE /1BCDWB/IQ000000000226
*" CHANGING
*" VALUE(%RTMODE) TYPE AQLIMODE
*" EXCEPTIONS
*" NO_DATA
*" NO_AUTHORIZATION
*" ILLEGAL_PACKAGE
*" CURSOR_NOT_OPEN
call function 'RSAQRT_SET_IDENTIFICATION'
exporting iqid = %iqid
sscr_report = sy-repid
changing rtmode = %rtmode.
if %rtmode-pack_on = space or %rtmode-first_call = 'X'.
call function 'RSAQRT_FILL_SELECTIONS'
tables selopt = %selopt
changing rtmode = %rtmode.
endif.
call function 'RSAQRT_INIT_TEXTHANDLING'
exporting class = 'CL_TEXT_IDENTIFIER'
wsid = ' '
infoset = 'S903'.
if %rtmode-no_authchk = space
and ( %rtmode-pack_on = space or %rtmode-first_call = 'X' ).
refresh %auth_tabs.
append 'S903' to %auth_tabs.
call function 'RSAQRT_AUTHORITY_CHECK'
exporting
auth_tabs = %auth_tabs
changing
rtmode = %rtmode
exceptions
NO_AUTHORIZATION = 1.
if sy-subrc = 1.
raise no_authorization.
endif.
endif.
data: %l_no_further_fetch type flag, " stop fetching
%l_hits_cnt type i. " cnt for %dbtab entries
if %rtmode-pack_abort = 'X'.
if not %dbcursor is initial.
close cursor %dbcursor.
endif.
exit.
endif.
if %rtmode-pack_on = space or %rtmode-first_call = 'X'.
if not %dbcursor is initial.
close cursor %dbcursor.
endif.
open cursor with hold %dbcursor for
select FKDAT VBELN FKART VKORG PKUNAG PKUNWE_01 MATNR VKBUR FKIMG VRKME FKSTO WERKS NETWR WAERK MWSBP VGBEL VGPOS ERNAM POSNR
VSTEL AUBEL KZWI1 KZWI2 ZZ_CART ZZ_MINCAR ZZ_WKND ZZ_FUEL UMSMNG KZWI4 KZWI3 ZZ_MGN WAVWR SPTAG
from S903
where SPTAG in SP$00001
and ERNAM in SP$00012
and WERKS in SP$00008
and MATNR in SP$00006
and PKUNAG in SP$00004
and VKORG in SP$00005
and FKART in SP$00007
and VBELN in SP$00002
and FKDAT in SP$00003.
endif.
if %dbcursor is initial.
raise cursor_not_open.
endif.
while %l_no_further_fetch = space.
fetch next cursor %dbcursor
into corresponding fields of S903.
if ( ( %rtmode-acc_check = 'X' and
sy-dbcnt > %rtmode-acc_number )
or sy-subrc <> 0 ).
%l_no_further_fetch = 'X'.
else.
call function 'RSAQRT_TEXTFIELD_REFRESH'.
additional coding:
data: vbpa-kunnr,
vbpa-parvw,
vbpa-adrnr.
clear sP_add.
select single adrnr into SP_ADD
from vbpa
where vbeln = s903-vbeln and
kunnr = s903-pkunag and
parvw = 'AG'.
additional coding:
select single name1 into cust_name
from adrc
where addrnumber = sp_add.
additional coding:
data: adrc-name1,
adrc-addrnumber.
clear shadd.
select single adrnr into SHADD
from vbpa
where vbeln = s903-vbeln and
kunnr = s903-pkunwe_01 and
parvw = 'WE'.
additional coding:
clear shname.
select single name1 into shname
from adrc
where addrnumber = shadd.
additional coding:
*{ REPLACE 1
\ data: adrc-street.
\ select single street into addrs
\ from adrc
\ where addrnumber = shadd.
data: adrc-street.
select single street into addrs
from adrc
where addrnumber = shadd.
*} REPLACE
additional coding:
data: likp-bolnr.
clear mandck.
if s903-vgbel ne space.
select single bolnr into mandck
from likp
where vbeln = s903-vgbel.
endif.
check SP$00009.
additional coding:
data: likp-xabln.
clear cmddoc.
select single xabln into cmddoc
from likp
where vbeln = s903-vgbel.
check SP$00010.
additional coding:
data: likp-lifex.
clear ext_del.
select single lifex into ext_del
from likp
where vbeln = s903-vgbel.
check SP$00011.
additional coding:
data: vbkd-bstkd.
clear po_number.
select single bstkd into po_number
from vbkd
where vbeln = s903-vgbel.
call function 'RSAQRT_TEXTFIELD_CONTEXT'
exporting name = 'S903'
struc = S903.
call function 'RSAQRT_TEXTFIELD_CALL'
exporting struc = S903
name = 'S903'
fname = 'MATNR'
importing text = TEXT_S903_MATNR.
additional coding:
%Z_0001 = S903-NETWR + S903-MWSBP .
%dtab-FKDAT = S903-FKDAT .
%dtab-VBELN = S903-VBELN .
%dtab-FKART = S903-FKART .
%dtab-VKORG = S903-VKORG .
%dtab-PKUNAG = S903-PKUNAG .
%dtab-CUST_NAME = CUST_NAME .
%dtab-PKUNWE_01 = S903-PKUNWE_01 .
%dtab-SHNAME = SHNAME .
%dtab-ADDRS = ADDRS .
%dtab-MATNR = S903-MATNR .
%dtab-TEXT_S903_MATNR = TEXT_S903_MATNR .
%dtab-VKBUR = S903-VKBUR .
%dtab-FKIMG = S903-FKIMG .
%dtab-VRKME = S903-VRKME .
%dtab-FKSTO = S903-FKSTO .
%dtab-WERKS = S903-WERKS .
%dtab-NETWR = S903-NETWR .
%dtab-WAERK = S903-WAERK .
%dtab-MWSBP = S903-MWSBP .
%dtab-WAERK001 = S903-WAERK .
%dtab-VGBEL = S903-VGBEL .
%dtab-VGPOS = S903-VGPOS .
%dtab-MANDCK = MANDCK .
%dtab-CMDDOC = CMDDOC .
%dtab-EXT_DEL = EXT_DEL .
%dtab-ERNAM = S903-ERNAM .
%dtab-%Z_0001 = %Z_0001 .
%dtab-WAERK002 = S903-WAERK .
%dtab-POSNR = S903-POSNR .
%dtab-VSTEL = S903-VSTEL .
%dtab-AUBEL = S903-AUBEL .
%dtab-KZWI1 = S903-KZWI1 .
%dtab-WAERK003 = S903-WAERK .
%dtab-KZWI2 = S903-KZWI2 .
%dtab-WAERK004 = S903-WAERK .
%dtab-ZZ_CART = S903-ZZ_CART .
%dtab-WAERK005 = S903-WAERK .
%dtab-ZZ_MINCAR = S903-ZZ_MINCAR .
%dtab-WAERK006 = S903-WAERK .
%dtab-ZZ_WKND = S903-ZZ_WKND .
%dtab-WAERK007 = S903-WAERK .
%dtab-ZZ_FUEL = S903-ZZ_FUEL .
%dtab-WAERK008 = S903-WAERK .
%dtab-UMSMNG = S903-UMSMNG .
%dtab-VRKME001 = S903-VRKME .
%dtab-KZWI4 = S903-KZWI4 .
%dtab-WAERK009 = S903-WAERK .
%dtab-KZWI3 = S903-KZWI3 .
%dtab-WAERK010 = S903-WAERK .
%dtab-ZZ_MGN = S903-ZZ_MGN .
%dtab-WAVWR = S903-WAVWR .
%dtab-WAERK011 = S903-WAERK .
%dtab-PO_NUMBER = PO_NUMBER .
append %dtab.
%l_hits_cnt = %l_hits_cnt + 1.
if %rtmode-pack_on = 'X'
and %l_hits_cnt >= %rtmode-pack_size.
%l_no_further_fetch = 'X'.
endif.
endif.
endwhile.
if %l_hits_cnt = 0.
if not %dbcursor is initial.
close cursor %dbcursor.
endif.
raise no_data.
endif.
if %rtmode-pack_on <> 'X'.
close cursor %dbcursor.
endif.
read table %dtab index 1 transporting no fields.
if sy-subrc ne 0.
raise no_data.
endif.
endfunction.I had Done Like this All comments are as they are i.e. this code gives error (for endselect there is no select) so i commented the endselect statement.
read below code and plz do some improvement in it.
SELECT ekkoebeln ekkobedat ekpo~werks into CORRESPONDING FIELDS OF TABLE it_so FROM EKKO
INNER JOIN EKPO ON EKKOEBELN = EKPOEBELN
WHERE ekko~EBELN IN S_EBELN
AND BEDAT IN S_BEDAT
AND WERKS IN S_WERKS.
"SELECT hEBELN hMATNR hWERKS e FROM EKPO INTO CORRESPONDING FIELDS OF TABLE it_so
" WHERE EBELN IN S_EBELN
" AND WERKS IN S_WERKS.
MOVE EKKO-EBELN TO TNAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'F02'
LANGUAGE = 'E'
NAME = TNAME
OBJECT = 'EKKO'
ARCHIVE_HANDLE = 0
"IMPORTING
" HEADER = HTEXT
TABLES
LINES = LTEXT
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
LOOP AT LTEXT.
IF LTEXT-TDLINE NE ''.
MOVE LTEXT-TDLINE TO IT_SO-TDLINE. " Header Note Selected.
MOVE EKKO-EBELN TO IT_SO-EBELN.
APPEND IT_SO.
endif.
ENDLOOP.
clear it_so.
"ENDSELECT. -
hello all,
i have an ALV report requirement like this,
on the initial screen i have displayed(for a given agreement number like in ME33K )
in the selection screen i have taken agreement number as EKPO-EBELN.
purchase document number item number short text target quantity net price
5400000019 1 xxx 1.000 304300.00
2 xxxx 1.000 500000.00
the above fields i have taken from EKPO table.....
and on double clicking the item number i have displayed
line number service number short text quantity units gross price quantity released
1 swr10 xxxx 2.00 kg 500 2
2 swr11 xxxx 5.00 EA 500 2
the above fields i have taken from ESLL (esll-extrow, esll-srvpos, esll-ktext1 , esll-menge etc......)
this i have done by passing EBELN to ESLH and getting PACKNO and passed this PACKNO to ESLL.
now my question is i need to display Purchase order, PO Item , Order Number ,entry sheet quantity ,entry sheet price ,invoice quantity, invoice price
against each line number above.....
from which table do i need to take these fields.....
please guide me....
thankq....Thanks Andra,
The problem is the multiple invoices is for non goods receipt item so there will be no delivery.At the time of creating a PO the GR is not checked so there will be no delivery .
Also this setting is for invoices which are comming from Vendors.But if we are genrating the invoices manually it is not blocking those invoices.Also i there is nowhere mentioned in Incomming invoice to set tolerence for incomming invoice.Are you talking about Vendor tolerences?
Thanks in advance
Edited by: Metroid01 on May 14, 2009 6:52 PM -
Display Purchase Order in SRM 7.0 -workflow error
Hi SRM Gurus,
Hi Masa ,
Please check this thread,
I am having the same error
We are upgrading from SRM 3.0 to SRM 7.0.
while displaying purchase order
Cannot get process info; function BBP_PDH_WFL_APPROVAL_SIMULATE throws exception Workflow Not Found
PDO Layer error
PDO Layer error
No approval Workflow Found. Inform System Administrator.
I have configured the Workflow as Application controlled workflow only.(client wants to use the same workflow used in SRM 3.0). I got message Business object BUS 2203 modified
How to resolve this
Please give your inputs
Regards
G.Ganesh KumarHi Ganesh,
I also encounter this error for purchase orders. How did you check the errors you encounter in business object BUS2201?
Please refer to below thread.
[SRM 7.0 Error in Display of Approval in Purchase Orders|SRM 7.0 Error in Display of Approval in Purchase Orders]
Would really appreciate your help.
Thank you. -
Unable to view purchase orders in SNC for the supplier
Hi folks,
iam facing the problem of unable to view purchase orders in the supplier portal for my supplier.
ECC 6.0, PI 7.0, SCM 5.0 are the systems being used.
scenario is like :
for plant 1000, purchase order is created on vendor 1100 and idoc sent to PI successfully
also in PI in the integration builder i find messages saying successfully sent to SCM system
SLG1 transaction in SCM says message received successfully, (in the log i can see the plant, supplier, order no and order details)
when i try to login to supplier view with supplier login, iam unable to view the orders,
please let me know if iam missing any thing in this regard.
cheers.Hi Kiran
Could you check queues
smq1 and smq2 ????
Does your xml posted successfully in SNC(SXI_MONITOR)... Can you open the payload document
inbound message-payloads-maindocument
Check thoroughly whether any error information ????
Check whether commit of xml is proper, or else refresh PI cache
For your internet user and the xml rfc user(user who is pushing the data into SNC), check whether any update errors are available in so01(inbox)
It could be a temporary problem, deactivate activate your supplier service in SICF. Could be problem with binding issue
Just to make sure data is sitting in SNC
Check this table
/1OM/ORDR7MP3100
Give your po number in field order no
If you find, then it is problem with binding...If you dont find, then the xml update process has issue
Kindly let us know the results
Best Regards
Vinod
Best Regards
Vinod -
Unable to view Purchase order in Receiving Transactions
I am unable to view Purchase Orders in OPM (Recieving transactions- when i query up my Receipt transactions)
I want to be able to View the PO by going to Tools -> View Purchase OrdersHi,
I believe you are missing a sub-menu which facilitates to open the purchase order on the the responsibility menu you are working with. This is the cause for the issue I guess.
Please refer the below note:
Receiving Transactions Summary - View Accounting - Function Not Available To This Responsibility (Doc ID 865884.1)
Note: In the above note, when trying tools > View accounting in the same form the user get the same issue. Similarly as solution proposed by the note, adding the missing sub menu to the menu will allow you to view the purchase order.
Please add the purchase order view sub menu on the responsibility menu you are working with and check if the issue is solved.
Please try this in your test Server and migrate the solution to the PROD.
Hope this helps!
Best Regards -
How to Display 'purchase order text' in MM03 using report program
Hi Friends,
Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
'Purchase order text' tab displays purchase long text of particular material .
I coded as:
SET PARAMETER ID 'MXX' FIELD 'E'.
SET PARAMETER ID 'MAT' FIELD k_final-matnr.
SET PARAMETER ID 'WRK' FIELD k_final-werks.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
It displays Purchasing tab other than Purchase Order Text tab of MM03.
Please suggest me how can i solve this.
Is there any parameter id to set values for Purchase Order text tab>
Madhu Mano Chitra wrote:
> I want how to navigate to MM03 'Purchase Order text' tab/ view using ABAP code.
> could any suggest me
You can call a transaction and pass it a BDC table that tells it where you want it to go. You have to work out for yourself what to put into the BDC table. The code below works for tcode CATSSHOW.
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
DATA opt TYPE ctu_params.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'CATSSHOW'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'SO_STATU-LOW'.
bdcdata_wa-fval = '20'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'ANDZEIT'.
bdcdata_wa-fval = SPACE.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'PAST'.
bdcdata_wa-fval = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
IF p_selscr = SPACE.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=ONLI'.
APPEND bdcdata_wa TO bdcdata_tab.
ENDIF.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt. -
Display Purchase Order Approval after Goods Receipt
Hi,
I would like to know if there is a way to view/display purchase order even though it was already received (Goods Receipt)? I would like to know who are the approvals of that particular purchase order, the units/quantities and the amount.
Thank you.Hi Reno,
But if the PO was already received in full it will not be anymore available in the Approval Status Report.
Is the Approval Decision report available to Logistic personnel?
Regards,
Hi Demarillas,
If the document is approved and u want to check the details of who approved the PO and when, you can make use of the Approval Decision Report, located in Administration --> Approval Procedure --> Approval Decision Report . Also there is another report to check with the status of the documents sent for approval which is Approval Status Report .
Hope this helps.
Regards
Reno -
Show OrderType along with name in Display purchase order
Hi All,
When we display purchase order via transaction ME23N, first field on the top left hand corner shows description "Purchase order", "Production order" etc..... Here I would like to see order type (ZB,ZR,ZV etc) along with description.
There is some way to do that settings. Could someone please let me know step by step process how to set that??
Thanks.............Hi
In me21n screen in the tool bar the icon called customised local layout.
In this select options
In this select Expert
In this control tab
Check the check box for show keys in all drop down lists and press ok...
It will come
Regards,
Raman -
Extended Classic : Unable to create purchase order
Hi All,
We are using SRM5.0 system, i did required configuration for extended classic. I defined number ranges for local and backend purchase orders. But after creating SC, system is unable to create purchase order. Shopping cart is not ended up in error. In BBP_PD, I found that number generated for purchase order is always 1.
Please advise.
Regards,
Rajare the RFC connections between SRM system and R/3 systems working? please check this.
transaction --> SM59 --> is used for maintaining RFC destination. -
MD04: Unable to see Purchase Orders with Item Category S
Hi,
Whenever we create Purchase Orders with Item Category S (3rd party), they are not visible in MD04 Stock Requirements list.
Is there anyway we can get the Item category S Orders to be displayed in the MD04 list?Hi,
I am unable to see Third party POs with open quantity also.
If I create a PO with blank item category (i,e to stock, it will show in MD04)
but if i create PO with item category S (it does not show in MD04)
Can you suggest how we can get item category S POs to be displayed in MD04 -
How to Display Purchase Order Number IN G.R.P.O
Hi Guys,
i am unable to find solution regarding Getting Purchase order number and displaying in Goods Receipt P.O. Report automatically when we copy from purchase Order ie Copy From button .My problem is we are Expecting Purchase Order Number in Goods Receipt P.O automatically when they copy From Purchase. Order.Can any suggest me reagarding with Good solution asap.
Regards
ANANDHi Anand,
When Your Goods Receipt P O Form is Active Click on form Settings in Menubar( 5ty Icon Form Right) Then one window will be opened then click on table format folder and then check the check box against base ref and base key under Visible column
If you are not adding any comments on GRPO then by default it will show as based ob purchase order XXX.
Hope it helps you
Regards
Vishnu -
Report to display purchase orders
Hi I am Venkat
can any one send me report to display a list of Purchase orders open for period more than one year. I need the following output fields to be dispayed are Vendor, Period, Purchasing organization, PO number, Document date, GR status, check boxi think this code will help u.
REPORT Z_PURCHASEU.
tables : ekko,vbrk,mara,rseg,lfa1,makt,konv,bseg,vbap,j_1iexhead.
data: begin of itab occurs 0,
qty like rseg-menge, "qty
bed like rseg-wrbtr, "bed(basic excise duty)
mwskz like rseg-mwskz, "tax code
cess like rseg-wrbtr, "cess
sum like rseg-wrbtr,
unit like rseg-bstme, "unit
belnr like rseg-belnr, "document number
lst_cst like rseg-wrbtr , "CST amount
amount like rseg-wrbtr, "amount
aedat like ekko-aedat, "po date
ebeln like ekko-ebeln, "po number
lifnr like ekko-lifnr, "vendor code
matnr like mara-matnr, "material code
maktx like mara-maktx, "material description
mtart like mara-mtart, "material type
vbeln like vbrk-vbeln, "bill number
fkdat like vbrk-fkdat, "bill date
name1 like lfa1-name1, "vendor name
kzwi1 like vbap-kzwi1, "basic value
end of itab.
select-options:
vendrcod for ekko-lifnr,
date for vbrk-fkdat,
matrtype for mara-mtart,
taxcode for rseg-mwskz.
select egmenge egwrbtr egmwskz egwrbtr egwrbtr egbstme eg~belnr
egwrbtr egwrbtr
koaedat koebeln ko~lifnr
into corresponding fields of table itab
from rseg as eg inner join ekko as ko on egebeln = koebeln
where
ko~lifnr in vendrcod And
eg~mwskz in taxcode.
*select-options:
vendrcod for ekko-lifnr,
date for vbrk-fkdat,
matrtype for mara-mtart,
taxcode for rseg-mwskz.
select abelnr amwskz amenge awrbtr into
*corresponding
*fields of table itab
*from rseg as a inner join bseg as b on
*awrbtr = bwrbtr where
*a~belnr in docment number and
*a~mwskz in tax code and
*a~menge in qty.
loop at itab.
write:/1 sy-vline,
2 itab-name1 , 18 sy-vline,
19 itab-lifnr , 30 sy-vline,
31 itab-aedat , 46 sy-vline,
47 itab-ebeln , 60 sy-vline,
61 itab-belnr , 80 sy-vline.
uline.
endloop.
write : /1 sy-vline,
2 'vendor name' , 18 sy-vline,
19 'vendor code' , 30 sy-vline,
31 'po date' , 46 sy-vline,
47 'po number ' , 60 sy-vline,
61 'document number', 80 sy-vline.
give points if useful. -
"In FBL5N unable to view purchase order number and the sales order number"
Hi,
Below mentioned is the problem we are facing,
In the Customer Line Item Display (FBL5N) it is vital for us to be able to view the customer's purchase order number as well as the sales order number for each billing document listed by customer.
We need to be able to extract this information for each customer and import to an excel spread sheet for analysis, specifically for our larger customers that have over 500 plus lines.
Kindly advise how to go about the same.
Regards
HarishDear,
Please also check note 152335. There, you will find a more detailed
explanation of the issue.
The only way to see some information regarding related PO-es in a Vendor
line items is a workaround. For example, it is possible to create
a substitution in order to fill in one of not currently used fields
like Reference, Text, etc.
I hope this helps You.
mauri -
Unable to change Purchase Order
Hi Friends,
We are working with SRM5.0 on extended classic scenario.....
I have one Purchase Order & it is in order status, Now unable change PO & If i click on change, i am getting the following error message
"Action Not possible because change version exist"
Can you please tell me how to proceed after this....OR Is there any report to make change this PO???
Thank You/
ShrinivasShrinivas
Another way that accomplishes the same result is the following method.
1. Run BBP_PD and copy the GUID for the parent object as explained in the previous message.
2. Run SE37 and enter function module name BBP_PDHGP_DB_DIRECT_UPDATE
3. Paste the GUID from step 1 into the GUID and enter N into the Change Lock field
4. F8 to run the function module, not a lot appears to happen except you get a run time back.
This should clear the flag and make the PO available for change.
I guess both methods work but using a function module is probably a little safer?
Hope this helps
Allen
Edited by: Allen Brooks on Jan 29, 2010 8:08 AM
Edited by: Allen Brooks on Jan 29, 2010 8:08 AM
Maybe you are looking for
-
What can I do? + My apps won't work. They seem to open and directally after that close. What can I do? sobbz
-
Hi, experts. I tried to change the sequence of an ABAP program, using the TAB key. But I have not found a way to modify the standard sequence. Has anyone done this before? Thank you very much.
-
Ok you pros, I need some help. I'm creating promo video for a charity organization that I work with. It needs to be about 4-5 minutes long, look great, and energize people for the work we do. With that in mind, I have the following questions... 1. Wh
-
L_TO_CREATE_TR testrunresult differs from programresult
Girls, I use L_TO_CREATE_TR to create a TO refering to a TransportRequest. Works fine, but the palletnumber that I store in IT_TRITE-NLENR does not show up where it should: in the resulting TO in the field NLENR (LT21, Tab Dest.data, field Dest.stora
-
Operating System: Windows XP Firefox Desktop version: 17.0.1 My Privacy settings for Clearing History: When I quit Firefox, it should automatically clear all: History - all boxes checked Data - No boxes check Here is my sync-log file: <pre><nowiki>13