BAPI_PO_CHANGE: Realease group is set to blank

Hi,
I have a custom report which is used Bapi BAPI_PO_CHANGE to update the delivery date.
I got the weird issue is that after updating using this Bapi, the Realease Strategy tab disappeared (It was there before).
This means the Realease group is set to blank.
Please advise me any OSS note or a solution to fix this problem.
Thanks,
Khanh

Hi,
This is my testing code:
data: begin of s_pohdr.
        include structure bapimepoheader.
data: end of s_pohdr.
data: begin of s_pohdrx.
        include structure bapimepoheaderx.
data: end of s_pohdrx.
data: begin of t_bapimsg occurs 0.
        include structure bapiret2.
data: end of t_bapimsg.
data: begin of t_poschedule occurs 0.
        include structure bapimeposchedule.
data: end of t_poschedule.
data: begin of t_poschedulex occurs 0.
        include structure bapimeposchedulx.
data: end of t_poschedulex.
data: begin of t_itemtext occurs 0.
        include structure bapimepotext.
data: end of t_itemtext.
parameters: p_ebeln type ebeln,
            p_ebelp type ebelp.
s_pohdr-po_number = p_ebeln.
s_pohdrx-po_number = 'X'.
t_poschedule-po_item = p_ebelp.
t_poschedule-sched_line = '1'.
t_poschedule-delivery_date = '11/20/2010'.
append t_poschedule.
t_poschedulex-po_item = p_ebelp.
t_poschedulex-sched_line = '1'.
t_poschedulex-delivery_date = 'X'.
append t_poschedulex.
t_itemtext-po_number = p_ebeln.
t_itemtext-po_item = p_ebelp.
t_itemtext-text_id = 'F06'.
t_itemtext-text_form = '*'.
t_itemtext-text_line = 'Testing'.
append t_itemtext.
call function 'BAPI_PO_CHANGE'
  exporting
    purchaseorder   = p_ebeln
    poheader        = s_pohdr
    poheaderx       = s_pohdrx
    no_messaging    = 'X'
    no_message_req  = 'X'
    testrun         = ' '
    memory_complete = ' '
  tables
    return          = t_bapimsg
    poschedule      = t_poschedule
    poschedulex     = t_poschedulex
    potextitem      = t_itemtext.
call function 'BAPI_TRANSACTION_COMMIT'.

Similar Messages

  • Maintain Excise and series group determination setting

    Hi Everybody,
    In maintain excise group and series group determination setting. My all the fields are common for both domestic and export and i have to differentiate with automatic excise invoice. When i was trying to do the setting in Maintain excise and series setting. Its not allowing me to save it.
    I explain in a better way
    Sales org.      Distribution ch.      Division    shipping point    Plant     excise Group    series group     export        sub transt. type
    in03                    z1                        z1                inpa              inpa            z1                  z1
    All these fields are common for export also. when i try to maintain setting for export. i just try to add export field as export under bond.  But it stops to do that. And our company policy is we can not create more distribution channel  or division.
    Can anybody tell me how to do that or is there any user exit for this.

    Hi,
    I had created a new series group and tried to assign in the maintain excise and series group determination. But it give the same error  "target ket must be different from the source key"
    What i had done is : i had created new series group i.e z3
    and maintained setting like that
    in03         z1       z1        inpa       inpa        z1     z3       Export under bond
    when i try to save it, it gives error.

  • My WiFi is not working on my ipod touch third gen. The wifi option in setting is blanked out so i am unabole to select it. I have tried restored it and resetting network connections. Also the battery life is very low.

    My WiFi is not working on my ipod touch third gen. The wifi option in setting is blanked out so i am unabole to select it. I have tried restored it and resetting network connections. Also the battery life is very low. How do i fix this????????????

    If a restore did not fix it, you have a hardware issue--possible bad wi-fi radio.
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • How do I set the blank tab (+) to go to my home page instead of blank page when opend?

    How do I set the blank tab (+) to go to my home page instead of blank page when opened?

    You can do that by using an add-on such as [https://addons.mozilla.org/firefox/addon/2221/ NewTabURL] or [https://addons.mozilla.org/firefox/addon/777/ New Tab Homepage].

  • Re:User group,info set and Query combination table

    Hi,
      I would like to know the combination table of User group,info set and Query.
    Can any body please respond to my question?
    Regards,
    Suresh Kumar.

    Hi,
    Check the tables starting with AQG*.
    Reward points if useful.
    Regards,
    Atish

  • Code group & selected sets

    Can anybody please tell me,
    Why & when it is necessary to maintain code group & selected sets. Where it is then use. What is releation between them.Will appreciate if explain with suitable example from industry. Please helpout.Newcomer in QM.

    HI
    code groups are used in Notifications and quality result parameters.
    Code groups are used to combine and structure codes within a catalog type
    code groups at client level to group codes that have the same contents or relate to one another, within a catalog type. Codes, that are assigned to a code group are also known as group codes.
    When you maintain the code group index, the system locks the required catalog type for other users. However, if you use the individual maintenance function, only the required code group is locked.
    these are can ot create by plant wise.
    1.when you have material which measures by means of color then you canhave code group color and codes of red ,black etc..
    2.if you have defect codes then you can mention them
    3.if you have problems of perticular part, then in notification by use of codegroups and codes you can enter the data.
    A selected set contains a combination of different codes at plant level, for example, coded descriptions of characteristic attributes (such as color, shape, surface characteristics), defect causes or usage decisions from different code groups.
    selected sets to combine codes from several code groups for processing that are allowed or useful for a particular application.
    Codes that are copied into a selected set are known as set codes.
    When you maintain the selected set index, the system locks the required catalog type for other users. However, if you use the individual maintenance function, only the required selected set is locked.
    4.with combinationof code and code groups you can create the selected sets , canbe used in Usage decission.(ex:aprroved, no approved,ok, not ok etc)
    Code groups are createsd by Qs41
    Logistics ® Quality management ® Quality planning ® Basic data ® Catalog ® Code group ® Edit
    Selected sets  are created by QS51
    Logistics ® Quality management ® Quality planning ® Basic data ® Catalog ® Selected set ® Edit
    -ashok

  • Why do apps not restore into groups i set them when backed up?

    Hello all,
    I have spent a long time sorting my apps into folders/groups and got them down to 2 pages.
    Why when i restore my iPhone after loss/theft/damage replacement do all the apps show seperately and not in the groups i set when i restored?
    Very frustrating!!!
    Thanks
    T

    I'mnot sure which WD external you have, but some googling turns up the fact that some models (most) will spin down to conserve energy after a certain period of inactivity.
    quote from this web site...
    http://www.amazon.com/Elements-Desktop-External-Hard-Drive/dp/B004SH5VQ4
    " It automatically spins down after a few minutes of non-use,"
    this is separate from, and has nothing to do with the OS X sleep settings.

  • Users cannot access removable devices after you enable and then disable a Group Policy setting in Windows 7 64 Bit

    Users cannot access removable devices after you enable and then disable a Group Policy setting on Windows 7 64 bit machines.
    on the 32 bit machines I was able to apply this hotfix
    http://support2.microsoft.com/kb/2738898
    But it will not install on 64 bit machines. 
    Is there a hotfix for 64 bit?  If not, what is the work around?
    Thanks!
    Robert

    Select "Show hotfixes for all platforms and languages", then download x64 hotfix:
    Please take a moment to Vote as Helpful and/or Mark as Answer where applicable. Thanks.

  • Want to get sum/avg first 90% records  in each grouped record set.

    Hi Gurus,
    Need your help or example query which help me to achieve sum/avg first 90% records in each grouped record set. Let me show you the basic query and output and proposed output.
    select Pid, Sum(SalesAmt) TotalSaleAmt, Avg(SalesAmt) AvgSaleAmt, count(*) NoOfSales from ProductSales group by Pid;
    PID TotalSaleAmt AvgSaleAmt NoOfSales
    1 12000 100 120
    2 24000 50 480
    Now I need for PID =1 TotalSaleAmt of first 90% of NoOfSale i.e.120(this is basically nuber of rows found in PrdocutSales Table).
    I hope I am clear enough explain my requirement... I would appreciate if we have some Analytical function available..
    Gurus Pls help me asap..
    Thanks In adavance...
    Srichan.

    Now I need for PID =1 TotalSaleAmt of first 90% of NoOfSale i.e.120(this is basically nuber of rows found in PrdocutSales Table).
    first 90% should mean first 90% by some order, so in this case, which 108 rows (of the 120) do you want to take into consideration?
    with
    the_sample as
    (select 1 the_pid,10 the_sale,1 the_order from dual union all
    select 1 the_pid,20 the_sale,2 the_order from dual union all
    select 1 the_pid,15 the_sale,3 the_order from dual union all
    select 1 the_pid,12 the_sale,4 the_order from dual union all
    select 1 the_pid,12 the_sale,5 the_order from dual union all
    select 1 the_pid,13 the_sale,6 the_order from dual union all
    select 1 the_pid,19 the_sale,7 the_order from dual union all
    select 1 the_pid,11 the_sale,8 the_order from dual union all
    select 1 the_pid,15 the_sale,9 the_order from dual union all
    select 1 the_pid,12 the_sale,10 the_order from dual union all
    select 2 the_pid,25 the_sale,1 the_order from dual union all
    select 2 the_pid,22 the_sale,2 the_order from dual union all
    select 2 the_pid,22 the_sale,3 the_order from dual union all
    select 2 the_pid,23 the_sale,4 the_order from dual union all
    select 2 the_pid,29 the_sale,5 the_order from dual union all
    select 2 the_pid,21 the_sale,6 the_order from dual union all
    select 2 the_pid,25 the_sale,7 the_order from dual union all
    select 2 the_pid,22 the_sale,8 the_order from dual
    select the_pid,the_sum,the_avg
      from (select the_pid,
                   sum(the_sale) over (partition by the_pid order by the_order) the_sum,
                   round(avg(the_sale) over (partition by the_pid order by the_order),2) the_avg,
                   the_order,
                   floor((0.9 * max(the_order) over (partition by the_pid))) to_pick
              from the_sample
    where the_order = to_pickRegards
    Etbin

  • Hunt group type Set up with outside ext numbers ie Cell phones

    Using CUCM 9.1
    Is there a quick and easy way to create a hunt group type set up using outside (cell phone numbers)?
    The scenario will be one (person who will be ON Call) using an internal DID that is forwarded to to a cell phone of the oncall person that particular week.  If no answer it would forward to the next line group of 4 members and also try their cell phones.  After this it would simply repeat the entire process.  So far it looks like a solution may be possible with single line reach perhaps?
    Any insight would be grealy appreciated.
    Dave

    Hello,
    I set up something like this on CUCM 8.0 a couple of years ago.
    I used the Mobile Connect feature as you suggest and it worked ok after some playing about with the timers.
    The main problem was that there was no way for the remote users to log out of the hunt group. They could disable Mobile Connect using the IVR but the calls would still ring on their deskphones - if you log out of the phones (i.e. Extension Mobility) before leaving the office this problem should not occur.
    The other issue was how long calls took to connect especially if a couple of people in the group did not answer. We actually recorded a message asking callers to be patient that was played when the call was first received (we were using UCCX to do the IVR and call transfer).
    Hope this is of use.

  • Setting the blank f5 and f6 keys for just the bluetooth keyboard?

    Hello,
    I just got the apple bluetooth wireless keyboard for my mac book pro. I use it for when my computer is linked to my tv.
    I am wondering, how do I set the blank f5 and f6 keys to something? My mbp model is older so all the function keys are layed out differently (the audio levels are f4 and f5 instead of f11 and f12)
    I want to keep my laptop function keys exactly how they are. Its just the f5 and f6 on the bluetooth I want to change. I cant seem to figure out how to do it in the preferences. Also, it looks like theres no way to choose just the wireless for this situation?
    Please help!
    Thanks
    - Mike

    Hello Mike:
    I am wondering, how do I set the blank f5 and f6 keys to something? My mbp model is older so all the function keys are layed out differently (the audio levels are f4 and f5 instead of f11 and f12)
    I believe you would have to write a routine to have those keys recognized for specific purposes. I do not do that, so I cannot give any guidance.
    Barry

  • Password set to blank

    I just got our iMac back from the Apple store after having the Seagate hard drive swapped out. I restored from an external hard drive. However, when I try to log in, I get a message "Password set to blank by AppleCare". No old passwords work. What does this mean?

    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
            the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Group messaging setting not there!

    I bought a iphone 3gs a month ago and i want to sent a group text but it turns it into a mms group message. I've heard from people i need to turn off group messaging but when i go under settings>messages> there is no group messaging setting there. please help! thank you!!

    That option is available only when AT&T is your mobile carrier.

  • Ff4 tab group/panorama thumbnails are blank and I can't get to my tab sets!

    I have four app tabs and then five sets of tabs. I opened FF with these groups. When I click the tab group icon, it brings up my groups. Each page in each group is blank. Until I click on it, there is no label. When I click, a white box comes up then contracts, back in to place. When it's back in place, the page title is listed, but the 'preview' is missing.
    In no case can I get to a page that's not in the primary group.
    I switched to FF4 so I wouldn't use my tabs, yet here I am losing tabs again.
    Help

    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?
    If the problem is gone;
    Type '''about:addons'''<enter> in the address bar to open your Add-ons Manager.
    Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
    In the Add-ons Manager, on the left, select '''Extensions.'''
    Disable a few add-ons, then '''Restart Firefox.'''
    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    If the problem continues, disable some more (restarting FF). Continue until
    the problem is gone. After, you know what group is causing the issue.
    Re-enable the last group '''ONE AT A TIME''' (restarting FF) until the problem returns.
    Once you think you found the problem, disable that and re-enable all the
    others, then restart again. Let us know who the suspect is detective

  • Question on a specific Group Policy setting for SCCM Updates

    Hello,
    This may not exactly be the correct forum for this question but in looking around I didn't come up with an immediate answer and was hoping someone else had this issue.
    I have a WSUS server and am moving over to SCCM for updates. I've actually had success in getting 2 sets of patches installed after some very frustrating days thanks to people here.
    I've noticed that when I switch workstations to my AD folder that has the SCCM Updates GPO instead of our standard WSUS GPO that we get action center errors "Set up Windows Update", "Windows Update is not set up". When we click
    the flag it tells us to "Choose an Update Option".
    In my new GPO I  do have Configure Automatic Updates Enabled for "Auto Download and notify for install" but we still get this warning. Is there a differnet setting that controls this action that anyone is aware of in their experience? I looked
    through the other settings but didn't se anything obvious.
    Thanks for any help!

    Hi Dustin,
    I'd read a number of different things trying to solve the problem. That article looked a little familiar but I re-read it carefully.
    I do have "specify intranet Microsoft Update service location" set to Not Configured as someone had correctly pointed me to that as the reason I was not getting updates.
    I did not have "Allow signed updates from an Intranet Micorsoft update server" enabled so that shoudl help some.
    "Configure Automatic Updates" was enabled because I, incorectly, thoguth that's all that might be needed since Ihad to make sure I'd Not Configured the first setting.
    I had "Turn on Recommended Updates" Enabled so I put it back to not configured.
    I understand that turning things to Not Configured doesn't necessarily change any previous group policy settings so I may be getting some fallout from having a WSUS server on these systems before. I'd just like to aviod having to have everyone go into the
    action center and manually click to configure updates.
    I'll see if my one setting change has any effect.
    UPDATE: I forced a gpupdate and the red flag in the action center has not disappeared.

Maybe you are looking for

  • Is it possible to Uninstall the latest ipod update?

    I, like others on this board, made the mistake of trusting Apple to produce software that does no harm. Windows XP has a facility where you can go back to a restore point. Does anyone know of a Unix command that will do something similar? I was using

  • Elements 12 crashing when trying to play a slideshow.

    I just upgraded from Photoshop Elements 9 to PSE 12. (Oddly PSE remains installed which was unexpected. Most apps that I upgrade replace their previous version). When I try to use the slideshow feature, usually while displaying the first photo, the p

  • What is sap note. where it will be used.

    what is sap note. where it will be used. what are the advantages. when it will be used

  • Mac OS X 10.8 can't install Solutions Software

    I can't get the Solutions CD to install/update the Canon software on my Macbook Pro.  Running 10.8.3 I have DPP 3.11 installed.  Also tried downloading updaters from Canon web, but these don't work either.  Turned off 10.8 Gatekeeper security. Still

  • E-mail out of Workflow from UWL over federated portals

    Hello all, We want to create an e-mail, containing a link to the portal. Is there a possible way for constructing the hyperlink since we are using the federated portal approach? (means this E-mail coming from the workflow of the producer Portal and s