Error : Ad Spec assigned to schedule line is not a header ad spec

Hello all,
I am trying to create a new Ad Spec and assign it to a schedule line using BAPI Change. But I get the above error message.
Let me know which all parameters to pass.
I am populating the BAPI Tables :
ITEM                                    
ITEMX   - With Update Flag
ITEM_AD
ITEM_ADX - With Update Flag
AD_SPEC_AD
AD_SPEC_ADX - With Insert Flag
SCHEDULE_LINE
SCHEDULE_LINEX - With Update Flag
SCHEDULE_LINE_AD
SCHEDULE_LINE_ADX - With Update Flag
Thanks,
Salil

Solved by my own. Just need to populate the field SUB_AD_SPEC_REFERENCE of structure AD_SPEC_AD with the new Ad Spec to created.

Similar Messages

  • CIF -DeltaReport  error 183 schedule line does not exist in R/3

    Hi Expert,
    In the delta report (/SAPAPO/CCR - CIF_DELTAREPORT), there are discrepancies that say error code 183, which is Schedule line does not exist in R/3..
    But when we look in R3, they are actually there. So we don’t want these showing as a discrep in the delta report.
    Example in ‘purchasing’, ‘confirmations’, ‘missing in R3 with external key’
    If you run DELTAREPORT for  purchasing, confirmation, unjustified error 183 are displayed despite of no inconsistency really exists.
    Please help why these dscrepancies displayed.
    we are running on SCM510.

    Hello Maddy
    Please go through below SAP notes - 
    1131469 - DELTAREPORT: unjustified error 181/183 for confirmation
    794281 - Locked purchase orders missing from R/3
    1022343 - Delta report displays too many errors (181)
    817354 - No delete event when you delete orders in APO
    Some Old SCN threads -
    CCR Error 154 - Planned Order Missing in R3 wit... | SCN
    CIF Problem -- Purchase Orders - Missing in R/3 with External Key
    This is good document on CCR error handling.
    CIF-Comparison / Reconciliation of Transaction Data
    Hope this will help.
    Thank you
    Satish Waghmare

  • Schedule lines are not getting confirmed even though stock is there

    HI,
    i want to discuiss one sensitive issues which is a simple one.
    my schedule lines is not getting confirmed even stock is there at sales order.
    there is no delivery block.
    there is no minimum stock level.
    there is no credit check for that.
    there is stock of 2 EA in that plant and storage location, but stock is not getting confirmed at sales order level or transaction level.
    even stock is there it is going to avaliability check overview screen and giving stock confirmation after 12 days.
    even i checked all the dates.............but its of no use.
    what to do ?
    after testing all the possible options i am taking help from
    please help me in this regard,
    regards,
    balajit

    Hi
    you need to check the following.....
    First check the Factory calander of your plant whethear some holidays or not
    Second most importantly you have to check which stretagy group is assigned  in the material . whethear it is make to order or make to stock. change it as make to stock.
    "What happened if material stretagy group is make to order then from sales order system generate requirement of that material against that particular stock, that time system do not consider the unrestricted stock and not confirm schedule line."
    Regards
    Shambhu Sarkar

  • While Doing F-28 error-Balancing field "Profit Center" in line 002 not fill

    Hello Sir,
    I am doing F-28 Customer Incoming Payment , i have clear three invoice against payment.
    So when i post that entry system gives me error Balancing field "Profit Center" in line 002 not filled".
    so that entry could not found profit center. (Document Splitting Activate)
    So can i assign Customer reconciliation account in T code - FAGL3KEH and assign Common Profit Center there.
    Plz guide me , if i will assign there recon account ?.
    reply soon
    Thanks
    J

    Hi James,
    According to me, you have two options, either enter the PC at the time of document entry or Go to doc.splitting & uncheck the PC mandatory field under doc. splitting characteristics for GL accounting.
    Your problem will get resolve by doing this.
    Thanks & Regards
    Anuj Agarwal

  • Schedule line should not generate until SA release

    Dear All,
    We want when we run MRP against schedule agreement then "Schedule line should not generate until SA release"
    Abhinay

    HI Abhinay Sachan ,
    Bascially when we run the MRP the system generate the Schedule Lines for that  schedule line we are doing release .....
    If you have SA for a particular materail system gives the Error or warrning message based on the setting what we made...if it is error sysetm won't allow other wise it is warrning meaasge means we can cretae the PR for the particular materail i hope i wll help you
    Regards
    Murugan J

  • Schedule lines are not getting generated during MRP Run

    Schedule lines are not getting generated during MRP Run. I have maiantained source list for the material with proper validity date and also maintained scheduling agreement . MRP relevvant Indicator , I have marked - 2 which means -Record relevant to MRP. Sched. lines generated automatically.
    Still I am not able to get schedule lines and instead of that *Purchase Requisitions* are getting generated.
    Can any one help me and suggest me what to be done in this case .
    Thanks & Regards ,
    Nirmalya

    Dear,
    Welcome to SDN,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.
    Regards,
    R.Brahmankar

  • Schedule lines should not be maintained with out release

    schedule lines should not be maintained with out release of schedule agreement......but system accepting to maintain the schedule lines.Please say how.
    regards,
    Sridhar kumar.a

    Hello,
    I have the same problem as you. Someone know something about it?
    kanyadhara, did yo solve this problem?
    Thanks a lot

  • Schedule lines are not in sink for PO

    Hello Everyone,
    We are using ECS.
    So we create PO in SRM with some schedule lines and transfer it to the ECC system.
    But sometimes the schedule lines are not in sink on both the sides because buyer update the schedule lines on SRM side.
    So we need to check that is schedule lines in SRM and Basic quantity in SRM are same or not?
    So is there any OSS note to check this?
    Regards,
    Khushbu.

    Hi,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.

  • F-32 error Balancing field "Profit Center" in line 001 not filled"

    Hi expert,
    my user is posting with transaction F-32 and has the following error:
    Balancing field "Profit Center" in line 001 not filled"
    i have the following situation after simulating:
    001 04         0000010637 SCHOTT FORMA VITRUM             377.514,60
    002 19A      0000010637 SCHOTT FORMA VITRUM            350.850,00-     26.664,60- A1
    003 50         0002110100 T/VAT CH                                                   26.664,60-                A1
    and if i make general ledger simulation i have this situation:
    line     post key  gneral led.account      amount                profit center
    1     04     1010100     T/AR trade         377.514,60                 blank
    2     19     2101100     T/Adv from cust  350.850,00-                 2002000
    3     50     2110100     T/VAT CH          26.664,60-                 2009000
    if i click on the first line i have as General Ledger Account 1010100 that has field status group with profit center optional and ther is no reference to CO object or material to find the profit center...but after my double click on the 001 line i don't find any field where insert the profit center.
    On the seconed line i have sales order that gives the profit center, so that's ok.
    I remind you that the document splitting is active on my sistem,.
    How can i do? to avoid errors

    Hi
    Classify G/L Accounts for Document Splitting is :
    1000000     1009999     04000     Cash Account
    1010000     2999999     01000     Balance Sheet Account
    3000000     3999999     06000     Material
    4000000     4999999     20000     Expense
    6000000     6999999     30000     Revenue
    7000000     7999999     40200     Exchange Rate Difference
    And in Classify Document Types for Document Splitting for doc AB i have the following :
    AB     Accounting document     0000     0001     Unspecified posting     Standard
    Splitting Method               0000000002 Splitting: Customer, Vendor, Tax, Money, Co.Code Clearing
    Business Transaction           0000       Unspecified posting
    Transaction Variant            0001       Standard
    Item category                  01100      Company Code Clearing
    Processing category            1         Splitting based on base item categories
    Base items from:
    u2022     Company code of the position to be processed
    u2022     Blank   Partner company code of the position to be processed
    u2022     Blank check tax code ( could this flag help me)?
    u2022     Blank check if cash disc related
    Base item categories:
    01000     Balance Sheet Account          
    01300     Cash Discount Clearing          
    02000     Customer               
    03000     Vendor
    04000     Cash Account
    05100     Taxes on Sales/Purchases
    05200     Withholding Tax
    06000     Material
    07000     Fixed Assets
    20000     Expense
    30000     Revenue
    40100     Cash Discount (Expense/Revenue/Loss)
    40200     Exchange Rate Difference
    All blank
    Thanks

  • Without release schedule agreement schedule lines should not be maintain

    Hi experts,
           i made a schedule agreement and i have given 2 level of releases for it.. so with out releasing i maintained schedule lines in me38, then i made migo then system says the document has not been released yet. but what my query is schedule lines should not be happened with out release means it should stop here only. So how to give check for it.i have searched in system messages but nothing is there in that. So please solve this problem its urgent.

    Hello,
    I have the same problem as you. Someone know something about it?
    kanyadhara, did yo solve this problem?
    Thanks a lot

  • Account assignment in schedule line category for third party sale

    in settings for schedule line category CS -for third party sales, in the field Account Assignment category we assign X-all auxiliary account assignment.
    what is the purpose and reason for using account assignment category in third party and at what point of time this comes into picture in third party sales process

    Hi Sudha A,
            Procureement against customer requirement will be booked against cost or expense account. So when creating PO, this account assignment category is determination factor for respective G/L accounts in MM.
    - Account assignment category will have general modification assigned. in MM account determinatoin OBYC settings-
    Valuation group code(this needs to be confirmed) + General Modification + valuation class determines G/L account.
    This is how G/L account will be displayed in PO - item level - account assignment tab.
    To see the settings in account assignment category - check the help of the field & choose customization & observe in details.
    Hope it clears,
    Regards,
    Reazuddin MD

  • Error : Balancing Field " Profit Center" in line item not filled

    Dear Friends,
    I have a specific issue, as my client while posting inventory differences in [MI07]  an error is populating as Balancing Field "Profit Center" in line item not filled.
    Please help me in solving the issue where we can assign the profit center other than in materal master as they donot maintained any profit center in material master for all materials
    Thanks inadvance
    Sri

    Hi BK , thanks for your answer
    in kch3 there are several profit center groups and how can we identify whcih profit center is assigned to whcih profit center group
    regards
    sri

  • Schedule lines are not getting generated through MRP

    Hello Experts,
    While running MRP, we observed that the system is creating PR instead of schedule lines, although all the necessary prerequistes to generate schedule lines through MRP are maintained. For e.g.
    1. MRP Schedule line relevant indicator '2' is maintained in the Source List.
    2. Sch. Agreement dates and Source List validity dates are same.etc...
    Further after some analysis, we observed that if we change the source list validity from date to some back date then system is creating correct schedule lines.
    Example: Material M1; Planned delivery time 7 days; GR processing time 5 days; MRP Type PD; Lot Size WB;
    SA validity dates - 07.09.2011 to 31.12.2011
    Source List validity dates - 07.09.2011 to 31.12.2011
    If MRP run on 12.09.2011 and source list dates are retain same as mentioned above, system creates the PR.
    If MRP run on 12.09.2011 and source list dates changes to 05.09.2011 to 31.12.2011, system creates the schedule lines.
    Could you please let us know, why the system behave like this?

    Dear,
    Welcome to SDN,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.
    Regards,
    R.Brahmankar

  • Scheduling Agreement -Schedule line should not pass the requirement to MRP

    Hi Friends!
    As we all know the scheduling agreements is outline agreement with future schedule lines, with this system will  pass the requirements to MRP for the schedule line which is even after 5 years, so my requirement is  if the schedule line date is above 15 days from the current date then requirement should not pass to MRP. 
    solution which we gave is, SA initially will determine the schedule line category as  CN (which will not transfer the requirement) and  a batch job program will run daily and it will check for each schedule line if any of the schedule is with in the 15 days from the current date then it will change the schedule line category from CN to CP. 
    Now the problem is , by using Batch Job which program I have to call to change the schedule line category?????
    1. we tried BAPI_SALESORDER_CHANGE but when we are changing the CN to CP it is not performing ATP where as if we do manually it is performing.
    2. we tried BDC but here also we facing some strange problem i.e. while recording the ATP screen is not populating where it is coming while doing manual.
    Can someone let me know which one program we should call in Batch job to do this change.
    Regards
    Nath

    Hi nath,
    i also failed in changing shedule line category in userexit and in BAPI.
    in one case, i succeded in doing it with a bdc after MV45AFZZ / userexit_save just bevore the datas are reset but after the commit-work is processed.
    the other possibility is, to change the accepted amount in userexit RV03VFZZ / USEREXIT_AVAILABILITY_OUT.
    3. possibility is, to block the order with a delivery - block , same as the credit-control-block. This block can be set in MV45AFZZ or perhaps in BAPI too.
    hans

  • Schedule lines are not coming for HALB after MRP run

    Dear All,
    I am not getting schedule line after mrp run, inspite of all required setting only purchase requisitions are coming.
    Material type is HALB and involve a subcontracting process (30). For raw material I am getting the schedule line but in the case of HALB, it is not coming.
    Pls let me know if I am missing something and guide me further on this.
    Thanks & Regards
    Kundan Kumar

    Hi,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.

Maybe you are looking for

  • 10.9.2 sleep issue won't wake up.

    When 10.9.2 on my iMac 27 mid 2011 goes to sleep naturally overnite it won't wake. I have to do a reboot with the back button. Is anyone else having this issue?

  • Continuous "The Software Protection service has completed licensing status check" messages

    I have one client machine that gets these messages about 5 separate times when launching a Office 2010 application. Event ID: 1003 The Software Protection service has completed licensing status check. From what I've seen this relates to a KMS server

  • Embedding Fonts breaks text display

    I'm on Mac OS 10.5.6 (but saw this with earlier versions too) using CS3 and/or CS4. For work we publish back to Flash 5 player (don't ask) and that is where I'm having the problem. If I put a dynamic text box on the stage. Add some text. Embed the fo

  • Missing free version of 'Winnie-the-pooh' in ibook

    I cannot find any free version of 'Winnie-the-pooh' from ibook after I upgrade the itune (now Ver.10) and iOS (now ver. 4.3.2). Can I still find a copy of the book? Your kindest advice, please!

  • HT4927 iphoto 9.2.3 crashed

    Iphoto 9.2.3 would not open. System says that it or Lion has to be updated or reinstalled. Purchased iPhoto v9.2.2 on 11/4/12 through iTunes. Have uninstalled prog. but now I can't reinstall unless I buy it again. Not prepared to buy as I only used i