BAPI PO CreateFromData1 for services
Hi Gurus,
I need to create a purchase order, which is for purchasing services instead of materilas. I ve checked the GetDetail for a existing purchase order about this but there I only can see the item of it but not the details about the services behind the item.
Anybody has a solution how to create the additional details about the services for an item of the purchase order?
thanx
Juergen
all parameters are there
Similar Messages
-
Bapis and IDOC for Service order... etc.
Hi Experts,
Can any body please tell me what are the bapis for creating
following things.
Create Service Order or Sales Order
Update Service Order
Goods Issue & Goods Receipt
Inventory Balanceses
Purchase Requisition Information
Purchase Order Information
For this above are there any standard inbound and outbound
idoc for data transfer.
Thanks & Regards,
ChetanHi,
Thank you very much For the Information.
I had asked one more question below that.
"For this above are there any standard inbound and outbound
idoc for data transfer".
Thanks & Regards,
Chetan -
BAPI-user exit for service entry
Is it possible to use a user exit in a BAPI?
I have a BAPI --- BAPI_ENTRYSHEET_CREATE
Is there any user exit which I can write code in this BAPI?
please suggest?Hello,
Yes; you can write user exit code for BAPI. BAPI_ENTRYSHEET_CREATE calls the function MS_CREATE_SERVICE_ENTRY_MULTI which has few user exits. If you search using SMOD with package 'ML', you will see all of these enhancements.
Thanks,
Venu -
BAPI Error: No account assignment exists for service line 0000000000
I am using BAPI : BAPI_PO_CREATE1 to create a PO.
I am getting this error while creating PO "No account assignment exists for service line 0000000000"
Please help.Yes...
for each item i am creating one parent service record and one child service record with REQUISITION_SERVICES.
the Package no for parent is the subpackage no for child.
also for each item, I fill REQUISITION_ACCOUNT_ASSIGNMENT and REQUISITION_SRV_ACCASS_VALUES
Still I get the Error.
Thanks to help me resolve. -
BAPI for Service order creation
Hi ,
Please tell me if any Bapi for service order creation , T-code : IW31
regards,
PrakashHi Prakash,
Have a look on the following BAPIs:
BAPI_ISUSMORDER_CREATEMULTIPLE - Create Service Orders
BAPI_ALM_CONF_CREATE - Create confirmation for maintenance/service order
WTY04_CREATE_SERVICE_ORDER - Create Service order via function module.
Hope this will help.
Regards,
Nitin. -
BAPI for Service Orders Confirmation
Can somebody please provide BAPIS for Service Orders Confirmation and other related BAPIS
Thank youTo create service confirm order use "BAPI_BUSPROCESSND_CREATEMULTI".
Regards,
Animesh -
Fm or bapi for service order confirmation (iw41)
hi,
Can you please tell me a fm or bapi for service order confirmation in iw41HI dido...
you can use CRM_ORDER_MAINTAIN.
you can process any document type you want
regards
Marco -
BAPI for Service PR creation along with sub services (with parameters)
Hi Experts,
I am trying to post PR for services throgh BAPI : BAPI_REQUISITION_CREATE but after passing the parameters in following structures :
Values of these structures are reflecting in generated PR :
REQUISITION_ITEMS
REQUISITION_ACCOUNT_ASSIGNMENT
REQUISITION_ITEM_TEXT
But values are not reflecting for these below structures : ( sub services )
REQUISITION_SERVICES
REQUISITION_SRV_ACCASS_VALUES
Please help in this regard.
Thanks .Dear Keshu,
Thanks for the help first of all . This gave me some idea but still unable to post the service lines , I want to know whether it can work with internal number range of PRs because the document is for external number range , required some suggestion from your end ! Thanks -
DELIVERY COMPLETED indicator for Services Purchase Order
hello experts,
i'm working in SAP with R3 4.7 for developing funtion / BAPI for a mobile web application for services purchase order.
i have a big problem:
is it possibile to set the DELIVERY COMPLETED indicator (<i>ELIKZ</i>) in services purchase order via BAPI or Function Module?
<i>I'm working with BAPI_PO_CHANGE but and i succeded with material PURCHASE ORDER but not with SERVICES PURCHASE ORDER</i>.
can anyone help me?
thanks in advance,
ElianaFor material:
Delivery completion (DCI) tick available at line item level for each material (EKPO- ELIKZ)so you can check for the each material in PO the DCI is available or not.
For Services:
As Service code (Service line items) are maintained in details screen of Header line item. So whenever the DCI (Delivery completion indicator) marked for that Header line item it means that all the service line items are marked as DCI for that Header line.
DCI indicator can mark manually in Change PO mode and automatically when service entry done as final for that Header line.
So you can check the DCI for service same way as you do for material
Hope it will help you
Regards
Vikrant -
Error message "SE 518 No account assignment exists for service li ne 000000
Hi All,
Customer is using SRM 7.0 Self-Service procurement
Shopping cart created with multiple service items, once it approved. We get the Error message "SE 518 No account assignment exists for service li ne 0000000000" in Shopping cart Monitor. Could you please help me here why this issue happening.
FYI:- Same user created another shopping cart with same data, this error not occurred. This error is happening a while not regular for the same item ordering.
Could you please help me on this what may be issue here?
Appreciated your help in Advanced.
Cheers
RajHi Raj,
Have you already tried the notes below?
499626 FAQ: BAPIs in the service procurement
1472036 Limit PO with account assignment can not be transferred
1140132 Error SE 518 when creating purchase order with contract
1557395 SE 518 error message for service items during PO creation
1226132 SE518 Error message from back-end system for service item
Best regards,
Christian Zeuch -
hi,
Hello all, please help!! I used function BAPI_PO_CREATE1 to create PO with limit item but function returned message error '518 No account assignment exist for service line 0000000000'. Can anyone give me an idea to slove this problem?
i am passing po header, po headerx, po item , po itemx, po account, po accountx, po limits, po services, po service values, to bapi. if i comment package number in po limits structure , po was creating but limits data not updating in po., if i pass package number i am getting above error.
Thanks In Advance,
regardshi Dinesh,
am also having same error for bap po create1 . did it get resolved for you? please help its urgently needed for me here -
BAPI_REQUISITION_CREATE: Err-No account assignment exists for service line
Hi Frnds,
I am using bapi BAPI_REQUISITION_CREATE to create PR with mutiple Service line.
I am getting an error message SE518 - No account assignment exists for service line 0000000000.
Can anyone of you help me out to solve this issue?
Thanks in advance
SuganyaHI
I need to create pucharse-requisition for services with account assignment K.
execute BAPI_REQUISITION_CREATE with an item with a service and work well.
When I prove with two items each one with its service gives east error me
"E518, No account assignment exists for service line 0000000010"
my source is:
REPORT Z_WGS_BAPI_REQUISIT_CREATE_002
NO STANDARD PAGE HEADING LINE-SIZE 180
START-OF-SLECTION *
DATA:
W_NUMBER LIKE BAPIEBANC-PREQ_NO,
W_REQUISITION_ITEMS LIKE BAPIEBANC OCCURS 0 WITH HEADER LINE,
W_REQUISITION_ACCOUNT LIKE BAPIEBKN OCCURS 0 WITH HEADER LINE,
W_REQUISITION_SERVICES LIKE BAPIESLLC OCCURS 0 WITH HEADER LINE,
W_REQUISITION_SRV_VALUES LIKE BAPIESKLC OCCURS 0 WITH HEADER LINE,
W_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE,
W_RETURN1 LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
perform item_10.
perform item_20.
perform bapi.
form item_10.
**Item 10
W_REQUISITION_ITEMS-DOC_TYPE = 'NB'.
W_REQUISITION_ITEMS-PREQ_ITEM = '00010'.
W_REQUISITION_ITEMS-ACCTASSCAT = 'K'.
W_REQUISITION_ITEMS-ITEM_CAT = '9'.
W_REQUISITION_ITEMS-PUR_GROUP = 306.
W_REQUISITION_ITEMS-PURCH_ORG = '9000'.
W_REQUISITION_ITEMS-PLANT = 'CO95'.
W_REQUISITION_ITEMS-PREQ_NAME = 'EORTIZ'.
W_REQUISITION_ITEMS-DELIV_DATE = SY-DATUM.
W_REQUISITION_ITEMS-SHORT_TEXT = 'Servicio 1'.
W_REQUISITION_ITEMS-MAT_GRP = 'SER-0005'.
W_REQUISITION_ITEMS-QUANTITY = '1.000'.
W_REQUISITION_ITEMS-PCKG_NO = '0000000001'.
W_REQUISITION_ITEMS-GR_IND = 'X'.
W_REQUISITION_ITEMS-IR_IND = 'X'.
W_REQUISITION_ITEMS-FIXED_VEND = space.
W_REQUISITION_ITEMS-INFO_REC = space.
APPEND W_REQUISITION_ITEMS. CLEAR W_REQUISITION_ITEMS.
W_REQUISITION_ACCOUNT-PREQ_ITEM = '00010'.
W_REQUISITION_ACCOUNT-SERIAL_NO = '01'.
W_REQUISITION_ACCOUNT-COST_CTR = '0001010106'.
W_REQUISITION_ACCOUNT-G_L_ACCT = '0063010001'.
APPEND W_REQUISITION_ACCOUNT. CLEAR W_REQUISITION_ACCOUNT.
W_REQUISITION_SERVICES-PCKG_NO = '0000000001'.
W_REQUISITION_SERVICES-LINE_NO = '0000000001'.
W_REQUISITION_SERVICES-EXT_LINE = '0000000000'.
W_REQUISITION_SERVICES-SUBPCKG_NO = '0000000002'.
W_REQUISITION_SERVICES-FROM_LINE = '1'.
W_REQUISITION_SERVICES-PLN_LINE = '0000000001'.
APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
W_REQUISITION_SERVICES-PCKG_NO = '0000000002'.
W_REQUISITION_SERVICES-LINE_NO = '0000000002'.
W_REQUISITION_SERVICES-EXT_LINE = '0000000010'.
W_REQUISITION_SERVICES-SUBPCKG_NO = '0000000000'.
W_REQUISITION_SERVICES-SERVICE = '000000000003000001'.
W_REQUISITION_SERVICES-QUANTITY = '5.000'.
W_REQUISITION_SERVICES-BASE_UOM = 'UN'.
W_REQUISITION_SERVICES-GR_PRICE = '150.0000'.
APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
W_REQUISITION_SRV_VALUES-PCKG_NO = '0000000002'.
W_REQUISITION_SRV_VALUES-LINE_NO = '0000000002'.
W_REQUISITION_SRV_VALUES-SERNO_LINE = '01'.
W_REQUISITION_SRV_VALUES-SERIAL_NO = '01'.
W_REQUISITION_SRV_VALUES-PERCENTAGE = '100.0'.
APPEND W_REQUISITION_SRV_VALUES. CLEAR W_REQUISITION_SRV_VALUES.
endform.
form item_20.
item 20
W_REQUISITION_ITEMS-DOC_TYPE = 'NB'.
W_REQUISITION_ITEMS-PREQ_ITEM = '00020'.
W_REQUISITION_ITEMS-ACCTASSCAT = 'K'.
W_REQUISITION_ITEMS-ITEM_CAT = '9'.
W_REQUISITION_ITEMS-PUR_GROUP = '306'.
W_REQUISITION_ITEMS-PURCH_ORG = '9000'.
W_REQUISITION_ITEMS-PLANT = 'CO95'.
W_REQUISITION_ITEMS-PREQ_NAME = 'EORTIZ'.
W_REQUISITION_ITEMS-DELIV_DATE = SY-DATUM.
W_REQUISITION_ITEMS-SHORT_TEXT = 'Servicio 2'.
W_REQUISITION_ITEMS-MAT_GRP = 'SER-0005'.
W_REQUISITION_ITEMS-QUANTITY = '1.000'.
W_REQUISITION_ITEMS-PCKG_NO = '0000000003'.
W_REQUISITION_ITEMS-GR_IND = 'X'.
W_REQUISITION_ITEMS-IR_IND = 'X'.
W_REQUISITION_ITEMS-FIXED_VEND = space.
W_REQUISITION_ITEMS-INFO_REC = space.
APPEND W_REQUISITION_ITEMS. CLEAR W_REQUISITION_ITEMS.
W_REQUISITION_ACCOUNT-PREQ_ITEM = '00020'.
W_REQUISITION_ACCOUNT-SERIAL_NO = '01'.
W_REQUISITION_ACCOUNT-COST_CTR = '0001010106'.
W_REQUISITION_ACCOUNT-G_L_ACCT = '0063010001'.
APPEND W_REQUISITION_ACCOUNT. CLEAR W_REQUISITION_ACCOUNT.
W_REQUISITION_SERVICES-PCKG_NO = '0000000003'.
W_REQUISITION_SERVICES-LINE_NO = '0000000003'.
W_REQUISITION_SERVICES-EXT_LINE = '0000000000'.
W_REQUISITION_SERVICES-SUBPCKG_NO = '0000000004'.
W_REQUISITION_SERVICES-FROM_LINE = '1'.
APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
W_REQUISITION_SERVICES-PCKG_NO = '0000000004'.
W_REQUISITION_SERVICES-LINE_NO = '0000000004'.
W_REQUISITION_SERVICES-EXT_LINE = '0000000010'.
W_REQUISITION_SERVICES-SUBPCKG_NO = '0000000000'.
W_REQUISITION_SERVICES-SERVICE = '000000000003000002'.
W_REQUISITION_SERVICES-QUANTITY = '10.000'.
W_REQUISITION_SERVICES-BASE_UOM = 'UN'.
W_REQUISITION_SERVICES-GR_PRICE = '90.0000'.
APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
W_REQUISITION_SRV_VALUES-PCKG_NO = '0000000004'.
W_REQUISITION_SRV_VALUES-LINE_NO = '0000000004'.
W_REQUISITION_SRV_VALUES-SERNO_LINE = '01'.
W_REQUISITION_SRV_VALUES-SERIAL_NO = '01'.
W_REQUISITION_SRV_VALUES-PERCENTAGE = '100.0'.
APPEND W_REQUISITION_SRV_VALUES. CLEAR W_REQUISITION_SRV_VALUES.
endform.
form bapi.
BAPI
CALL FUNCTION 'BAPI_REQUISITION_CREATE'
EXPORTING
SKIP_ITEMS_WITH_ERROR =
AUTOMATIC_SOURCE = 'X'
IMPORTING
NUMBER = W_NUMBER
TABLES
REQUISITION_ITEMS = W_REQUISITION_ITEMS
REQUISITION_ACCOUNT_ASSIGNMENT = W_REQUISITION_ACCOUNT
REQUISITION_ITEM_TEXT =
REQUISITION_LIMITS =
REQUISITION_CONTRACT_LIMITS =
REQUISITION_SERVICES = W_REQUISITION_SERVICES
REQUISITION_SRV_ACCASS_VALUES = W_REQUISITION_SRV_VALUES
RETURN = W_RETURN.
REQUISITION_SERVICES_TEXT =
REQUISITION_ADDRDELIVERY =
EXTENSIONIN =
ejecuta commit
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = W_RETURN1.
LOOP AT W_RETURN. .
WRITE: / SY-TABIX,
/ 'W_RETURN-TYPE:', W_RETURN-TYPE,
/ 'W_RETURN-CODE:', W_RETURN-CODE,
/ 'W_RETURN-MESSAGE:', W_RETURN-MESSAGE,
/ 'W_RETURN-LOG_NO:', W_RETURN-LOG_NO,
/ 'W_RETURN-LOG_MSG_NO:', W_RETURN-LOG_MSG_NO,
/ 'W_RETURN-MESSAGE_V1:', W_RETURN-MESSAGE_V1,
/ 'W_RETURN-MESSAGE_V2:', W_RETURN-MESSAGE_V2,
/ 'W_RETURN-MESSAGE_V3:', W_RETURN-MESSAGE_V3,
/ 'W_RETURN-MESSAGE_V4:', W_RETURN-MESSAGE_V4.
ULINE.
ENDLOOP.
endform. -
BAPI_PO_CREATE1-No account assignment exists for service line 0000000000
Hi guys
I'm trying to use the above BAPI to create purchase orders from legacy system. I have populated ALL of the required tables (including the Xs) but I was returned the above error: No account assignment exists for service line 0000000000.
I have populated fields in the POLIMITS structure
POLIMITS-PCKG_NO
POLIMITS-LIMIT
POLIMITS-EXP_VALUE.
Any solutions?
Thanks in advance.
Cheers!hi Dinesh,
am also having same error for bap po create1 . did it get resolved for you? please help its urgently needed for me here -
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 -
BAPI_PO_CHANGE "No account assignment for service 0000010" SE 518 Error
Hi Friends,
I am using BAPI_PO_CHANGE to add new line item with service data to purchase order.
For one scenario BAPI give me above error is "No account assignment for service 0000010" SE 518 .
basically when i pass outline aggrement and contract item to bapi i am getting this error.....according to my observation in outline agrement account assignment is maintain as 'U' but i want to pass outline agrement as 'K' or 'N' so i am passing this into BAPI parameters ,however i feel somewhere it is getting conflict so it giving above error...
Please guide,
Thanks & Regards,
BhaskarHi Seini,
Thanks for reply ..
I have pass contract number to BAPI ....and i also pass cost center and GL account to account assignment but still bapi giving same error.....I am totally stuck into this i tried a lot with different options..for other scenario BAPI works fine but when I pass contract number with account assignment 'U' and I want to change this 'U' to 'K' or 'N' for this I pass account assignment to PO line item but BAPI fails in this perticular scenario.
Maybe you are looking for
-
I am getting an error msg when trying to sync with I Tunes???
I am now getting an error msg (0xE8000065) when trying to sync with I-Tunes. This just started today Also would like to know how to find my passcode for Restrictions without restore the whole phone.
-
Sending to the internet redundancy..Is this possible
Can anyone tell me how I can accomplish redundancy in mail transport to the internet Here is my setup Site A is production and holds all mailboxes Site B is our failover site In both site A and site B we have an ex2010 server that sends to the intern
-
How can I change the onedrive location using Windows 10 build 9226 and an Microsoft account to log in (I cannot unlinked the onedrive and relink again to specify the new location) Any ideas? Thanks!
-
Hi All, i am running 10.2.0.3 with ASM (10.2.0.3) on SunOS (solaris 5.9) +ASM1> ps -ef | grep pmon oraunity 6174 1 0 Jan 01 ? 298:37 ora_pmon_UNITYQ1 oraunity 6480 1 0 Dec 31 ? 84:21 asm_pmon_+ASM1 oraunity 6085
-
How do you change your security questions? Apple has changed everything once again and I HATE IT!!! I never had to use my security questions and now I do. I have the ipod touch 1, obviously it has been forever since I've made them so i dont remember