Deleting and Adding components in a Sub contracting PO, for every line item
Hi,
I have requirement where in I need to change the Item category from Blank to 'L' for a given Line item, and for this Line Item I need to go to the Delivery Schedule lines and delete the existing Components and add new components to every Delivery Schedule line. This is going to be a LSMW object with a custom program.
I tried for recording ME22N, but couldn't do this as ME22N is not BDC friendly, and in ME22 the Item category field is Display only. I also tried with Function modules/BAPIs but nothing seems to be working out.
Can anybody help me get a solution to this requirement. Would appreciate a quick response as its a priority requirement for me.
Thanks in Advance,
Saleem.
Ph : +91-9845627631
1. You will definitely create two subcontracting info records for two raw materials say RAW1 and RAW2.
2. There will be two seperate production versions for these two materials.
3. Update respective production versions in respective subcontracting info-records.
4. This will help to upload the alternate BOM even you changed the material from PO
Amol
Similar Messages
-
New contract account for every line item in subscription order....
Hi Guys,
I am having a problem with the subscription order.
Whenever I change the subscription order and add a line item to it, SAP by default creates a new contract account for that line item. Whereas I want to assign the same contract account to the second line item also.
Can you suggest me any solution for this problem?
Thanks in advance...
Regards,
AbhayHello Abhay,
This is the normal and correct function for SAP. If you would like for the subscriptions to be on the same contract that you subscriber has, an enhancement has to be developed.
We had a similar requirement and an enhancement was developed per specifications.
Regards, -
Price and Pricing conditions are not copied to PO for a line item !!
Hi
I have created a PO w.r.t a PR which has only one line item.
Now, I add another line item to this existing PO, i get an error message that the Price and Pricing conditions are not copied.
How do i rectify this error !!
Where might be the link for this Price and Pricing conditions to get copied in to this PO ??
MaruthiRamWhat kind of PR and in the PO same material you enter for new line or new material and do you have any funcitonal authorization assigned o your user id
please reply -
Hi,
We have a finished product (FERT) which is assembled In-house using several items.
The same finished product is also assembled at vendor's place.
At present we are going through service PO (MB21N) since we are not able to make a sub-contract PO for a FERT item. In this scenario how shoud we set the master data (MRP2 Procurement views). Is there any way we can do this?
Please suggest, its urgent.
regards
Shivkumar Kanti.Hi
In Material Master, MRP View 2....for that FERT Product maintain Special Procurement Key: 30....
so when ever you run MRP.....automatically for that FERT product, Sub contracting PR with Item category " L" will be created....you can Convert this SC-PR in to SC-PO with Item category "L"
If you already maintained BOM for that FERT Product...the components will be automatically exploded in SC-PO, Item Details,Material Data....
These Component you can send it to SC-Vendor useing T.Code: ME2O.....by 541Movent type...
After completion of the Assembling, you can get back the FERT product from SC-Vendor in MIGO, useing 101Movement type....that time the components you have provided to vendors are automatically consumed in 543 O-- movement type....
If there is any over consumption or under consumption of your components at SC-Vendor....SAP Best practice provides you the option of Subsequent Adjustment....
Reward if useful
Regards
S.Baskaran -
I have recently purchased the iphone 5S and have two AOL email accounts set up on it. They could both receive and send mail on the first day, but from the second day only 1 can send mail (both still receive). I get an message saying "Unable to send mail. A copy has been placed in your Outbox. Sending the message content to the server failed." This has been the response now for 3 days and suddenly this morning, I was able to send an email from this account, but only the one and now it's back to that same message. I have deleted and added the account again, using various methods. I even reset my phone and set it all up again from beginning with no luck. It is very frustrating and I am unsure why I can't send from both accounts, especially being that they are the same provider. I have read forums and it appears many have this same problem and I wondered if anyone has had it recently on this phone and how they fixed it. Someone said just use the AOL app to send from this account, yes that can be done, but it's inconvenient having to sign in all the time when i have a mail app that should work automatically. Any suggestions would be welcomed!!
I am not sure if this issue is going to help you but lets give it a try.
I know that where im from, which is the Netherlands, I am not able to sent e-mails from my iPhone or any other mobile device by using 3G or a random WIFI acces point. The provider only allowes you to sent e-mails when you are connected to a network of there own. Which means if you have provider "101" and your email settings are set up for this provider in your iPhone but your using the network of a friend of yours which is provider "202" you cannot sent emails from his network. Though you can receive them you may not sent.
As I said, I am not aware if this issue is the same for you totaly depents on the country and provider your using. -
When will there be fix for AirPrint? Since upgrading to Yosemite I cannot print from my MacBook Air which I use mostly. (I can print from the my old 2005 G5 desktop and iPad2 just fine on the same network.) I could print just fine when I had Mavericks. I have tried EVERYTHING under the sun: resetting print system, deleting and adding the printer, checking for updates, uninstalling and reinstalling printer software and folders, turning off modem, router etc. NOTHING works.
The laptop shows that it is printing but nothing happens. Then it says it cannot locate the printer or there is a broken pipe. But it does tell me that I have a low level in one of the ink cartridges (which is true.)
Help! I have warned everyone I know not to upgrade. Is there a way to go back to Mavericks?
MacBook Air (mid 2012), OS 10.10, HP Officejet 7500aThis is what appeared on Console:
11/12/14 12:42:32.558 PM com.apple.preference.printfax.remoteservice[3099]: <NSViewServiceMarshal: 0x7fa398514bd0> failed to complete rights grant 6B212CA9-7872-4726-BA05-68BD5C994479 due to 3
timestamp: 12:42:32.557 Wednesday 12 November 2014
process/thread/queue: com.apple.preference.printfax.remoteservice (3099) / 0x7fff78cb4300 / com.apple.main-thread
code: line 834 of /SourceCache/ViewBridge/ViewBridge-99/NSViewServiceMarshal.m in -[NSViewServiceMarshal invalidateWindowRights]
#exceptions
11/12/14 12:42:32.598 PM com.apple.xpc.launchd[1]: (com.apple.preference.printfax.remoteservice[3099]) Service exited due to signal: Killed: 9
11/12/14 12:42:37.845 PM com.apple.appkit.xpc.openAndSavePanelService[3298]: assertion failed: 14A389: libxpc.dylib + 97940 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x89
11/12/14 12:42:37.879 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/CONM 136 - Study Guide Test 3 (2014).docx
11/12/14 12:42:37.971 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
11/12/14 12:42:38.033 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
11/12/14 12:42:39.712 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
11/12/14 12:42:39.000 PM kernel[0]: Sandbox: Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
11/12/14 12:42:39.748 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
11/12/14 12:42:39.850 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
11/12/14 12:42:39.874 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
11/12/14 12:42:39.945 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
11/12/14 12:42:41.000 PM kernel[0]: Sandbox: storeuid(3051) deny mach-lookup com.apple.dock.server
11/12/14 12:42:48.968 PM WindowServer[132]: WSGetSurfaceInWindow : Invalid surface 702894100 for window 1378
11/12/14 12:42:48.968 PM WindowServer[132]: WSGetSurfaceInWindow : Invalid surface 702894100 for window 1378
11/12/14 12:43:17.000 PM kernel[0]: Sandbox: storeuid(3051) deny mach-lookup com.apple.dock.server
11/12/14 12:43:23.225 PM com.apple.xpc.launchd[1]: (com.apple.quicklook[3316]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
11/12/14 12:43:24.355 PM WindowServer[132]: disable_update_timeout: UI updates were forcibly disabled by application "PrinterProxy" for over 1.00 seconds. Server has re-enabled them.
11/12/14 12:43:24.946 PM WindowServer[132]: common_reenable_update: UI updates were finally reenabled by application "PrinterProxy" after 1.59 seconds (server forcibly re-enabled them after 1.00 seconds)
11/12/14 12:43:34.503 PM mdworker[3319]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
11/12/14 12:43:34.514 PM mdworker[3320]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
11/12/14 12:43:34.604 PM mdworker[3318]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
11/12/14 12:44:38.628 PM sandboxd[246]: ([3051]) storeuid(3051) deny mach-lookup com.apple.dock.server
11/12/14 12:44:41.384 PM locationd[63]: Location icon should now be in state 'Active'
11/12/14 12:44:44.653 PM sandboxd[246]: ([375]) com.apple.metada(375) deny mach-lookup com.apple.cfnetwork.cfnetworkagent
11/12/14 12:44:44.793 PM sandboxd[246]: ([375]) com.apple.metada(375) deny mach-lookup com.apple.cfnetwork.cfnetworkagent
11/12/14 12:44:45.149 PM sandboxd[246]: ([375]) com.apple.metada(375) deny mach-lookup com.apple.cfnetwork.cfnetworkagent
11/12/14 12:44:56.515 PM Console[3327]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
11/12/14 12:44:56.641 PM locationd[63]: Location icon should now be in state 'Inactive'
11/12/14 12:44:56.834 PM sandboxd[246]: ([3051]) storeuid(3051) deny mach-lookup com.apple.dock.server
Not sure what any of this means. -
I have an iPod touch and cannot access gmail. I always get username or password for gmail is incorrect. I am able to access gmail via my Windows laptop just fine. I tried deleting and adding a new account, verified that my network connections are working, bebooted my iPod, and verified that imap is enabled on my laptop. Not sure what else to do. Please help!!!
Try going to this link and see if the instructions there help.
https://www.google.com/accounts/DisplayUnlockCaptcha
B-rock -
I need help deleting and adding text
i need help deleting and adding text, can soneone help
Adobe Photoshop Elements 10You should delete your phone number from the topic line.
Spambots search these forums for contact info.
You don't want to get even more telemarketing/scam calls than you probably already get.
It seems like the "Do Not Call" lists are ignored these days.
Message was edited by: Bo LeBeau Looks like someone already took care of this. -
Where will be the deleted and Added roles will be tracked
HI All,
Need is i must track the Deleted and Added Transactions to the Role and
Deleted and Added Roles to the Composite Roles.
In the table AGR_HIER the records are inserting and deleting when we add change the Roles and Composite roles.
There is no history maintained in that regarding newly inserted items(transaction to the role and Roles to the composite role) and deleted items(transaction to the role and Roles to the composite role).
Please proved the needful help.
Thanks,
Ravi.Hi,
table entries in <b>USR* and UST*</b> tables
Regards -
I can receive mail on my iPad but not send it; tried deleting and adding email account, I can receive mail on my iPad but not send it; tried deleting and adding email account.
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
The iPad's Mail app has no provisions for creating groups. However, you can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
I have deleted and added my hotmail account on the ios device yet it keeps giving me the "Cannot Get Mail" "The connection to the server failed"
Hotmail has been having problems with mobile devices for several days now. It's not a problem with your phone.
-
I read the tips to fix the synch problem with Yahoo Calendar. A step says to make sure the Default Account is set to a Yahoo one. When I deleted and added the Yahoo account according to instructions then went to the Calendar section of Settings on the iPhone there is no Default Account field any longer. I am running iOS 6.1.3 on iPhone 4s. As a result when selecting the Calendar app and tap Calendars there is no Yahoo calendar listed only iCloud and Facebook.
I saw a temporary Yahoo calndear for iOS work-around in another Apple Support Forum post, and it does work:
Re: I sync my iPhone 4S with Yahoo calendar. Since last softeware update (6.1.3) They won't sync. What happened? May 9, 2013 2:40 PM (in response to mus4utoo)
I have found a workaround thats working for me until they get this yahoo calendar thing solved. I logged into my yahoo account on my pc and opened up the calendar. There is a down arrow next to the name of the yahoo calendar you wish to have on you iDevice. Click the down arrow and select share.Go to "sharing and permissions" and your email address and click save. You will then receive an email with two links. Open the email on your iDevice and and hold down on the second link and select copy. This is the link that says add to outlook. Then on your iDevice go to settings-mail-add account-other-add subscribed calendar. Hold down on the server field and tap paste. Then tap next. In the Description box type the name of your calendar and then tap save. Leave all the other fields alone. You can repeat this for all the yahoo calendars you wish to view on your iDevice. Open your iDevice calendar app, tap the calendar tab and your calendar(s) should now appear under Subscribed. This will allow your view your yahoo calendar(s) on your iDevice. Now if you wish to add appointments to your yahoo calendar open safari and go to m.yahoo.com tap the three bars in the upper left corner of the mobile web page and tap sign in. Use your yahoo id and password to sign in. After signing in tap the three bars in the upper left hand corner again and scroll down and tap more. Tap Calendar. At the bottom of the screen tap the box with the arrow in it and select at to home screen. Name it if you like and then tap add. Now every time you want add an appointment to any of your yahoo calendars you can open the link on your home screen. It will remember your log in. If you wish to view all of your calendars, including the yahoo calendars open the native calendar app. This workaround requires the use of two methods one for entry one for viewing, but at least you can access all of your calendars. You can also view your yahoo calendar(s) from the home page link but I dont like the layout on the yahoo mobile page so I just use that for entry. Hope this helps until they figure this one out.
iPhone 4S, iOS 6.1.3 -
Sub-contracting purchase for by-products
Hi
I am doing Sub-Contracting PO for By- Products. I have maintianed in BOM , the by-product material code in "-ive" qty.
Consider Material A - Main Product
Material B - By_Product
Material C - Raw Material
When i do GRN, Material A triggers 101 movement Tpe, Material B triggers 545-0 Moveent Type and Material C triggers 543-0 Movement Type.
But When i check the stock of material, Material B is lying as Vendor Stock.
Kindly let me know whether this transaction and movement type updation is correct.
Else let me know the steps.
I need to Receive Material A and Material B in my Stock.
Thanks & Regards
T.Madhesh KumarHI
Thanks for u r reply. But i need to receive the material A and material B same time during Goods receipt itself. Is there any possibilities that i can receive both the material in Un-restricted stock during goods receipt.
Thanks & Regards
T.Madhesh Kumar -
ME21N - new field added and same value posted to it for all line items
hi all
i have added new field under item level in me21n screen.
data for new filed fetched from tables with values entered in header level material number.
For one record, it is ok
but for multiple records, same value is fetched for all line items
i have written coding in screen exit for 0111
and function exits EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
how to solve
pl help
regards
senthilMODULE STATUS_0111 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
if sy-tcode eq 'ME23N' or sy-tcode eq 'ME23'.
LOOP at SCREEN.
if screen-group1 ne 'PCS'.
screen-input = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDIF.
TYPES : BEGIN OF ty_cabn1,
atnam TYPE cabn-atnam,
end of ty_cabn1.
DATA : itab_cabn1 TYPE STANDARD TABLE OF ty_cabn1 INITIAL SIZE 0,
wa_cabn1 TYPE ty_cabn1.
TYPES : BEGIN OF ty_cawn1,
atinn TYPE cawn-atinn,
atzhl TYPE cawn-atzhl,
atwrt TYPE cawn-atwrt,
end of ty_cawn1.
DATA : itab_cawn1 TYPE STANDARD TABLE OF ty_cawn1 INITIAL SIZE 0,
wa_cawn1 TYPE ty_cawn1.
TYPES : BEGIN OF ty_cawnt1,
pcs TYPE cawnt-atwtb,
atinn TYPE cawnt-atinn,
atzhl TYPE cawnt-atzhl,
atwtb TYPE cawnt-atwtb,
end of ty_cawnt1.
DATA : itab_cawnt1 TYPE TABLE OF ty_cawnt1,
wa_cawnt1 TYPE ty_cawnt1.
TYPES : BEGIN OF ty_pcs1,
pcs TYPE cawnt-atwtb,
atwrt TYPE cawn-atwrt,
atwtb TYPE cawnt-atwtb,
end of ty_pcs1.
DATA : itab_pcs3 TYPE TABLE OF ty_pcs1,
itab_pcs4 TYPE TABLE OF ty_pcs1,
wa_pcs1 TYPE ty_pcs1.
TYPES : BEGIN OF ty_pcsn,
matnr TYPE ausp-objek,
ebelp TYPE dynpread-stepl,
atwrt TYPE cawn-atwrt,
atwtb TYPE cawnt-atwtb,
END OF ty_pcsn.
DATA : itab_pcsn TYPE TABLE OF ty_pcsn,
wa_pcsn TYPE ty_pcsn.
TYPES : BEGIN OF ty_ausp1,
objek TYPE ausp-objek,
atinn TYPE ausp-atinn,
atwrt TYPE ausp-atwrt,
END OF ty_ausp1.
DATA : itab_ausp1 TYPE STANDARD TABLE OF ty_ausp1 INITIAL SIZE 0,
wa_ausp1 TYPE ty_ausp1.
DATA : param_name1(35) TYPE c.
DATA: progname1 TYPE sy-repid,
dynnum1 TYPE sy-dynnr,
dynpro_values1 TYPE TABLE OF dynpread,
dynpro_values2 TYPE TABLE OF dynpread,
field_value1 LIKE LINE OF dynpro_values1,
ematn1 TYPE mara-matnr.
if sy-tcode ne 'ME23N' and sy-tcode ne 'ME23'. "psk
clear : itab_cabn1,itab_cawn1,itab_cawnt1,itab_pcs3,itab_pcs4,itab_pcsn,itab_ausp1.
clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
if sy-uname eq 'IBM_ABAP'.
param_name1 = '000000001'.
else.
param_name1 = '000000013'.
endif.
SELECT atnam
FROM cabn
INTO CORRESPONDING FIELDS OF TABLE itab_cabn1
WHERE atinn = param_name1.
select *
FROM cawn
into CORRESPONDING FIELDS OF TABLE itab_cawn1
WHERE atinn = param_name1.
if itab_cawn1[] is NOT INITIAL.
SELECT atinn atzhl atwtb
FROM cawnt
INTo CORRESPONDING FIELDS OF TABLE itab_cawnt1
FOR ALL ENTRIES IN itab_cawn1
WHERE atinn = itab_cawn1-atinn
AND atzhl = itab_cawn1-atzhl.
endif.
if itab_cawnt1[] is NOT INITIAL.
sort itab_cawnt1 by atinn atzhl.
loop at itab_cawnt1 INTO wa_cawnt1.
READ TABLE itab_cawn1 INTO wa_cawn1 with key atinn = wa_cawnt1-atinn
atzhl = wa_cawnt1-atzhl BINARY SEARCH.
if sy-subrc eq 0.
CONCATENATE wa_cawn-atwrt '->' wa_cawnt-atwtb INTO wa_cawnt-pcs.
MODIFY itab_cawnt FROM wa_cawnt TRANSPORTING pcs.
wa_pcs-pcs = wa_cawnt-pcs.
wa_pcs1-atwrt = wa_cawn1-atwrt.
wa_pcs1-atwtb = wa_cawnt1-atwtb.
append wa_pcs1 to itab_pcs3.
ENDIF.
CLEAR : wa_cawnt1,wa_cawn1, wa_pcs1.
ENDLOOP.
ENDIF.
CLEAR: dynpro_values1, field_value1.
dynpro_values-FIELDNAME = 'MEPO1211-EMATN'.
APPEND dynpro_values.
field_value1-fieldname = 'MEPO1211-ematn'.
APPEND field_value1 TO dynpro_values1.
progname1 = 'SAPLMEGUI'.
dynnum1 = '1211'.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = progname1
DYNUMB = dynnum1
TRANSLATE_TO_UPPER = ' '
REQUEST = 'A'
PERFORM_CONVERSION_EXITS = ' '
PERFORM_INPUT_CONVERSION = ' '
DETERMINE_LOOP_INDEX = ' '
START_SEARCH_IN_CURRENT_SCREEN = ' '
START_SEARCH_IN_MAIN_SCREEN = ' '
START_SEARCH_IN_STACKED_SCREEN = ' '
START_SEARCH_ON_SCR_STACKPOS = ' '
SEARCH_OWN_SUBSCREENS_FIRST = ' '
SEARCHPATH_OF_SUBSCREEN_AREAS = ' '
TABLES
DYNPFIELDS = dynpro_values1
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE dynpro_values1 INTO field_value1 with KEY fieldname = 'MEPO1211-EMATN'.
LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
clear ematn1.
if sy-subrc eq 0.
ematn1 = field_value1-fieldvalue.
endif.
if ematn1 is not INITIAL.
clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = ematn1
IMPORTING
OUTPUT = ematn1.
select *
FROM ausp
INTO CORRESPONDING FIELDS OF TABLE itab_ausp1
WHERE objek = ematn1
and atinn = param_name1.
CLEAR itab_pcs4.
if itab_ausp1[] is not INITIAL.
sort itab_ausp1 by atinn atwrt.
sort itab_cawn1 by atinn.
READ TABLE itab_ausp1 INTO wa_ausp1 INDEX 1.
loop at itab_cawn1 INTO wa_cawn1 WHERE atinn = wa_ausp1-atinn AND atwrt = wa_ausp1-atwrt.
READ TABLE itab_cawnt1 INTO wa_cawnt1 WITH KEY atinn = wa_cawn1-atinn
atzhl = wa_cawn1-atzhl.
if sy-subrc eq 0.
wa_pcs1-atwrt = wa_cawn1-atwrt.
wa_pcs1-atwtb = wa_cawnt1-atwtb.
append wa_pcs1 to itab_pcs4.
wa_pcsn-matnr = wa_ausp1-objek.
wa_pcsn-ebelp = field_value1-stepl.
wa_pcsn-atwrt = wa_cawn1-atwrt.
wa_pcsn-atwtb = wa_cawnt1-atwtb.
APPEND wa_pcsn to itab_pcsn.
ENDIF.
clear : wa_ausp1,wa_cawn1,wa_cawnt1.
ENDLOOP.
ENDIF.
clear wa_pcs1.
read TABLE itab_pcs4 into wa_pcs1 index 1.
if sy-subrc eq 0.
EKPO_CI-ZPCS = wa_pcs1-atwrt.
endif.
ENDIF.
ENDLOOP.
CLEAR: field_value1.
LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
clear wa_pcsn.
if field_value1-fieldvalue is not INITIAL.
read TABLE itab_pcsn INTO wa_pcsn with key matnr = field_value1-fieldvalue
ebelp = field_value1-stepl.
if sy-subrc eq 0.
clear EKPO_CI-ZPCS.
*EKPO_CI-ZPCS = wa_pcs1-atwrt.
EKPO_CI-ZPCS = wa_pcsn-atwrt.
endif.
endif.
ENDLOOP.
CLEAR: field_value1, dynpro_values1.
progname1 = 'SAPLXM06'.
dynnum1 = '0111'.
field_value1-fieldname = 'EKPO_CI-ZPCS'.
APPEND field_value1 TO dynpro_values1.
if ematn1 is not INITIAL.
clear wa_pcs1.
read TABLE itab_pcs4 into wa_pcs1 index 1.
if sy-subrc eq 0.
EKPO_CI-ZPCS = wa_pcs1-atwrt.
endif.
ENDIF.
endif.
ENDMODULE. " STATUS_0111 OUTPUT
Function exits:
^^^^^^^^^^^^^^^^^
EXIT_SAPMM06E_016
^^^^^^^^^^^^^^^^^
INCLUDE ZXM06U41 .
DATA XFISTL LIKE EKPO-FISTL.
TABLES: ADRC, T001W.
DATA: PLANT LIKE T001W-WERKS.
SELECT SINGLE * FROM T001W WHERE WERKS = I_EKPO-WERKS.
SELECT SINGLE * FROM ADRC WHERE ADDRNUMBER = T001W-ADRNR.
XFISTL = ADRC-SORT2.
SET PARAMETER ID 'FIS' FIELD XFISTL.
* Added For PCS 12.11.2010
DATA : fs_ekpo type EKPO_CI.
if sy-tcode = 'ME22N' or sy-tcode = 'ME23N'.
* if tekpo-zpcs is INITIAL.
* message e000(zmm) with 'PCS Type should be chosen'.
* endif.
loop at tekpo.
if ( tekpo-ebeln eq i_ekpo-ebeln and tekpo-ebelp eq i_ekpo-ebelp ).
ekpo_ci-zpcs = tekpo-zpcs.
endif.
ENDLOOP.
endif.
^^^^^^^^^^^^^^^^^
EXIT_SAPMM06E_018
^^^^^^^^^^^^^^^^^
INCLUDE ZXM06U40 .
E_CI_EKPO-ZPCS = EKPO_CI-ZPCS.
E_CI_UPDATE = 'X'. -
How can i delete and purchase a app again? (really pay for it)
See topic How can i delete and purchase a app again? (really pay for it)
i want to rate an app which i downloaded via promo code - here it is not possible to rate. so i would like to pay for it, so that i can rate it.
strange regulation..
regardsDo you have the AppStore Pages or the one from a iwork CD?
Which version of MacOs system do you have?
Which version of Pages 09?
Can you describe what you did and what the computer did when you tried to open Pages?
Maybe you are looking for
-
Please help me: Failed 8310 OS update to OS 4.5 via Desktop Manager
Hello BB Community, As of this morning, I can't use my Blackberry curve 8310......for anything. My problems started just as I was about to do a routine USB cable sync between my BB and Outlook. I was informed by Desktop Manager v 4.7 that OS 4.5 is a
-
Downloading Patches using Application Manager
Hi, I am currently preparing for oracle apps dba exam and doing self studdy fot his. I have installed oracle apps on my personal computer on linux which is directly connected to internet with a home internet connection.(without any proxy). I submitte
-
Possible to recover .band file??
Hi, I have deleted one external hard disc by mistake – including the project file of the best song I ever have composed. I could recover a lot of single files wizh "data rescueII", also a lot of single aiff audio files. Some of them include recording
-
Change SQL 2005 collation after installation
We're trying to install an Enterprise Portal (2004s) on SQL Server 2005. The instance of SQL Server has been installed with collation SQL_LATIN1_GENERAL_CP850_BIN instead of the required BIN2 variant. Is there any way to install the latter collation
-
Reading Qfield for infotype 208
Hi Experts.. i need to read the Qfield for infotype 0208 ... please suggest how to do this.. Thanks & Regards Ashu SIngh