Standard text entry for Service line items using BDC
Hi,
I want to enter standard texts for service line items of RFQ created using BDC, if it is a line item i can pass RFQ_number+line_item number as TDNAME in SAVE_TEXT function module, but for Service line item what value we need to pass in TDNAME.
Is there anyway we can capture the package number in BDC of ME41?
Regards
Bala Krishna
.
Similar Messages
-
BAPI_PR_CREATE for Service line items only
Hi All,
We are unable to create the Purchase Requistion Order using the BAPI_PR_CREATE for Service line items.
The Error Message 436(06) " In case of account assignment, please enter acc. assignment data for item" is always received with respect to Account Assignment.
We are currently using ECC 6.0 EHP 4. SAP instance to create the Purchase requisition order.
We already did this analysis and came to this include previously for the Error Message 436(06) and could find thatt the accounting tables are not filled.
Also, the accounting items table is refreshed and deleted in 3 places in the code.
We did put debug on that u2026 but during debug, the control does not go to these places.
I suppose there is some other major functionality related to Service PR is missing in the BAPI_PR_CREATE.
Also we are unable to find the detailed documentation.
Thanks and Regards,
Shivakumar K.Hi Shivakumar,
Hi Shivakumar,
in most of the cases this error - 06 436 - happens due to wrongly filled BAPI structures.
Please check the entries in the x-structures in first line, for example:
PRACCOUNT structure
PREQ_ITEM 00010
SERIAL_NO 01
GL_ACCOUNT 2222222
COSTCENTER SAP-DUMMY
PRACCOUNTX structure
PREQ_ITEM 00010
SERIAL_NO 01 <<<<
GL_ACCOUNT X
COSTCENTER X
SERVICEACCOUNT structure
Line 1:
DOC_ITEM 00010
OUTLINE 0000000001
SRV_LINE 0000000010
SERIAL_NO 01
SERIAL_NO_ITEM 01
SERVICEACCOUNTX structure
Line 1:
DOC_ITEM 00010
OUTLINE 0000000001
SRV_LINE 0000000010
SERIAL_NO 01 <<<<
SERIAL_NO_ITEM X <<<
Regards,
Edit -
Adding a new schedule line for a line item using bapi_po_change
hi experts,
can i know how to add a new schedule line for a line item using<u> bapi_po_change</u>. what are the parameters that need to be filed. i filled poitem with total quantities and poschedule table with 2 different schedule lines and passing as the parameter.but then i get the error saying item 0000 doesnt existHi,
Please check if you have properly populated the following fields in POSCHEDULE:
PO_ITEM
SCHED_LINE
and the other fields required for your schedule line such as delivery date and quantity, etc.
After that, make sure to properly populate fields in POSCHEDULEX:
PO_ITEM -> same value as found in POSCHEDULE
SCHED_LINE -> same value as found in POSCHEDULE
All other values populated in POSCHEDULE should be ticked as 'X' in POSCHEDULEX.
Kind Regards,
Darwin
Kind Regards,
Darwin -
Service PO - Multiple account assignments for service line items
Hi All,
I'm trying to create a service purchase order using BAPI 'BAPI_PO_CREATE1'.
But i need to create service line items with multiple account assignments say
For line item 10 -
1)Service line 1 -Cost center 'XYZ'.
2)Service line 2 -Cost center 'ABC'.
In POACCOUNT there is no option to specify the service line item .
Moreover in POSERVICES also there is no option to mention costcenter.
How can i create the same...
Thanks in advance
Regards
PrasanthiDear Prithviraj,
CAPEX (Category 'A'), can it apply to OPEX/Blanket and Sm. Proj?
I know create multiple account assigment under ME51N/ME52N.
Any solution by using FM (BAPI_REQUISITION_CREATE and BAPI_REQUISITION_CHANGE)?
thanks
Regards,
Weng -
Creation of po with mutiple line items using BDC
Hi Gurus,
Can any body hav notes for creating po's using BDC with multiple line items in transaction ME21. I hav created po for single line item but if i tried to create multiple line items, it ll create multiple po's...
thanks in advance
arunSee the Below Logic for me22 and it is also same for me21
report zpochange.
data : i_error like bdcmsgcoll occurs 0 with header line.
data : i_bdcdata like bdcdata occurs 0 with header line.
tables : ekko, ekpo.
data :c1(10) value 'ME22',
c2(1) value ',',c3(10).
data : var1(20). " LIKE EKKO-EBELN.
data : var2 like ekko-ebeln.
data : begin of i_ekko occurs 0,
header(2),
ebeln like ekko-ebeln,
end of i_ekko.
data : begin of i_ekpo occurs 0,
item(2),
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
menge(10), " LIKE EKPO-MENGE,
end of i_ekpo.
data : v like ekpo-ebelp.
data: begin of itab occurs 0,
text(300),
end of itab.
parameters: p_file like ibipparms-path.
*PARAMETERS: PONUMBER LIKE EKPO-EBELN.
at selection-screen on value-request for p_file.
call function 'F4_FILENAME'
exporting
program_name = syst-cprog
dynpro_number = syst-dynnr
FIELD_NAME = ' '
importing
file_name = p_file
start-of-selection.
*SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
SELECT EBELN EBELP MENGE FROM EKPO INTO TABLE I_EKPO WHERE EBELN
*= PONUMBER.
perform get_data.
*LOOP AT ITAB.
WRITE :/ ITAB.
ENDLOOP.
loop at itab.
var1 = itab-text+0(1).
if var1 = 'H'.
*I_EKKO-EBELN = ITAB-TEXT.
split itab at c2 into i_ekko-header
i_ekko-ebeln.
SPLIT ITAB AT ',' INTO I_EKKO-EBELN.
" I_EKPO-EBELP
" I_EKPO-MENGE
" var1.
append i_ekko.
else.
split itab at c2 into i_ekpo-item
i_ekpo-ebeln
i_ekpo-ebelp
i_ekpo-menge.
append i_ekpo.
endif.
*var2 = i_ekpo-ebeln.
MOVE VAR1 TO I_EKPO-EBELN.
MOVE VAR1 TO I_EKKO-EBELN.
APPEND: I_EKPO.
*if not var1 is initial.
split var1 at ',' into i_ekpo-ebelp
i_ekpo-menge.
i_ekpo-ebeln = var2.
append i_ekpo.
*endif.
endloop.
loop at i_ekpo.
write :/ i_ekpo.
endloop.
loop at i_ekko.
perform fill_data. " TABLES I_EKPO.
endloop.
LOOP AT I_EKPO.
WRITE :/ I_EKPO.
ENDLOOP.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
*LOOP AT I_ERROR.
WRITE :/ I_ERROR.
ENDLOOP.
form get_data.
call function 'WS_UPLOAD'
exporting
codepage = ' '
filename = p_file
filetype = 'ASC'
headlen = ' '
line_exit = ' '
trunclen = ' '
user_form = ' '
user_prog = ' '
dat_d_format = ' '
IMPORTING
FILELENGTH =
tables
data_tab = itab
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
others = 10
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " GET_DATA
*& Form FILL_DATA
text
-->P_I_EKPO text
form fill_data. " tables i_ekpo .
perform bdcscreen using 'SAPMM06E' '0105'.
perform bdcfield using 'RM06E-BSTNR' i_ekko-ebeln.
perform bdcfield using 'BDC_OKCODE' '/00'.
loop at i_ekpo where ebeln = i_ekko-ebeln.
V = I_EKPO-EBELP.
perform bdcscreen using 'SAPMM06E' 0120.
perform bdcfield using 'BDC_CURSOR' 'RM06E-EBELP'.
perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
perform bdcfield using 'BDC_OKCODE' '/00'.
perform bdcscreen using 'SAPMM06E' 0120.
perform bdcfield using 'BDC_CURSOR' 'EKPO-MENGE(01)'.
perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
perform bdcfield using 'EKPO-MENGE(01)' i_ekpo-menge.
perform bdcfield using 'BDC_OKCODE' '/00'.
*PERFORM BDCSCREEN USING 'SAPMM06E' 0120.
*PERFORM BDCFIELD USING 'BDC_CURSOR' 'RMO6E-EBELP'.
*CLEAR V.
endloop.
perform bdcfield using 'BDC_OKCODE' '=BU'.
call transaction c1 using i_bdcdata mode 'A'
messages into i_error.
refresh i_bdcdata.
endform. " FILL_DATA
*& Form BDCSCREEN
text
-->P_0140 text
-->P_0120 text
form bdcscreen using p_program p_screen.
i_bdcdata-program = p_program.
i_bdcdata-dynpro = p_screen.
i_bdcdata-dynbegin = 'X'.
append i_bdcdata.
clear i_bdcdata.
endform. " BDCSCREEN
*& Form BDCFIELD
text
-->P_0145 text
-->P_I_EKPO_EBELN text
form bdcfield using fnam fval.
i_bdcdata-fnam = fnam.
i_bdcdata-fval = fval.
append i_bdcdata.
clear i_bdcdata.
endform. " BDCFIELD
Reward Points if it is helpful
Thanks
Seshu -
Recurring Entry for Vendor Line Items
Hi,
We are using SAP ECC 5.0.
There are recurring entries to be processed, which run into 90+ line items. These line items include GLs as well as Vendor items.
Fast Entry and Account Assignment Model cannot be used as they accept only GL line items. Recurring entry also cannot be used as the amounts keep changing. Is there any other time saving way to make this entry? making the entry using F-02 is very time consuming and tedious.Hi,
One option is to develop a BDC and calling up the FB01 or F-02 posting. An excel template needs to be designed and can be used for upload of line items. Make changes in the amounts in the excel sheet and use the upload program to post.
Rgds. -
Remove LIPS and VBUP entry for deleted line item on delivery
How can we remove an entry in LIPS and VBUP for a delivery line item that has been deleted? The delivery shows no line items when viewing with VL03N but the line item remains in LIPS and VBUP. When we try to cancel the entire delivery we receive an ABAP runtime error due to these inconsistent entries.
Hi Basavaraj,
Please let me know how can I do it by table level. There is another post regarding having same issues
http://scn.sap.com/thread/3384628
But the answer he say use only for very few entries. I have around 100 entries similiar cases.
Best regards,
Shahid Malayil -
How to remove a service line item from a service related PO
Guys,
I am doing a report thro' which a user can upload the details for a Service related PO. If the PO contains more Service Line Item than the upload file, then I want to remove those Service Line Items. I used BAPI_PO_CHANGE to upload the details. But I am trying to remove those additional Service Line Items using BDC in ME22 transaction. But it is not working correctly. Is there any program(s) thro' which I can remove those Service Line Items? Any expert thoughts....
Advance Thanks
RameshI did it through BDC.
-
Hi Gurus,
I have a situation.
we use service line items using the unplanned service function within SAP. On PO line items, we assign an overall limit and expected value.
Ok, now a bit of a background regarding one of the system changes we made in SAP. About 2 years ago, we noticed that some users were changing the PO price after the GR was complete. This obviously causes issues with GR postings, so we changed the logic to disallow price changes after a GR has been completed.
The logic we applied around price changes has worked fine, with one exception--Service line items using the unplanned services function. For example, if we create a PO with an overall value of $3,000, and only use $500 of that $3000, we want to be able to adjust the value to show what was actually done. In other words, we would like to be able to change the PO value down to $500, closing out any open value on the PO. With the price change logic, the system will not allow us to change the price because a GR/Service entry sheet has already been completed.
So here is what my business is asking for
1. The logic around price changes to be modified when it comes to services. would like the ability to modify the overall limit and expected value, but only be able to modify it to a point where it is equal to, or greater than the actual value. And should not be able to drop the overall limit and expected value to anything below the actual value.
Is there a way to do this.
Please let me know.
Thanks,
SrikanthSInce you are working with enhancement check with ABAPer for logic and modify the program for Service PO's
-
Service entry sheet creation thru bapi for multiple line items
HI All,
WE are using BAPI_ENTRYSHEET_CREATE bapi for the creation of service entry sheet against service PO.
We are able to create the service entry sheet successfully with single sevice line item using this bapi,but when we are going for multiple service line items in item services tab in aPO, we are able to create the service entry sheet with only one service line item although there are 4 service line items in the item service tab in the po.
We know that this bapi cannot support more than one po line item as it has provision for only one line item at the header leavel in the bapi
will be rewarded for the best solution.
Regards,
veluHi,
Do you know the note 420334?. There you have very useful information.
Best Regards,
Arminda Jack -
To make service entry sheet for multiple line items of the service PO.
Hello MM Gurus,
Please help me for the following
I create a service PO with say 10 line items. Then while doing the service entry sheet the system automatically picks the line item 10 by default. When I try to enter the other items it throws an error" unplanned services cannot be entered"
So how to make a service entry sheet which shall include all the line items of the service PO at the same time.
So if I have 100 items in the PO do we make the service entry sheet 100 times against each item? Is there any seeting/solution on this?
Please help.
Regards,
Prasanna.Dear,
I have two solution for u.
1) Create different service entry sheet -ML81N for each line item and create single invoice verification for all service entry sheet - MIRO
2) Create service purchase order - ME21N for only one line item.
And include all services in service tab available at item detail level of service purchase order. Enter it's quantity and rate.
Than create one service entry sheet for purchase order.
So you can create one service entry sheet for all line item of services.
Note: - Use option 2 for easy process.
Regards,
Mahesh Wagh. -
Post Invoice for Service Entry with many Service line item-MM-LIV
Dear All,
I have a problem to post Invoice for Service Entry with many Service line item. The problem is as follow:
I have created 1 Service Entry which has 5 Service line item in it. Three of the service line item are subject to Value Added Tax (VAT), the others aren't. Then, i wanted to post Invoice for the Service Entry, however, it just display 1 item which amount in total. How can i segregate each service line item in Service Entry thus i can post Invoice for all Service line item with subject to VAT and all service item with not subject to VAT, if just 1 Service Entry created for it ?
Please help me.
Thank YouHi Ganda,
If you mark the 'service based invoice verification' checkbox in your PO item, your service items will be in your invoice as seperate invoice lines. Then you can modify the taxcodes on service item level.
Kind regards, Dick Hendriks. -
Screen exit for Service entry sheet at line item level
Hi,
We would like to add some custom fields at service entry sheet at line item.
A new tab to be introduced with custom fields at serive entry line item level.
Any idea which screen exit can be use? or
what is the way to find the screen exit?
Regards,
SandeepHi Sandeep,
You can try to use the user defined fields in table ESLL
ESLL-USERF1_NUM User-Defined Field
ESLL-USERF2_NUM User-Defined Field
ESLL-USERF1_TXT User-Defined Field
ESLL-USERF2_TXT User-Defined Field
or develop a custom solution with the help of customer enhancement
SRVDET (transactions SMOD, CMOD).
You should use EXIT_SAPLMLSP_030 to transfer values.
Regards,
Edit -
Service line item History for Contracts with item cat - D and Acc Assg P
Hello Gurus,
We have a situation where we create contract with item category D (Service) and account assignment category P (Projects). And for the line items of the PO we have difference services (without a service master) and each service line item has the price and quantity and other required fields. Now it is required to change the price or the quantity or both for this service line time and again (business requirement).
The task is to to track the price changes and the quantity changes that have happened to the serive line item from the original and we require the report to diplay the original price and the present price on the service line.
The question is: Is there a standard report in SAP to handle this? Or which are the tables where a service line items history is stored so that it can lead to a development.
Regards - SSHi Pankaj,
We are using a Percentage based case (Prorata case)
For Eg : For Eg for 65% (65KAI )material Price 1000 Rs
If the Purity percentage varies payment will be done as per the same. For eg : for 70% (70KAI ) Price 1200 Rs. (approx)
In this case unit of measurement is KAI (kilo active ingredient) .
Actually we are dealing with dealer price where duties are entered Inclusive of the total price and entered at the time of making GR. and the payment is made as per the same;
we have one po for 5000 MT. where we received material at first time Qty being 1993 MT.The duties manuallyentered are as follows :BED :24,167.00
AED : 7,076.00
ECS : 483.00
SECES : 242.00
These duties are flowing correctly in MIRO
and the MIRO has been Posted and payment is also made.
But while the balance quantity 2982 kg we received next time and those duties are as flowing as follws:
BED : 36160
AED : 10587
ECS : 723
SECS : 362
But here at the MIRO the following duties are flowing instead of above
BED : 36,526.08
AED : 10,694.18
ECS : 730.32
SECS : 365.66
What might be the error at this stage.
waiting for solution at the earliest .
Regards,
Girish.C.M.
09377077122 -
Need help to change line item text for 220 Line items
Hi Specialists,
The user has posted a reversal entry ( doc type : Manual Accrual) using TCODE FBS1.
It has 220 line items.
Is there a way in SAP he can change the text of All Line Items for a particular document number in one shot ( Mass Change).
Pls note : Header text remains same . Only the line item text needs to be changed in one shot .
For Eg :
1 50 2758000047 Accruals for CAS Accrl - Dec 08 / Nalini Marketing(Door Mats) - Oth
2 50 2758000047 Accruals for CAS Accrl - Dec 08 / SKC - M&E Repair
Changed Description:
1 50 2758000047 Accruals for CAS Accrl - Jan 09 / Nalini Marketing(Door Mats) - Oth
2 50 2758000047 Accruals for CAS Accrl - Jan 09 / SKC - M&E Repair
Thanks,
Abhinav.Hi
This is possible, please follow as below:
If it is GL (FBL3N), Customer (FBL5N), Vendor (FBL1N) line item use the TCODE' mentioned.
In the selection screen, if possible give all the document numbers (it is possible with addition selection).
Once you get the output with the line item, select all line items and go to the menu options there you can see the mass change option, it will give one popup screen give the new value in the text field and proceed further.
VVR
Maybe you are looking for
-
Hi All How to create a new row in VO programatically I'm using jd 11.1.1.4 I'm executing a VO and get a row, so I want to assign that row as a new row in the VO and store it in the data base table pls tell me how to do this. Thanx
-
GeoRaptor 3.2.1 Released for SQL Developer 3.x
Spatialites! After 6 months of development and testing, GeoRaptor 3.2.1 has been released for SQL Developer 3.x (tested on 3.0, 3.1 and 3.2). This release no longer supports SQL Developer 1.x or 2.x releases due to internal changes to the SQL Develop
-
Why do I get an Adobe Error 14 when I try to open PDF files?
My laptop uses Adobe touch. I downloaded Adobe Acrobat trial to see if it was a program that could easily covert PDF's to excel. I have not made it to that point because after the download of the Adobe Acrobat Trial it disabled the adobe touch progr
-
Itunes 11.1.3 wont sync with my iPhone 5c or iPad mini
hi there i was attempting to sync my iPhone 5c earlier to transfer music over from itunes but when i connected it with the usb cable nothing happened so i manually opened itunes and realised that the tab for iphone did not appear and i was just wonde
-
Manual Bank Subaccount Clearing 1:N – Profit Center Assignment within NEW GL
Hello guys, What is the common practice to do Manual Bank Subaccount Clearing for Vendors outgoing payments? My main concern is Profit Center Assignment within New GL. The business process is: Payment Program (F110) creates multiple JEs to Bank Subac