Items not subject to VAT
I see BT have increased the net line rental for residential customers. As an employer paying their employees bills I noticed that there was line rental charges not subject to VAT on the October bills and when I queried this I was told that BT are only allowed to charge VAT on their lowest line rental cost which is the line rental saver of £11.75/month. Therefore the £3.70 difference between that and basic line rental is not subject to VAT. Because these are VAT inclusive figures this effectively means an increase in net line rental cost. Sneaky
http://www.thexlab.com/faqs/trash.html
Similar Messages
-
BBP: Items not taken into BBP after VAT change
Hello,
I am new in FI-CA and I am facing one issue.
1. We changed VAT from 01.01.2011 by creating new VAT code
2. We are using BBP procedure 2 - with 11 due dates
3. In the amount of the BBP were taken only the items from the old VAT code.
The posting items with new VAT code from the billing document were not taken into budget billing plan.
Any advice where to look to find out problem?
Thanks in advance.
Vladohello Amlan,
We have tested these steps
1. The dunning procedure releases as an activity the documents that reach a certain dunning level.
2. The items are submitted to the collection agency using FP03D
3. The users manually recall some of these documents
5. Execute FPCI and like this the recall is included in the file.
If we do the previous everything works fine,but I believe the standard SAP is missing something for cancel release cases, because an inconsisty is being created between SAP and the collection agency. If you are reseting something a notice for the collection agencies would have to be created.
On top of that we cannot exclude recalled items (09) in the selection of FP03D (or FP03DM), because we also have systematic recalls that are done according to the longevity of the documents and according to that longevity placed in different collection agencies.
Do you think this can be reported to SAP as an error? The system in any case should prevent you to do the cancel release if the record is not still in any update file (table dfkkcoli_log) to prevent the inconsistency. Just like the system does not allow you to do the cancel release if the item has not been recall first.
Regards,
Sergio -
Error "Material not subject to inventory management in Plant " on the STO
I want to create a Stock tansport order ( plant to plant transfer) with stock & non-stock item and non stock item is giving an error "Material not subject to inventory management in Plant". Please tell me how to clear this error. Plant / SLOC view is already maintained and no qty/value update selected on the material type because of non stock item. Please tell me how to overcome this error on the STO
Hello,
As you said you want to move nonstock item through STO.
It seems that in your case say for example your plant 1000 has material ABC which is maintained as stock item.
Now you have another plant 2000, whaich has same material ABC which is maintained as non-stock item (generally used in third party sales or cross docking).
If your material ABC is nonstock in plant 2000 where no stocks are mainatined, then how can you move the stock to plant 1000 where it is stock item.
Could you please confirmthat can you see the stock in MMBE for plant where that material is maintained as non stock item.
If so, then you have chnage the plant specific material status for that plant from non stock item to stock item.
This is maintained in material master in purchasing view.
The other way out is you have to third party sales with ship to party as the plant where that item is maintained as stock item.
In this case flow is
Sales order>>Purchase requistion>>Purchase order>>(Vendor supplies material directly to customer (which is you plant where that item is stock item))
Br,
Tushar
Instead you can acheive -
Purchase Order not subject to release strategy
Good day everyone!
I've created one release strategy for all my purchasing documents. The characteristic is net value, and the value of this characteristic is >=0.00. Meaning, ALL purchase orders are subject to release strategy.
After I did the release strategy in SPRO, I created a few PO and when I tried to release them, I got this message: "Purchasing document 45xxxxxxxx not subject to release strategy".
My question is: How to assign purchasing document to release strategy?
Please help. Thank you in advance.
Anisahhi
yes you have to use table CEKKO for PO release strategy , now , in PO you can't create without clasification so it will be applicabe for whole PO not for line items ,
now below i am giving u one by one steps , follow and let me know .
The release code is a two-character ID allowing a person to release (clear, or approve) a requisition or an external purchasing document. The release codes is basically controlled via a system of authorizations (authorization object M_EINK_FRG).
Use SE12, structure CEKKO to check all the fields available for controlling the Purchase Order.
e.g. If the total value for the Purchase Order exceeds 10,000, release strategy 01 is assigned to the Purchase Order. There is only one characteristic created in this example. For controlling the Purchase Order type, create characteristic for CEKKO-BSTYP and the value NB.
CT04 - Create Characteristic e.g. NETVALUE
Click Additional data Table name CEKKO Field name GNETW and press enter
(for currency dependent field, you are prompt to enter the currency which the system then converts the currency of the Purchasing document into this currency)
In the Basic data (X refers to tick),
X Mutliple values
X Interval values
In the Value data, in the Char. value column, type >10000 and press enter
Save your data
CL02 - Class
Class - Create REL_PUR
Class type - 032
Click Create
Description - Release Procedure for Purchase Order
In the Same Classification section, click Check with error
In the Char. (characteristic) tab, type NETVALUE to assign your characteristics to the class
OMGS - Define Release Procedure for Purchase Order Type
Release Group - New entries
Rel.group Rel. Object Class Description
02 REL_PUR Rel. Strategy for PO
Release codes - New entries
Grp Code
02 01
Release indicators
Release indicators Release Description
0 Blocked
1 X Release
Release Strategy
Release group 02
Rel.strategy 01
Release codes 01
Release status 0
1
Classification Choose your check values
OMGSCK - Check Release Strategies
(make sure there are no error messages)
Once the Purchase Order is not release, buyers will not be able to print the Purchase Order.
Goods Receipts will be shown with Message no. ME 390 - Purchasing document XXXXXXX not yet released.
In 4.6c, Purchase Order with Release Strategy have a tabs at the end of the Header. This allowed the buyers to check the release status of the Purchase Order.
The person with the release authorization have to use ME28 to release the Purchase Order.
regards
ravikant dewangan -
Account not subject to reconciliation
Hi SAP,
Well, in our financal accounting, we have declared an account as not subject to reconciliation (open items management in the master data is not filled). and we have open items on it. now our fiancial responsibles want to modify the account to subject to reconciliation. can we do this?
is it possible? if it is, how can we do this? if not, there is any alternative to do this
Best regards,
Hanane Raissi
Moderator: Please, search SDNHi Raissi,
It is not a good idea to make a GL as Reconciliation Account to which postings already exists, because a Reconciliation Account has Sub Ledger postings attached to it and it has to reconcile.
What you can do is:
1) Deactivate Open Item Management.. For this you may follow the link given by another Expert here, or if you are on SAP ECC 6.0, refer to SAP Note 606977 - G/L accts: Change open item management despite of postings.
2) Make the Account Balance Zero.
3) Make the GL Account a Recon Account, remember when it is marked as a Recon Account, Open item tick will not be allowed by the system
Regards,
SAPFICO -
Purchasing document not subject to release strategy
Hi
I created Scheduling Agreement using BAPI ' BAPI_SAG_CREATE ' . Document number created successfully but when go to release release strategy in
ME33L then it gives information 'Purchasing document not subject to release strategy ' . How i resolve this issue using BAPI .
Regards,
SuvakantYes it is created by using same input for ME31L .
report zsa_creation_test.
data: poheader type bapimeoutheader,
poheaderx type bapimeoutheaderx,
poitem type bapimeoutitem occurs 0 with header line,
poitemx type bapimeoutitemx occurs 0 with header line,
i_bapireturn type bapiret2 occurs 0 with header line.
data : i_bapireturn1 type bapiret2 occurs 0 with header line .
data: l_ebeln type ebeln.
poheader-comp_code = 'ABC'.
poheader-doc_type = 'ZPA2'.
poheader-creat_date = '20140507'.
poheader-created_by = 'ABAP'.
poheader-ITEM_INTVL = '00010' .
poheader-vendor = '0000100176'.
poheader-purch_org = 'AB01'.
poheader-pur_group = 'RR1'.
poheader-currency = 'INR'.
poheader-doc_date = '20140520'.
poheader-vper_start = '20140520'.
poheader-vper_end = '20200507'.
poheader-incoterms1 = '1'.
poheader-pmnttrms = 'YP04'.
poheaderx-comp_code = 'X'.
poheaderx-doc_type = 'X'.
poheaderx-creat_date = 'X'.
poheaderx-created_by = 'X'.
poheaderx-ITEM_INTVL = 'X' .
poheaderx-vendor = 'X'.
poheaderx-purch_org = 'X'.
poheaderx-pur_group = 'X'.
poheaderx-currency = 'X'.
poheaderx-doc_date = 'X'.
poheaderx-vper_start = 'X'.
poheaderx-vper_end = 'X'.
poheaderx-pmnttrms = 'X'.
poitem-item_no = '00010' .
poitem-material = 'RT010006'.
poitem-plant = 'PL02'.
poitem-stge_loc = 'ST01'.
poitem-trackingno = 'F'.
poitem-rel_create_profile = 'ZAB1'.
poitem-jit_relvt = '1'.
poitem-target_qty = '10.000'.
poitem-po_unit = 'EA'.
poitem-orderpr_un = 'EA'.
poitem-conv_num1 = '1'.
poitem-conv_den1 = '1'.
poitem-net_price = '10.000000000'.
poitem-price_unit = '1'.
poitem-tax_code = '00'.
poitem-info_upd = 'C'.
poitem-item_cat = '0'.
poitem-acctasscat = '' .
poitem-apo_planning = '1'.
append poitem .
poitemx-item_no = '00010'.
poitemx-item_nox = 'X'.
poitemx-material = 'X'.
poitemx-plant = 'X'.
poitemx-stge_loc = 'X'.
poitemx-trackingno = 'X'.
poitemx-rel_create_profile = 'X'.
poitemx-jit_relvt = 'X'.
poitemx-target_qty = 'X'.
poitemx-po_unit = 'X'.
poitemx-orderpr_un = 'X'.
poitemx-conv_num1 = 'X'.
poitemx-conv_den1 = 'X'.
poitemx-net_price = 'X'.
poitemx-price_unit = 'X'.
poitemx-tax_code = 'X'.
poitemx-info_upd = 'X'.
poitemx-item_cat = 'X'.
poitemx-acctasscat = 'X'.
poitemx-apo_planning = 'X'.
append poitemx.
call function 'BAPI_SAG_CREATE'
exporting
header = poheader
headerx = poheaderx
importing
purchasingdocument = l_ebeln
* EXP_HEADER =
tables
return = i_bapireturn
item = poitem
itemx = poitemx.
call function 'BAPI_TRANSACTION_COMMIT' . -
I am based in the UK and have just got a new iphone 6, everything works well except when i try to turn on the itunes store app - i can do a search and buy music etc that way, within the app, however, if i go to Music, Movies or the TV shows section within the Store app, i get a message come up saying "Item Not Available" - This item you've requested is not currently available in the UK Store, but it is available in the US store. Tap Change Store to view this item". I therefore cannot browse the music, movies or tv shows sections at all, nothing shows up except that message. All my previous itunes purchases have downloaded ok, and i can access them. My apple ID works fine and restrictions on the iphone are turned OFF. The App Store app works normally. Connection etc is all fine and I can access itunes in the normal way on my ipad and laptop, so this is just an iphone problem. Any ideas? is this a bug? I cant find anyone else with exactly the same problem. By the way, the same message comes up when i click on the red Music icon, on the iphone (situated next to the Safari icon) and then go to the "Store" via that app. my playlists are in tact, but as soon as i click that Store button, I am told that the Item is unavailable - not that i have chosen any Item lol, I just want to access the store in the normal way. Thank you in advance for any suggestions you can give
It is working now. I no longer get the message about the item not being available in the US and I can access the store.
-
On i-pad, when I try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no to my request and, "item not available in the U.S. store." My Mac will not use update iTunes to any later version than the one I have because my os is also out of date, but when I try to update that i cant, so what do I have to do? Please don't tell me I have to buy a new Mac to be up to date.
On the iOS device you must be logged into the store with the exact same Apple ID you used to originally purchase the service. Go to Setting > iTunes & App Stores and if necessary sign out/in and then enable iTM.
-
Windows 7 error: Location is not available or Item not found
I'm using windows 7 ultimate. I have a directory on a 1TB external usb drive called "1976 T.N.T". I am neither able to access this directory nor am I able to delete it. When I double click to access it windows says -
Message Title: "Location is not available"
Message Text: J:\Music\Library\Rock-Metal\ACDC\1976 T.N.T refers to a location that is unavailable. It could be on a hard drive on this computer.or on a network. Check to make sure that the disk is properly inserted, or that you are connected to the Internet
or your network and then try again. If it still cannot be located the information might have been moved to a different location.
When I try to delete it windows says -
Message Title: Item Not Found
Message Text: Could not find this item.
This item is no longer located in J:\Music\Library\Rock-Metal\ACDC. Verify the item's location and try again.
I have tried the following -
1. Deleting file using command prompt but that doesn't work
2. Check disk with both options "File system errors" and "Bad sector recovery" selected - it does not report any errors and the problem persists
3. Rebooting the computer
4. Disconnecting the drive and connecting it to my xp pro laptop (messages on xp are slightly different but to the same effect)
Any suggestions short of formatting the drive will be appreciated.The cause of this is as follows:
The directories in question were created or last modified by a process other than Windows Explorer. This process created a directory name with a space at the end. When you created a duplicate directory, the exact directory name you created was therefore
not exactly the same; it had no space on the end. That is why both directories with the apparent same name could coexist.
Note: if you attempt to create a directory from within Windows Explorer with a space on the end, the process explorer.exe is designed to prevent this from happening. That's why it's never usually an issue.
To reproduce this problem, you could do the following:
1) Create C:\foo
2) Create C:\bar
3) Use Robocopy to create the erroneous directory using the following command:
robocopy "C:\foo" C:\bar" /E
Notice that I missed the first double-quote on the target location. Robocopy should have responded with an error, but due to the way it interpreted my input, it didn't.
Now you will see a directory called C:\foo\bar
Except this directory is actually: "bar " - the word "bar" with a space on the end.
Now try deleting C:\foo altogether. It won't because there is a directory underneath it that has an invalid name.
Now try entering C:\foo, and creating a second directory called "bar". This will work, and there will appear to be two directories named "bar".
But this time you can go up a level and delete "C:\foo".
Put it down to a bug in Windows, a bug in Robocopy, whatever you like! That's the reason though... -
Dear All,
I have facing one issue at the time posting in MIRO.
I post one of migo doc in date 03/01/2010 , the entry is:( with same material )
Post key description amt curr.( USD)
89 Stk.RM -IMP 32100.00
96 PL.VND.RM.IMP GR/IR 32100.00
40 Purchase RM-IMP 32100.00
50 Purchase offset. 32100.00
And Miro Posting on date 23/03/2010
Post key description amt curr.( USD)
31 xyz Vendor 32100.00
86 PL.VND.RM.IMP GR/IR 32100.oo
89 Stk.RM -IMP -
40 Purchase RM-IMP -
50 Purchase offset. -
But when I post for another po in migo on date 03/01/2010
Post key description amt curr.( USD)
89 Stk.RM -IMP 76800.00
96 PL.VND.RM.IMP GR/IR 76800.00
40 Purchase RM-IMP 76800.00
50 Purchase offset. 76800.00
and miro posting on date 19/02/2010
Post key description amt curr.( USD)
32 yz Vendor 76800.00
86 PL.VND.RM.IMP GR/IR 76800.00
89 Stk.RM -IMP Line item not generated
40 Purchase RM-IMP Line item not generated
50 Purchase offset. Line item not generated
Can any one tell why line item not generated for miro posting .
Regards
MilindHi,
The extra line items will be generated when there are any exchange rate diffrences are there then only shows.
Other wise it wont show those extra line items
Please check group currency , global currency etc. for your extra line items -
Line item not relevant for payment release
Dear Expert,
When I select payment block : 'Payment Request' in FB60. Error Message appear "Line item not relevant for payment release".
I also have set payment block in master vendor and OBB8.
Can you tell me why the error message still appear?
Kindly need your help
Thanks and Regards,
YLDo you have any workflow variant in place?
Moreover, when you have already set the Payment block at Master level, you need not to fix it in transaction level.
Vendor itself will not get paid until unless you remove the block option
Thanks -
FI Archiving - System error: Customer/vendor line item not on OI basis
While archiving FI Documetns using object FI_Documnt, I am getting message System error: Customer/vendor line item not on OI basis for few non archivable documents. Is it like these also open items and can not be able to archive them. Or what is the root cause of these error message.
Regards,
ShaileshHi Adisha,
This error pertains to the accounting fundamentals and SAP does not have anything to do with this....you ask yourself that if you were not using SAP and simlar problem came your way what would you have done...this has no solution...
Either you wait for the next invoice with big amount but which seems bit impractical..
In this we really need to consult the Accounting Standards to see what it could allow.
Regards,
Chintan Joshi -
SRM 7.0 - Unconfirmed PO limit items not showing up when creating Invoice
Hi Guys,
For PO standard items, when creating an invoice and is unconfirmed, these items still show up in the invoice screen and the invoice gets created with the status 'Waiting for preceding document'. For unconfirmed limit items, these items do not show up at all in the creation of the invoice and displays an error. My question is how will I make the unconfirmed limit items scenario work just like the standard items scenario whereby instead of the unconfirmed limit items not showing up and generating an error, they will show up and have the invoice created with the status 'Waiting for preceding document'?
Thanks in advance!Is this thread still valid? If not, please close the thread.
If so, as no response has been submitted, please rephrase your question and/or provide further information to describe your requirement.
Thanks
Jason
SDN SRM Moderator Team -
Items not appearing on desktop
I am having problems with items not showing up on the desktop.
The main problem I am having is that I have a Moto Q Cell phone, which I use Missing Sync software with. It was mounting on the desktop and then stopped. Everything else works with it on my Mac. To make a long story short, I have written the company, they have looked at the logs and everything appears fine. So I am at a loss.
Then I started thinking about how I will download a program or file to the desktop and it does not appear. However, if I do a search, it shows it is there. The only way it will appear is for me, is to search for the file, then drag it onto the desktop from the search results.
So, my thought is it isn't the phone or the software, but a bug in the OS. Thinking back to pre OS X days, I used to rebuild the desktop. Is this still something that is available in OS X? It has been so long since I had to do that, I have forgotten how.
Any other ideas on what I might do to make sure things are appearing correctly on the desktop?
Thanks in advance.
RandyAdrian Clarke1 wrote:
Hi Randy, This sounds like two separate issues. For the cell phone to mount check in Finder preferences under the General Tab and select the items that you want to appear. Presumably the cell phone would be seen as a disk(?)
It should be seen as a disk, you are correct. However all three items are checked in the Finder preferences. I already checked that.
For downloaded files, that is a browser specific thing. If using Safari, open Safari Preferences, select the General Tab and against "Save Downloaded Files to..." choose Desktop. For other browsers there will be a similar setting in its Preferences.
Good luck,
Adrian
That isn't the problem. They ARE already set download to the desktop and are doing so. They are just not always appearing on the desktop as they should when downloaded. In other words. I should see them there after I have downloaded. But as I stated in my earlier post, the only way I can make them visible on my desktop is by searching for them, and dragging the found file (which IS LISTED as being on the desktop) onto my desktop again and then it appears.
Good try, but neither of these were solutions.
Message was edited by: Randy Traylor
Message was edited by: RT -
How to pass text to Material Sales text, item note, while creating a sales
hi ,
i tried my level best with the help of friends (SDN).
but i am unable to reach the target.
my requirement is to enter text into
1) material sales text
2) item note
3) packing note
4) delivery text
5) purchase order text
6) production memo
in sales order using bapi. here i am submitting the code i wrote.
kindly some one help me.
thanks in advance
regards,
pavan
<i>report zmybapi1 .
data : my_order_header_in like bapisdhd1 occurs 0 with header line,
my_order_header_ix like bapisdhd1x occurs 0 with header line.
data : my_orderitemsin like bapisditm occurs 0 with header line,
my_orderitemsix like bapisditmx occurs 0 with header line.
data : my_order_partners like bapiparnr occurs 0 with header line.
data : my_return like bapiret2 occurs 0 with header line.
data : w_vbeln like bapivbeln-vbeln.
data:
my_orderschedulesin like bapischdl occurs 0 with header line,
my_orderschedulesinx like bapischdlx occurs 0 with header line.
data : my_orderconditionsin like bapicond occurs 0 with header line,
my_orderconditionsinx like bapicondx occurs 0 with header line.
<b>data : my_ordertext like bapisdtext occurs 0 with header line.</b>
start-of-selection.
this is to assign values to internal table my_order_header_in
my_order_header_in-doc_type = 'TA'.
my_order_header_in-sales_org = 'JNJ1'.
my_order_header_in-distr_chan = '02'.
my_order_header_in-division = 'J1'.
my_order_header_in-sales_off = 'JNJ1'.
my_order_header_in-purch_no_c = 'testbapipo'.
my_order_header_in-purch_date = sy-datum.
my_order_header_in-req_date_h = sy-datum.
append my_order_header_in.
this is to assign values to internal table my_orderitemsin
my_orderitemsin-material = '000000000000000727'.
my_orderitemsin-plant = 'JNJ1'.
my_orderitemsin-target_qu = 'EA'.
my_orderitemsin-target_qty = '10'.
append my_orderitemsin.
this is to assign values to internal table my_order_partners
my_order_partners-partn_role = 'AG'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
my_order_partners-partn_role = 'WE'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
This is to assign values to internal table my_orderschedulesin
my_orderschedulesin-itm_number = '10'.
my_orderschedulesin-itm_number = '000010'.
my_orderschedulesin-req_qty = '10'.
my_orderschedulesin-SCHED_LINE = '0001'.
append my_orderschedulesin.
*This is to assign values to internal table my_orderconditionin
my_orderconditionsin-itm_number = '000010'.
my_orderconditionsin-cond_type = 'ZPR1'.
my_orderconditionsin-cond_st_no = ''.
my_orderconditionsin-cond_count = '1'.
my_orderconditionsin-cond_value = '40'.
my_orderconditionsin-cond_p_unt = '1'.
my_orderconditionsin-currency = 'INR'.
append my_orderconditionsin.
<b> my_ordertext-itm_number = '00010'.
my_ordertext-text_id = '0002'.
my_ordertext-langu = 'EN'.
my_ordertext-langu_iso = 'EN'.
my_ordertext-text_line = 'This is for item note'.
my_ordertext-format_col = '*'.
my_ordertext-function = '009'.
*</b> <b>append my_ordertext.</b>
my_order_header_ix-updateflag = 'I'.
my_order_header_ix-doc_type = 'X'.
my_order_header_ix-sales_org = 'X'.
my_order_header_ix-distr_chan = 'X'.
my_order_header_ix-division = 'X'.
my_order_header_ix-sales_off = 'X'.
my_order_header_ix-purch_no_c = 'X'.
my_order_header_ix-purch_date = 'X'.
my_order_header_ix-req_date_h = 'X'.
append my_order_header_ix.
my_orderitemsix-updateflag = 'I'.
my_orderitemsix-material = 'X'.
my_orderitemsix-target_qty = 'X'.
my_orderitemsix-plant = 'X'.
my_orderitemsix-target_qu = 'X'.
append my_orderitemsix.
my_orderschedulesinx-updateflag = 'I'.
my_orderschedulesinx-sched_line = '0001'.
my_orderschedulesinx-req_qty = 'X'.
append my_orderschedulesinx.
my_orderconditionsinx-itm_number = '000010'.
my_orderconditionsinx-cond_type = 'ZPR1'.
my_orderconditionsinx-cond_st_no = 'X'.
my_orderconditionsinx-cond_count = 'X'.
my_orderconditionsinx-updateflag = 'U'.
my_orderconditionsinx-cond_value = 'X'.
my_orderconditionsinx-cond_p_unt = 'X'.
my_orderconditionsinx-currency = 'X'.
append my_orderconditionsinx.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
SALESDOCUMENTIN =
order_header_in = my_order_header_in
order_header_inx = my_order_header_ix
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
importing
salesdocument = w_vbeln
tables
return = my_return
order_items_in = my_orderitemsin
order_items_inx = my_orderitemsix
order_partners = my_order_partners
ORDER_SCHEDULES_IN = my_orderschedulesin
order_schedules_inx = my_orderschedulesinx
ORDER_CONDITIONS_IN = my_orderconditionsin
ORDER_CONDITIONS_INX = my_orderconditionsinx
ORDER_CFGS_REF =
<b>ORDER_TEXT = my_ordertext</b>
if sy-subrc ne 0.
write: my_return-message, my_return-number, my_return-type.
else.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
write: my_return-message, my_return-number, my_return-type.</i>hi prashant,
i tried the save_text but , i am unable find the exact value which i have to enter for the field tdobject.
this is updated program as per u r instruction.
<b>Text object not found</b>
the code now is
<b>report zmybapi1 .
data : my_order_header_in like bapisdhd1 occurs 0 with header line,
my_order_header_ix like bapisdhd1x occurs 0 with header line.
data : my_orderitemsin like bapisditm occurs 0 with header line,
my_orderitemsix like bapisditmx occurs 0 with header line.
data : my_order_partners like bapiparnr occurs 0 with header line.
data : my_return like bapiret2 occurs 0 with header line.
data : w_vbeln like bapivbeln-vbeln.
data:
my_orderschedulesin like bapischdl occurs 0 with header line,
my_orderschedulesinx like bapischdlx occurs 0 with header line.
data : my_orderconditionsin like bapicond occurs 0 with header line,
my_orderconditionsinx like bapicondx occurs 0 with header line.
data : my_ordertext like bapisdtext occurs 0 with header line.
data : my_header like thead occurs 0 with header line.
data : my_tline like tline occurs 0 with header line.
start-of-selection.
this is to assign values to internal table my_order_header_in
my_order_header_in-doc_type = 'TA'.
my_order_header_in-sales_org = 'JNJ1'.
my_order_header_in-distr_chan = '02'.
my_order_header_in-division = 'J1'.
my_order_header_in-sales_off = 'JNJ1'.
my_order_header_in-purch_no_c = 'testbapipo'.
my_order_header_in-purch_date = sy-datum.
my_order_header_in-req_date_h = sy-datum.
append my_order_header_in.
this is to assign values to internal table my_orderitemsin
my_orderitemsin-material = '000000000000000727'.
my_orderitemsin-plant = 'JNJ1'.
my_orderitemsin-target_qu = 'EA'.
my_orderitemsin-target_qty = '10'.
append my_orderitemsin.
this is to assign values to internal table my_order_partners
my_order_partners-partn_role = 'AG'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
my_order_partners-partn_role = 'WE'.
my_order_partners-partn_numb = '0000000011'.
append my_order_partners.
This is to assign values to internal table my_orderschedulesin
my_orderschedulesin-itm_number = '10'.
my_orderschedulesin-itm_number = '000010'.
my_orderschedulesin-req_qty = '10'.
my_orderschedulesin-SCHED_LINE = '0001'.
append my_orderschedulesin.
*This is to assign values to internal table my_orderconditionin
my_orderconditionsin-itm_number = '000010'.
my_orderconditionsin-cond_type = 'ZPR1'.
my_orderconditionsin-cond_st_no = ''.
my_orderconditionsin-cond_count = '1'.
my_orderconditionsin-cond_value = '40'.
my_orderconditionsin-cond_p_unt = '1'.
my_orderconditionsin-currency = 'INR'.
append my_orderconditionsin.
my_ordertext-doc_number = '0000008632'.
my_ordertext-itm_number = '00010'.
my_ordertext-text_id = '0002'.
my_ordertext-langu = 'EN'.
my_ordertext-langu_iso = 'EN'.
my_ordertext-text_line = 'This is for item note'.
my_ordertext-format_col = '*'.
my_ordertext-function = '009'.
append my_ordertext.
my_order_header_ix-updateflag = 'I'.
my_order_header_ix-doc_type = 'X'.
my_order_header_ix-sales_org = 'X'.
my_order_header_ix-distr_chan = 'X'.
my_order_header_ix-division = 'X'.
my_order_header_ix-sales_off = 'X'.
my_order_header_ix-purch_no_c = 'X'.
my_order_header_ix-purch_date = 'X'.
my_order_header_ix-req_date_h = 'X'.
append my_order_header_ix.
my_orderitemsix-updateflag = 'I'.
my_orderitemsix-material = 'X'.
my_orderitemsix-target_qty = 'X'.
my_orderitemsix-plant = 'X'.
my_orderitemsix-target_qu = 'X'.
append my_orderitemsix.
my_orderschedulesinx-updateflag = 'I'.
my_orderschedulesinx-sched_line = '0001'.
my_orderschedulesinx-req_qty = 'X'.
append my_orderschedulesinx.
my_orderconditionsinx-itm_number = '000010'.
my_orderconditionsinx-cond_type = 'ZPR1'.
my_orderconditionsinx-cond_st_no = 'X'.
my_orderconditionsinx-cond_count = 'X'.
my_orderconditionsinx-updateflag = 'U'.
my_orderconditionsinx-cond_value = 'X'.
my_orderconditionsinx-cond_p_unt = 'X'.
my_orderconditionsinx-currency = 'X'.
append my_orderconditionsinx.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
SALESDOCUMENTIN =
order_header_in = my_order_header_in
order_header_inx = my_order_header_ix
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
importing
salesdocument = w_vbeln
tables
return = my_return
order_items_in = my_orderitemsin
order_items_inx = my_orderitemsix
order_partners = my_order_partners
ORDER_SCHEDULES_IN = my_orderschedulesin
order_schedules_inx = my_orderschedulesinx
ORDER_CONDITIONS_IN = my_orderconditionsin
ORDER_CONDITIONS_INX = my_orderconditionsinx
ORDER_CFGS_REF =
ORDER_TEXT = my_ordertext
if sy-subrc ne 0.
write: my_return-message, my_return-number, my_return-type.
else.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
write: my_return-message, my_return-number, my_return-type.
my_header-tdobject = ''.
my_header-tdname = ' '.
my_header-tdid = '0002'.
my_header-tdspras = 'EN'.
append my_header.
my_tline-tdformat = '*'.
my_tline-tdline = 'This is for item note'.
append my_tline.
call function 'SAVE_TEXT'
exporting
CLIENT = SY-MANDT
header = my_header
INSERT = ' '
SAVEMODE_DIRECT = ' '
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
tables
lines = my_tline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endif.</b>
thanks in advance
regards,
pavan
Maybe you are looking for
-
How do I manage two iPods on one computer please?
I have an iPod (early 40G model, and it's fine). I installed iTunes, and all fine. A year goes by. Another member of the household gets an iPod (mini), and we load the software into a different subdirectory in Program Files. This erases my iTunes, bu
-
Transport Web Dynpro Java Application
Hi All!!! I want to know, how can we transport Web Dynpro JAVA application fron one server to another (Dev-> QA -> Prd) in NWDI and Non - NWDI Landscape. Cheers!!! Umang
-
I've been having a problem with needing to reset my older Airport Express once or twice a week, and I thought that I'd check my settlings and possibly get any updates available. I'm told when I try to use my current version of Airport Express Utilit
-
I need to know this as soon as possible. How do I allow this file to work on a PC. Thanks
-
Whats the importance of the choice of distribution?
I am using the (excellent) linuxdistribution Gentoo Linux. Now I wonder if this (and other) distribution lacks something that Redhat or SUSE has got, since those two distributions are the only ones that are beeing discussed. In other words: will the