AP Line Item issue
Hi Gurus,
I have an AP report which I need to generate using some fields from the purchasing area which are not available in the AP line item cube.The fields am missing which are going to be needed are :
PO # - Purchasing order Number from EKBE -source field is EBELN
Item - Which is coming from EKBE - source field is EBELP
Material - coming from EKBE - source field is MATNR
Do we have to use a multicube for this or what is a good work around for this?
Thank you
Hi,
you need to create an append structure in the structure of the extractor from RSA6.
The second step, is to go in CMOD transaction and add an abap program in order to populate the new fields: Enhancement and Preassignment of Fields:
The SAP Enhancements (SMOD) and Project Management of SAP Enhancements (CMOD) transactions are available for the enhancement and preassignment of fields for connections.
There are seven enhancements, IEQM0001 to IEQM0007, each with one customer exit.
Table EQUI contains connection data (equipment data). The customer include CI_EQUL is used to include customer-specific fields in the database table. You can only store customer-specific fields for time-independent data. You can use the field selection to display fields for device and connection (both based on equipment) differently.
Rgs
Antonino
Similar Messages
-
Line item issue in order confirmation
Hi folks..!!!
i have an issue regarding order confirmation. while i am trying to display a sale order that line item quantity and somo more data's are printing in second line. i need those data's has to be print in same line in line i.e item , material and material description displaying row...
while in layout they done for item, material , material desc are in one TEXT element i.e ITEM_LINE and Quantity and some more fields are in other TEXT element i.e ITEM_LINE_PRICE_QUANTITY, i think becoz of this quantity is display in second line.. could you plz solve this issue..
ITEM MATERIAL QTY DESCRIPTION PRICE....
10 ABC DEMO
10PC 2113
i need output like this...
ITEM MATERIAL QTY DESCRIPTION PRICE....
10 ABC 10PC DEMO 2133hi ,
u r using script or form ?
if u r using script ...
in tag column put "=" ... so it will cont with the prev line...
in case u r using smartforms ... keep all the values in single text element ...
is there any problem in putting them in single column ? -
Peculiar Issue :RFx line item issue in SAP Sourcing
Greetings of the day ,
We are trying to ADD line items in an RFx , when i click on ADD button in the Line items TAB ,the timer just revolves and nothing happens , no line item gets added , It's a Very peculiar issue since it's an standard SAP Functionality .
I've checked net weaver logs and every possible corner in the system , but unfortunately nothing worked
PS: We are able to ADD line items in Auctions .
NOTE : Please refer to the attachment
Regards,
Harsh Mundel
[email protected]Hello,
Can you review Units of measure in master data? you need to have one unit of measure with "No Dimension" unit category and check it as Primary Category.
let me know if it works
Regards -
Dear All,
When I post a MIRO having more than one line item, I am not able to find a material in the Material field in BSEG table for my MIRO Accounting document.
Note that I am using 4.7 version & for tax item entry's since the material is not captured in the std. BSEG table I am unable to get how much is the Sales/Service tax Payed against each item/Material.
Kindly suggest Is this anything to do with my SAP version??
or Is there anyway to make my material appear in the std. BSEG table??
Regards,Hi,
Do anyone have an idea on this Issue?
Plz help.
Regards, -
dear all,
I was done one ME22N, GR and Down payment validation BADI : ZMMGL_BI_POVALID. In that i raise some error messages based on the line item level. Error everything is getting fine.
But problem is suppose line item 2 having error, the error message is coming on pop up menu,but error traffic symbol is showing always last line item. How we will solve these issue.. Kindly give one valid solution for this.
Regards,
Sap_babrajanshah219,
Here's my take on how to fix:
*Manually change Config TCode OMT4 - change message MM 326 & 327 to type "W" (if open order exists...now you can enter through warning messages)
*If inventory exists, then issue out of stock to a cost center
*Change valuation class
*Put stock back into inventory (reverse to that same cost center) Note issue out and reverse back into inventory must happen in the same posting period.
**Valuation class should be changed as expected
**Manually change config TCode OMT4 - change message MM 326 & 327 back to type "E"
Thanks,
Jason -
Number of Line Items Issue at the time of Payroll posting
Dear All,
While creating a posting document (Payroll posting) for FI, the maximum number of line item allowed is 999 where as I have 1464 line items. I am creating only one document based on Company code and it is giving me the following error, which is because of number of line item;
Acct determination not defined for trans. HRA 1002 in chart of accts AGCA
Message no. F5113
Diagnosis
An automatic posting cannot be created because the account determination for transaction HRA with keys 1002 is not defined in chart of accounts AGCA.
System Response
The document cannot be posted.
Procedure
Depending on the type of processing, you can hold the document and post it later. If this is not possible and the error cannot be eliminated straightaway in customizing, you must leave processing and enter the document later.
Procedure for the system administrator
Correct the account determination for the specified transaction. Proceed
Please tell me how to create least amount of documents for posting?
Regards.SPRO> payroll >Reporting posting payroll result to Accoutning > Activities in Account system >Assigning Accounts >Assign Technical accounts
Here eneter 1001 payroll clearing account and next enter 1002 same payroll clearing account. by doing this it will allow document splitting. -
Ship-to address line item issue in ISA
We're facing a problem regarding ship-to addresses when placing orders in the B2C scenario of the ISA with a CRM backend. When an order is placed, the ship-to address is correctly populated in the header of the order. However, in the line items, this does not reflect. Instead, the ship-to value is the partner's standard address (the address used for bill-to and sold-to).
This occurs intermittently, and is inconsistent across the same partner, delivery address and line items: most of the time the correct behaviour will occur with a given combination, but from time to time the problem manifests with that same combination.
I realise this is a vague description, but would appreciate it if someone could suggest a direction of enquiry, or has any ideas. We are struggling to determine what could be causing these identical inputs to have divergent effects.Hi James,
I have seen a similar problem in CRM ISA 4.0 on an early SP. It was however rectified in further patch releases. Please check in SAP OSS for updates.
Regards,
Ashok. -
Hi sap Gurus,
Is there any way i can delete one of the the line items in a sales order once it is been saved other than putting reason for rejection.
Thanks
EdwardHi Ramesh This is the details
Message no. V4140
Diagnosis
You have tried to delete a sales document item that is assigned to a project but this is not possible.
Procedure
Please enter a reason for rejection in the item.
In general if you would like it to be possible to delete items that have been assigned to a project, but which still do not have a WBS element, go to Customizing --> 'Define variable messages' and change the message category to blank.
Thanks
Edie -
Hello,
I'm creating a delivery for multiple line items in sales order. Is there anyway so that the delivery line item will not be created for batch selection criteria failed items.
Please reply, Thank you.Hi,
I hope you are doing Batch Determination for the materials @ sales order level.
But in Std.SAP there is no restriction as per your requirement. You can check for some user exits in Sale order to restrict the delivery creation for line items if a Batch doesn't exist in the sale order item level.
Hope it is clear.
Thanks & Regards, -
Hi guys,
1. We have this requirement in creating a PO you should this kind of line item:
00001 < mandatory in creating a PO
00010
00011
00020
00012
00030
00013
I'm planning to create a PO first in defining the first line item. Then BAPI_PO_CHANGE for the rest of the line item, wherein I have to specify the item interval.
Is this possible?
2. In BAPI_PO_CHANGE, what are the mandatory fields that I should fill out aside from PO Number and the records that I will add?
Points will be rewarded... thanks!Dear Maui,
1.I'm not sure that the interval can be like that, cause in standard it will increased as the define interval.
2.The mandatory field is the same with standar transaction like when u process ME21N and ME22N. -
Hi,
I used a custom program.it displays the sales order details.we can change/view the details.If I have more Line items it populating more than one page.After scroll down if i select any cell and enter on it, it is comming to begining of the page. It is not staying at the place where I clicked(double click or Enter).
Is there any way to stay the cursor at the same place after enter or double click also.
Please any one can reply for this.
Thanks
MuraliAssuming you are using OO ALV... Call the REFRESH_TABLE_DISPLAY method with STABLE parameter as below
DATA LS_STABLE TYPE LVC_S_STBL.
IF gr_container IS INITIAL.
set_table_for_first_display
ELSE.
LS_STABLE-ROW = 'X'.
LS_STABLE-COL = 'X'.
CALL METHOD gr_alv->refresh_table_display
EXPORTING
IS_STABLE = LS_STABLE
EXCEPTIONS
finished = 1
OTHERS = 2.
ENDIF. -
Line Item issue with BIA version x.
Hi all,
we are planning to set up the BIA and it was mentioned that one BIA version had problems with huge line item dimensions.
Does anyone know about it and is there link which BIA version is solving it ?
Many thanks in advance
RalfHi Marc,
thanks this makes it more visible to me. But I stil have a concern. If I switch off the query for BIA than the access to the cube would take longer, right? but the overlall OLAP processing time should be the same in comparison to the BIA usage.
For us we will have large scaled cubes with line items, so only your proposal would work.
What about the announced option that with one BIA rev. only partly data can be uploaded to BIA, like last year data only.
Is this option available and would this reduce the SID access as well?
Lets say I go for a very "worse" option, switch off lineitem cube flag. would this help, or will I earn long runtimes during the cube's load with SID conversion or any other impact.
Regards,
Ralf. -
BAPI_ACC_DOCUMENT_POST tax line items issue
Hi All,
i am posting a document using BAPI_ACC_DOCUMENT_POST...
Please find the below code:
Populate BAPI item structures
FORM fill_bapi_item .
*Local data declarations
DATA : lv_taxded TYPE bset-fwste,
lv_taxtot TYPE bset-fwste,
lv_amt TYPE wrbtr,
lv_ref2 TYPE xref2,
ls_mwdat TYPE rtax1u15,
lt_mwdat TYPE TABLE OF rtax1u15.
Tax juris code for vendor
IF gs_item1-koart = gc_v. " vendor
gv_tjxcd = gs_item1-txjcd.
ENDIF.
gv_item = gv_item + 1.
Concatenate the legacy number, store and division and pass it
to field XREF2 of the BAPI
CLEAR lv_ref2.
CONCATENATE gs_item1-legacy gs_item1-divsn gs_item1-store
INTO lv_ref2.
Fill the GL account structure if the account type is G
otherwise fill the Vendor structure.
IF gs_item-koart = gc_g
OR gs_item-koart = space. " For offset clearing account
gs_accountgl-itemno_acc = gv_item.
gs_accountgl-gl_account = gs_item1-newko.
gs_accountgl-de_cre_ind = gs_item1-shkzg.
gs_accountgl-item_text = gs_item1-sgtxt.
gs_accountgl-comp_code = gs_item1-newbk .
gs_accountgl-tax_code = gs_item1-mwskz.
gs_accountgl-taxjurcode = gv_tjxcd.
gs_accountgl-alloc_nmbr = gs_item1-zuonr.
gs_accountgl-ref_key_1 = gs_item1-xref1.
gs_accountgl-ref_key_2 = lv_ref2. " legacy accountstoredivision
gs_accountgl-profit_ctr = gs_item1-prctr.
gs_accountgl-costcenter = gs_item1-kostl.
APPEND gs_accountgl TO gt_accountgl.
CLEAR gs_accountgl.
CLEAR : lv_taxded, lv_taxtot , lv_amt , ls_mwdat.
REFRESH : lt_mwdat.
Fetch the tax amount based on the gross amount, tax code and juris code
CALL FUNCTION 'CALCULATE_TAX_FROM_GROSSAMOUNT'
EXPORTING
i_bukrs = gs_header1-bukrs
i_mwskz = gs_item1-mwskz
i_txjcd = gv_tjxcd
i_waers = gs_header1-waers
i_wrbtr = gs_item1-wrbtr
IMPORTING
e_fwste = lv_taxtot
e_fwast = lv_taxded
TABLES
t_mwdat = lt_mwdat
EXCEPTIONS
bukrs_not_found = 1
country_not_found = 2
mwskz_not_defined = 3
mwskz_not_valid = 4
account_not_found = 5
different_discount_base = 6
different_tax_base = 7
txjcd_not_valid = 8
not_found = 9
ktosl_not_found = 10
kalsm_not_found = 11
parameter_error = 12
knumh_not_found = 13
kschl_not_found = 14
unknown_error = 15
OTHERS = 16.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
Calculate the amounts.
lv_amt = gs_item-wrbtr - lv_taxded. " Tax deductable.
Get the GL Account, Condition,etc. for TAX amount
READ TABLE lt_mwdat INTO ls_mwdat INDEX 1.
IF sy-subrc EQ 0.
Do Nothing
ENDIF.
Fill the currency structures for GL Account
gs_curr-itemno_acc = gv_item.
gs_curr-amt_doccur = lv_amt. " Net amount after tax
gs_curr-currency = gs_header1-waers. " Currency is at header
APPEND gs_curr TO gt_curr.
CLEAR : gs_curr.
Fill the tax structure for GL Account.
gv_item = gv_item + 1.
gs_tax-itemno_acc = gv_item.
gs_tax-gl_account = ls_mwdat-hkont.
gs_tax-cond_key = ls_mwdat-kschl.
gs_tax-acct_key = ls_mwdat-ktosl.
gs_tax-tax_code = gs_item1-mwskz.
gs_tax-taxjurcode = ls_mwdat-txjcd.
gs_tax-taxjurcode_deep = ls_mwdat-txjcd_deep.
gs_tax-taxjurcode_level = ls_mwdat-txjlv.
APPEND gs_tax TO gt_tax.
CLEAR gt_tax.
Fill the TAX amount in the currency structure.
gs_curr-itemno_acc = gv_item.
gs_curr-amt_base = lv_taxded. " Tax
gs_curr-currency = gs_header1-waers. " Currency is at header
APPEND gs_curr TO gt_curr.
CLEAR : gs_curr.
ENDIF.
Vendor
ELSEIF gs_item-koart = gc_v.
gs_vendor-itemno_acc = gv_item.
gs_vendor-gl_account = gs_item1-newko.
gs_vendor-item_text = gs_item1-sgtxt.
gs_vendor-comp_code = gs_item1-newbk.
gs_vendor-tax_code = gs_item1-mwskz.
gs_vendor-taxjurcode = gv_tjxcd.
gs_vendor-alloc_nmbr = gs_item1-zuonr.
gs_vendor-ref_key_1 = gs_item1-xref1.
gs_vendor-ref_key_2 = lv_ref2. " legacy accountstoredivision
gs_vendor-profit_ctr = gs_item1-prctr.
APPEND gs_vendor TO gt_vendor.
CLEAR gs_vendor.
Fill the currency structures for vendor(No Tax calculation here)
gs_curr-itemno_acc = gv_item.
gs_curr-amt_doccur = gs_item1-wrbtr.
gs_curr-currency = gs_header1-waers. " Currency is at header
APPEND gs_curr TO gt_curr.
CLEAR : gs_curr.
ENDIF.
ENDFORM. " FILL_BAPI_ITEM
But if i post using FB01 and give the tax amount and gross amount, there are 6 items for tax getting created....(sum of 6 items = tax amoutn passed)...
But when i create using BAPI, one taxx item is created but with total tax amount...
How to achieve the same way as in FB01(6 items or so)..
Thanks
ShivaCan you try and use 'CALCULATE_TAX_FROM_NET_AMOUNT' instead of the one you are using and see if you are getting 6 entries?
In this the tax lines come as an internal table. This is the same FM that SAP uses to derive the tax lines within the standard transaction. Please let me know if this was helpful.
Thanks and Regards,
Hari -
General Ledger Accounting (New): Line Items 0FIGL_O14 Performace issue
Dear Forum,
We are facing a performance issue while loading the data to 0FIGL_O14 General Ledger Accounting (New): Line Items from CUBE ZMMPRC01 -> ODSO 0FIGL_O14 DSO.
Please see my requirement below for updating the data to 0FIGL_O14 DSO.
This report is generated to display Dry Dock and Running Repair expenses for the particular Purchase orders with respective G/L's.
1) The G/L DSO will provide us the 0DEBIT_LC and 0DEB_CRE_DC Foreign currency amount with signs (+/-) amounts and.
2) ZMMPRC01 Cube will provide us the 0ORDER_VALUE (Purchse order value)and 0INVCD_AMNT Invoice amount.
While we are loading the data from CUBE ZMMPRC01 -> ODSO 0FIGL_O14 DSO ,we have created nearly 19 InfoObject level routine to derive the below mentioned fields data for MM Purchase Order related records.
0CHRT_ACCTS Chart of accounts
0ITEM_NUM Number of line item within accounting documen
0AC_DOC_NO Accounting document number
0GL_ACCOUNT G/L Account
0COMP_CODE Company code
0COSTCENTER Cost Center
0CO_AREA Controlling area
0COSTELMNT Cost Element
0SEGMENT Segment for Segmental Reporting
0BUS_AREA Business area
0FUNC_AREA Functional area
0AC_DOC_NR Document Number (General Ledger View)
0AC_DOC_TYP Document type
0POST_KEY Posting key
0PSTNG_DATE Posting date in the document
0DOC_CURRCY Document currency
0LOC_CURTP2 Currency Type of Second Local Currency
0CALQUART1 Quarter
0CALYEAR Calendar year
For reference Please see the below logic to derive the data for PO related record.
DATA:
MONITOR_REC TYPE rsmonitor.
$$ begin of routine - insert your code only below this line -
... "insert your code here
types : begin of ty_FIGL,
CHRT_ACCTS type /BI0/OICHRT_ACCTS,
ITEM_NUM type /BI0/OIITEM_NUM,
AC_DOC_NO type /BI0/OIAC_DOC_NO,
GL_ACCOUNT type /BI0/OIGL_ACCOUNT,
end of ty_FIGL.
data :it_figl type STANDARD TABLE OF ty_figl,
wa_figl type ty_figl.
SELECT single CHRT_ACCTS
ITEM_NUM
AC_DOC_NO
GL_ACCOUNT from /BI0/AFIGL_O1400
into wa_figl
where DOC_NUM = SOURCE_FIELDS-DOC_NUM and
DOC_ITEM = SOURCE_FIELDS-DOC_ITEM and
/BIC/Z_PCODE = SOURCE_FIELDS-/BIC/Z_PCODE
and
/BIC/Z_VOY_NO = SOURCE_FIELDS-/BIC/Z_VOY_NO
and
FISCYEAR = SOURCE_FIELDS-FISCYEAR.
if sy-subrc = 0.
RESULT = wa_figl-AC_DOC_NO.
ENDIF.
clear wa_figl.
Please note the same kind of logic is applied for all the above mentioned fields.
Here is my concerns and issue.
For the all above all routines i am referring BI0/AFIGL_O1400
DSO and finally loading to the Same DSO(BI0/AFIGL_O1400
The worried part is my DSO 0FIGL_O1400 is currecnly having nearly 60 Lacks records and MM cube is having nearly 55 requests which are required to update to the Above DSO for PO related PO value and Invoice amount.
The big issue here is while uploading data from MM cube to DSO say for example if the request is having 25,000 records from this nearly 500-600 records will be updated to DSO.
But here it is taking huge time ( nearly 3 days for request ) for updating these records , like this i have to pull 50 more requests from Cube to DSO as per the requirement.
Please note as of now i haven't created any indexes on DSO to improve this loads.
Please note am facing this issue in Production environment and need your help ASAP.
Thanks & Regards,
Srinivas PadugulaHi,
If selecting data from 0FIGL_O14 is taking long time then you can create secondary indexes on DSO.
0FIGL_O14 would be huge as data volume directly corresponds to data volume in BSEG.
But for you requirement, I think what you can do is,
1. create multiprovider on top of DSO and Cube and create Bex report to give you the fields requried from both the infoproviders, you can then use open hub or APD approach to keep the data in the staging table or direct update DSO and then load the data to the DSO
2. Create secondary indexes on DSO so that fetching would be faster.
3. Do the enhancment at R/3 level to fetch fields from MM during load of G/L
Regards,
Pravin Karkhanis. -
F110 Issue Split of Vendor line items in Clearing document
Hi SAP Gurus,
I have a strange problem with F110 payment programme when i am clearing the single vendor line items example 4 line items through F110 system is spliting 4 line items into 4 different clearing doucments rather than creating one clearing document and showing an error 098 in document payment list.
Can you please guide me in this issue
Regards
SriniHI
This may happen because of any of the following settings:
1) in the vendor master, payment transaction company code area, "individual payment" check box is selected
2) "single payment for marked item" check box is selected in payment methos company code.
Deselect the check box for making single payment for multiple open item
Maybe you are looking for
-
How to Get Service Type as deault value in India Localization
Hi Gurus I have a problem with respect to Form personalization I have attached the Tax Category to a Item Class wherein we assign Items to the template in Excise Regime, so that, when Sales Order is created, Tax get automatically calculated in India
-
How do you a file to plain text?
I Have a resume that i want to change to plain text, it's driving me crazy, someone help.
-
OSX 10.6.8 client and 10.6.7 server; server has direct-attached storage and serves as a NAS head. We're using local users, not Open Directory. I've been looking at files on my local drive, as well as the NAS volume, and I can't see any ACLs anywhere.
-
Installing Arabic in R12.
Dear All, I am doing fresh 12.0.4 installation on Solaris10. I have to Install Language Arabic with 12.0.4. And i have gone through note 550206.1 and Oracle application maintenance procedure(adding and maintaining NLS), But i didn't understood the co
-
How to open default browser of the system using swing
Iam doing a project in swing iam havina a problem actually if i click click a button on the top of the frame it has to open an asppage or html page in default browser. Please if any body can help me.if anybody having the code or solution please send