BAPI_PO_CHANGE Add Services

Hi all,
I need to update a PURCHASE ORDER with new services but im getting the error msg "Enter Quantity in service line" but my service line is a information line what could be the problem (poservices-inform = 'X'. poservices-serv_type = 'HZ' ).
Im unable also to insert text information with POSERVICESTEXT.
What could be missing?
Test sequence
Se37
BAPI_PO_CHANGE
BAPI_TRANSACTION_COMMIT
TEST 1 (unable to insert POSERVICESTEXT information in PO, but the NZ lines are insert )
Return
T ID NUM MESSAGE
S 06 023 Standard PO 4500000284 changed
W ME 887 Error transferring ExtensionIn data for enhancement CI_EKKODB
I ME 664 Change Order Unit could not be effected
Parâmetros: PURCHASEORDER = 4500000284
Parâmetros: VERSIONS
POST_DATE = 00000000
Parâmetros: POITEM
PO_ITEM = 00010
SHORT_TEXT = CHANGE
MATERIAL = 000000000040000008
QUANTITY = 1.000
PO_UNIT = LE
PCKG_NO = 0000000001
Parâmetros: POITEMX
PO_ITEM = 00010
PO_ITEMX = X
SHORT_TEXT = X
MATERIAL = X
QUANTITY = X
PO_UNIT = X
PCKG_NO = X
Parâmetros: POSCHEDULE
PO_ITEM = 00010
SCHED_LINE = 0001
QUANTITY = 1.000
Parâmetros: POSCHEDULEX
PO_ITEM = 00010
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
Parâmetros: POSERVICES
PCKG_NO = 0000000001
LINE_NO = 0000000001
OUTL_LEVEL = 0
OUTL_IND = X
SUBPCKG_NO = 0000000002
FROM_LINE = 1
PCKG_NO = 0000000002
LINE_NO = 0000000002
EXT_LINE = 0000000010
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 1
USERF1_TXT = LINHA NORMAL
PCKG_NO = 0000000002
LINE_NO = 0000000003
EXT_LINE = 0000000020
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 2
USERF1_TXT = LINHA NORMAL
PCKG_NO = 0000000002
LINE_NO = 0000000004
EXT_LINE = 0000000030
OUTL_LEVEL = 0
SERV_TYPE = NZ
QUANTITY = 5.000
BASE_UOM = UN
PRICE_UNIT = 1
GR_PRICE = 10.0000
SHORT_TEXT = SHORT 3
USERF1_TXT = LINHA NORMAL
Parâmetros: POSERVICESTEXT
PCKG_NO = 0000000002
LINE_NO = 0000000004
TEXT_ID = LLTX
FORMAT_COL = *
TEXT_LINE = LONGO
PCKG_NO = 0000000002
LINE_NO = 0000000004
TEXT_ID = LTXT
FORMAT_COL = *
TEXT_LINE = SUCINTO
Second test
Return
T ID                   NUM MESSAGE
E SE                   319 Please enter a quantity
W ME                   887 Error transferring ExtensionIn data for enhancement CI_EKKODB
E BAPI                 003 Instance 4500000284 of object type PurchaseOrder could not be changed
Parameters:    PURCHASEORDER        = 4500000284                                                                               
Parameters:    VERSIONS                       
POST_DATE                      = 00000000
                                                                                Parameters:    POITEM                         
PO_ITEM                        = 00010
SHORT_TEXT                     = CHANGE                                 
MATERIAL                       = 000000000040000008
QUANTITY                       = 1.000 
PCKG_NO                        = 0000000001
                                                                                Parameters:    POITEMX                        
PO_ITEM                        = 00010
PO_ITEMX                       = X
SHORT_TEXT                     = X
MATERIAL                       = X
QUANTITY                       = X
PCKG_NO                        = X
                                                                                Parameters:    POSCHEDULE                     
PO_ITEM                        = 00010
SCHED_LINE                     = 0001
QUANTITY                       = 1.000                                                                               
Parameters:    POSCHEDULEX                    
PO_ITEM                        = 00010
SCHED_LINE                     = 0001
PO_ITEMX                       = X
SCHED_LINEX                    = X
QUANTITY                       = X
                                                                                Parameters:    POSERVICES                     
PCKG_NO                        = 0000000001
LINE_NO                        = 0000000001
OUTL_LEVEL                     = 0
OUTL_IND                       = X
SUBPCKG_NO                     = 0000000002
FROM_LINE                      = 1    
PCKG_NO                        = 0000000002
LINE_NO                        = 0000000002
EXT_LINE                       = 0000000010
OUTL_LEVEL                     = 0
SERV_TYPE                      = NZ
QUANTITY                       = 5.000 
BASE_UOM                       = UN
PRICE_UNIT                     = 1 
GR_PRICE                       = 10.0000    
SHORT_TEXT                     = SHORT 1                                
USERF1_TXT                     = LINHA NORMAL                           
PCKG_NO                        = 0000000002
LINE_NO                        = 0000000003
EXT_LINE                       = 0000000020
OUTL_LEVEL                     = 0
SERV_TYPE                      = HZ
GR_PRICE                       = 10.0000    
SHORT_TEXT                     = SHORT 2                                
INFORM                         = X
USERF1_TXT                     = LINHA INFO                             
PCKG_NO                        = 0000000002
LINE_NO                        = 0000000004
EXT_LINE                       = 0000000030
OUTL_LEVEL                     = 0
SERV_TYPE                      = NZ
QUANTITY                       = 5.000 
BASE_UOM                       = UN
PRICE_UNIT                     = 1 
GR_PRICE                       = 10.0000    
SHORT_TEXT                     = SHORT 3                                
USERF1_TXT                     = LINHA NORMAL                                                                               
Parameters:    POSERVICESTEXT                 
PCKG_NO                        = 0000000002
LINE_NO                        = 0000000004
TEXT_ID                        = LLTX
FORMAT_COL                     = *
TEXT_LINE                      = LONGO                                                                               
PCKG_NO                        = 0000000002
LINE_NO                        = 0000000004
TEXT_ID                        = LTXT
FORMAT_COL                     = *
TEXT_LINE                      = SUCINTO
Thanks and Regards
null
Message was edited by:
        Luis  Constantino

Thank you for reply.
Yes, I read it, but I found a sap note that say:
You can also change services using BAPI_PO_CHANGE. Up to now, it was only possible to add complete service or limit items.
Using the new BAPI_PO_CHANGE, you can now make changes to services and with limits.
Because in the production mode the interfaces are filled entirely from available documents by report, SAP always assumes that the services or limits to be changed are sent in full to the BAPI interfaces with all the data belonging to them, even if not all the data is changed. If required entry fields are missing, the system displays an error message, other data not filled is possibly initialized. (It is not necessary to assign the complete item.)
- NOTE 561507 -
"What BAPI_PO_CHANGE can now do:
1. Changes to an already existing item:
              For an existing item, you can
a) Add, change or delete services.
b) Add, change or delete limits (free limits and contract limits), provided that this does not cause the net value of the purchase order item to become "0".
1. Account assignment change for item category B and D: For an existing item, the account assignment can be changed.
a) Account assignment category U can be converted into another account assignment category allowed for the item categories, and vice versa.
b) An existing account assignment can be changed.
c) In case of services, a single account assignment can be converted into a multiple account assignment and vice versa - not with limits (with item category B), here multiple account assignment is not possible on-line either).
2. Making changes to more than one item.
3. Change outline layouts.
What the BAPI_PO_CHANGE cannot do:
Everything which is not possible on-line either."

Similar Messages

  • WCF Add Service Reference Not Supported for Windows Phone 8.1 XAML Applications

    Windows Phone 8.1 XAML applications does not support the System.ServiceModel namespace, and therefore you are not able to right click references in the project and choose Add Service Reference.   The recommended solution is to add a REST endpoint
    to your WCF endpoint, and access the WCF application through the REST endpoint using HttpClient.
    Bret Bentzinger (MSFT) @awehellyeah

    My opinion on this subject is that someone in management needs to get rid of the "Yes Man" and hire someone with a backbone.
    A project (such as this one) suffered big time because of your excuse of meeting a deadline. Did nobody do feasibility studies to determine the effects of removing the ServiceModel namespace and how it would break migration? It wasn't removed from the other
    project types, so it wasn't a point that it wouldn't fit on the device, so it came down to testing and someone dropped the ball. This is poor management, and deadlines should be extended for critical points within a project. Think about the public relations
    that has already been set backwards by this move. I believe that it meets the critical criteria only because you are talking about targeting the mobile devices which consume external data sources as a key component. Lacking the ServiceModel namespace was a
    monumental error on the teams part.
    This is a perfect case of "we can ship the car", but the wheels will have to wait...they can "Flintstone it" until we get the wheels ready.
    Thomas Mullen
    Thomas Mullen

  • Problems consuming a MII web service using 'Add Service Reference' in Visual Studio

    I can generate a client proxy when I use 'Add Web Reference' in visual studio, but when I try to use 'Add Service Reference', I get an empty stub. We have a product that generates web service client proxy code in a manner similar to that used by the Microsoft 'Add Service Reference' code. We are usually able to consume ASMX web services as well, but currently are unable to consume the SAP MII web service. Any help would be appreciated.

    Hi Didi,
    I can successfully add a Service Reference and execute an MII transaction with input and output parameters through the Service Reference.  This is using MII14 SP5 latest patch, and Microsoft Visual Studio 2008 in C#.
    Which version of MII, and which version of VS?
    Can you paste the MII url into a browser and get it to return the WSDL?
    Regards, Steve

  • How to add services for object in ECC6.0

    Hi everybody,
                        Can anybody tell me how to add "Services for Object" icon in ECC 6.0 because this icon is there in 4.6C but not coming in ECC 6.0.
    Thanks in Advance

    Hi Saurabh,
                Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C)  b'coz its very urgent.

  • How can I script the "Add Service Reference" process?

    I want to write a script (cmd or powershell doesn't matter) that will take an input parameter of a path to a WSDL file and automatically add the web service to my project. Basically I want to duplicate the action of a) right click b) Add Service Reference
    c) GO. Is this possible?

    Hi MCM14,
    Thank you for posting in the MSDN forum.
    Actually you know that this forum is to discuss the VS IDE, for this issue, if you want to know that whether you could achieve it with Script, I think the Script forum would be better for you.
    The forum link:
    https://social.technet.microsoft.com/Forums/Windows/en-US/home?forum=winserverpowershell
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • No parameter found to add service item detail in BAPI_PR_CHANGE.

    Hi,
    I am trying to add new service item in an existing purchase requisition. But i can not find any parameter, where i can pass these service details.
    Regards
    PG

    Hello PG ,
    Please review SAP Note 499627 , Question # 9. Here , you will be able to find more information on how to add service
    items using BAPI_PR_CHANGE
    9.  Question:
    Can service items be created using BAPI_PR_CREATE or changed using
    BAPI_PR_CHANGE?
    Answer:
    Yes. Release 6.04 (Enhancement Package 4) provides new API functions for
    the object BUS2105 that include this function. In addition the business
    function LOG_MM_CI_2 or the switch MM_SFWS_SC2 must be active.
    Also , Please read SAP Note 1312947 for further information.
    I hope this information has been helpful for you.
    Best Regards,
    Frank Farinella

  • VS 2013 - Add Service Reference - not working

    Hi,
    I have Service References correctly installed and running under IIS on a Win 8.1 machine.
    It is under Default Web Site
    On the tree it is named VCIWCFServicesSite
    Basic Settings:
    Site Name: Default Web Site
    Path: /
    Alias: VCIWCFServicesSite
    Application Pool: DefaultAppPool
    With VS 2013, I try to "add service reference"
    http://localhost GO
    I get:
    There was an error downloading 'http://localhost/_vti_bin/ListData.svc/$metadata'.
    The request failed with HTTP status 404: Not Found.
    Metadata contains a reference that cannot be resolved: 'http://localhost/'.
    The remote server returned an unexpected response: (405) Method Not Allowed.
    The remote server returned an error: (405) Method Not Allowed.
    If the service is defined in the current solution, try building the solution and adding the service reference again.
    No surprise: there is no c:\inetpub\wwwroot\_vti_bin directory.
    Ok, Now what?
    Boyd
    BDM  - it ( the service ) was published by vs2010

    Hi Boyd,
    Thank you for posting in the MSDN forum.
    Since this issue is related to the service references in web site, to help you resolve this issue as soon as possible,
    you could ask this question in the ASP.NET forum: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
    I think this forum would be better like this
    case:
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add Service item in  PR Document using BAPI_PR_CHANGE

    Hi Folks,
    I am using BAPI_PR_CHANGE to change existing purchase requisition document. By using this FM, i am able to add new item in PR document.
    Now my requirement is to add services and limits at item level details.
    But when i saw the parameter list of this FM, i am not able to find any parameter where service details or limits can be passed.
    So does it mean that, its not possible to edit service details at item level of PR by using  FM BAPI_PR_CHANGE?
    Or if yes then how can we do it.
    If No, then what could be the alternative to change the service details of the item.
    Regards
    PG
    Edited by: PG on Aug 30, 2010 6:32 PM

    Hi,
    I just realised that, this question can be asked in specific forum of MM.
    Regards
    PG

  • CSS - add service x.x.x.x weight command

    Hi, From the Cisco pages I read the following
    "The CSS uses the weight for a service when you configure weighted roundrobin load balancing on the content rule. When you assign a higher weight to the service, the CSS redirects more requests to the service."
    This suggests to me a server with a weight of 2 will receive twice as much hits as one with a weight of 1.
    We have this configuration but the customer sees the server with a weight of 1 getting more hits, this is backed up by the show summary stats on the CSS.
    content www.abc.com
    vip address 145.26.114.42
    port 443
    protocol tcp
    advanced-balance sticky-srcip
    sticky-inact-timeout 31
    add service 1.1.1.1-443
    add service 2.2.2.2-443 weight 2
    add service 3.3.3.3-443 weight 2
    add service 4.4.4.4-443 weight 2
    add service 5.5.5.5-443 weight 2
    add service 6.6.6.6-443 weight 2
    add service 7.7.7.7-443 weight 2
    balance weightedrr
    active
    =======================================
    www.abc.com
    Service Hits
    2.2.2.2-443 2784623
    3.3.3.3-443 2868285
    4.4.4.4-443 2688701
    5.5.5.5-443 2763660
    1.1.1.1-443 5105735
    6.6.6.6-44 2634987
    7.7.7.7-44 2733737
    cheers,
    Mike

    Gilles,
    I can't really believe this is the cause, prior to configuring the weights the hits on the box were almost identical (+/- 5%).
    Now the server with weight of 1, is almost 50% more than all the other 6 servers, if stickyness was the cause then each of the 7 servers would have differing hits, 6 of the servers are extremely close in hits.
    The nature of this application would not cause the a user to open one connection, and another to open 10.
    cheers,
    Mike

  • Add Service No. in BOM

    hi all,
    Is that possible to add Service No. Material BOM & settle the Price Coming against service No. on Production Material.
    Parminder

    service No. is the No. generated when creating service entry sheet on work done against part material from out side party.
    Parminder

  • Unable add service to user

    Hi
    When I try to add service to some user I get the next
    error:
    User Profile
    Error/s encountered
    * Unable to get service object classes
    I don't understand what is my poblem, may be something wrong in IS configuration or something else.
    Please anybody help me.

    What service are you trying to add? Identity out of box service or any custom service? remember only dynamic services can be added to users

  • Why am I being asked to add service to a iPhone I want to buy as a gift all I want is an unlocked phone

    I want to buy an iPhone for someone fox holidays,but it keeps rating to make me add service. How to I buy an iPhone to where the gift receiver adds it to their service

    If this is in the US, there are no unlocked iPhone 5s yet available.

  • Add Service component / products in Sales Lead

    Hi Experts,
    Can i add service products / equipment along with sales product in sales lead?

    Hi,
    If you add a "service product " in Lead for sales , then there would be issue of "org data" , the organisation data will be "sales " data , which will not match with "org data " of service product.
    hope it helps,
    regards,
    PD

  • BAPI_PO_CHANGE ADD NEW POSITIONS WITH AGREEMENT REFERENCE ACCOUNT ASSIG. U

    Hello, we are trying to add new positions to a MM orders
    using "BAPI_PO_CHANGE". The positions take into account an agreement number as reference and executing it, the bapi overwrites the value of the account asingment and sets 'U' instead of blank which is the value set as parameter in the field POITEM-ACCTASSCAT and shows the error message ME069 unknown account assignment.
    I tried to set in the bapi the value '*', for example, and the bapi returns correctly the message: This value doesn't exist as an account assingment category. I did this to confirm that the bapi substitutes the value set as parameter for the U value brought from the agreement. I need the same functionality but setting blank. I tried to create a blank entry as account assignment category but the bapi doesn't recogniced it.
    I have tried to code in the next points:
    Field exit KNTTP
    Includes ZXM06U41, ZXFMYU03, zxmewu09 and ZXMEWU11.
    In none of the mentioned cases we have changed the value 'U' for blank,
    because the system always runs before the function MEX_PSTYP_KNTTP where makes the check and shows the error message ME069 unknown account assignment.
    Thanks for your help.
    Jose Luis.

    Hi,
    please check the note 420332.
    If you want to add a new service line please use a dummy packno in the structures POITEM ,POSERVICES, POSRVACCESSVALUES.  A dummy packno means that it does not have any entries in the tables ESLL and ESLH yet. The best solution would be to choose a packno which is a very low number which is not occupied in esll and eslh.
    If you add a new service line please fill in first the father line into POSERVICES and add also the service line (2 entries), like it was described in note 420332, part 3.7
    Regards,
    Edit

  • How to add "services for object " in ECC 6.0

    Hi Saurabh,
    Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C) b'coz its very urgent.

    Hi Saurabh,
                Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C)  b'coz its very urgent.

Maybe you are looking for

  • Adobe reader printing problems

    Hi all, I have created a word document, and converted it to .pdf using Cute PDF writer. When I open the document in Adobe reader 7/8 I can see the document fine and clear with all fonts and images as they should be. The problem is when I try to print

  • HP Photosmart 5510 fails to print with brand new 364XL black ink cartridge

    The original HP 364 'SETUP' black ink cartridge worked well and I bought an HP364XL black ink cartridge via the HP website. I installed the HP364XL this morning, but it's failing to leave any ink on the pages. The cartridge seems to fit OK and there

  • Can't use DTD without a "file:" while parsing with SAX2 parser

    Hello, I'm using JDK 1.4 with JAXP parser. I'm trying to parse an xml document that use a dtd. The DTD is in same dir as the xml file. If i use a "file:./" before mydtd.dtd like this : <!DOCTYPE doc SYSTEM "file:./mydtd.dtd"> It is working fine, but

  • Windows **** using parallels, imac intel HELP!

    Here's my set up: airport extreme firewall (dhcp / nat + reasonable passwords) imac intel running parallels running xp sp2 I'm running call logging software and xp has just c**pped it's pants on me, corrupt data files and all my work is down the toil

  • Exception in webservices - Endpoint cannot handle requests in state: CREATE

    Hi All urgent help needed in webservices. we have a webservice deployed. and i have made a web service client (a java application client), it is registered with the deployed web service, but when running this clinet, we are getting the following excp