How to get serial number in bapi BAPI_GOODSMVT_CREATE
hi everyone
im using the bapi BAPI_GOODSMVT_CREATE to create goods receipt for a PO but its giving me an error 'Maintain serial numbers for total quantity' and I really dont know how to get the serial number data, i know the table GOODSMVT_SERIALNUMBER should be populated with the serial number data but i dont know where to get the data
can anybody help me plz?
Hi,
Please check the following code
DATA: lw_header TYPE bapi2017_gm_head_01,
lw_headret TYPE bapi2017_gm_head_ret,
lw_goodsmvt_item TYPE tw_goodsmvt_item,
lt_goodsmvt_item TYPE tt_goodsmvt_item,
lw_return TYPE tw_return,
lt_return TYPE tt_return,
lt_zprefg TYPE tt_zprefg,
lw_zprefg TYPE tw_zprefg,
lw_errorlog TYPE tw_errorlog,
lt_zprefg_temp TYPE tt_zprefg,
lw_afs_goodsmvt_sku TYPE /afs/bapi_gm_sku,
lt_afs_goodsmvt_sku TYPE STANDARD TABLE OF /afs/bapi_gm_sku.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = lw_header
goodsmvt_code = '04'
TESTRUN = ' '
IMPORTING
goodsmvt_headret = lw_headret
MATERIALDOCUMENT =
MATDOCUMENTYEAR =
TABLES
goodsmvt_item = lt_goodsmvt_item
GOODSMVT_SERIALNUMBER =
return = lt_return
afs_goodsmvt_sku = lt_afs_goodsmvt_sku.
IF sy-subrc EQ 0.
COMMIT WORK AND WAIT.
ENDIF.
LOOP AT lt_return INTO lw_return.
IF lw_return-type EQ co_msgtyp_e OR
lw_return-type EQ co_msgtyp_a.
lw_errorlog-msgtype = lw_return-type.
lw_errorlog-msgid = lw_return-id.
lw_errorlog-msgno = lw_return-number.
lw_errorlog-message = lw_return-message.
APPEND lw_errorlog TO gt_errorlog.
ELSE.
UPDATE zprefg FROM TABLE lt_zprefg_temp.
ENDIF.
ENDLOOP.
Pls mark points if helpful
Line Turbin
Similar Messages
-
How to get serial number education version
how to get serial number would they send to us by email ? since i did not create an account when i submited my application
Find a serial number
http://helpx.adobe.com/x-productkb/global/find-serial-number.html -
Need to know how to get serial number to ipod that i only have receipt on
Need to know how to get serial number to ipod that i only have a receipt on
How to find the serial number of your Apple hardware product
-
I purchased a copy of lr 4 student version and lodged the case form to get a serial number.
They said an adobe staff member would get back to me in a few days (read bot?)
How many of you have gone through this process and how long until I should start to worry.
I imagine they would just send an email. I provided 3 forms of student id online.
Help! Thanks.Lightroom 4.4 will be fine with me, as I am only an amateur photographer and don't need any more functions. I can always subscribe online to a plan if I want. I bought it a huge sale they had where everything in the store was 1/2 price.
Unfortunately I had just bought a new Dyson vacuum cleaner so I didn't go into that area in case it was on sale
Thanks everyone, for your help. Now to save for those new lenses!! -
Support Contract wref to sales order-how to get serial number
Hi Experts,
Below is the scenario
Step 1:I sell product[supplied by thirdparty] in sales order 123456
Material number Description Qty
material-0001 Printer 2
Step 2:While purchase it from 3rd party it will be having serial number which can be entered manually while doing goods receipt. Eg:
Material number Description Qty Serial number
Material-001 Printer 1 PS-10001
Material-001 Printer 1 PS-10002
Step 3: Now I create a support contract with reference to the sales order 123456 for the sold printers.Here I need to capture the serial numbers of both printers, so that when customer complaints, the item can be identified.
How can we achieve this in the contract?
Waiting for a quick reply
Thanks
BanuHi Banu,
1. Create a Contract with Service product.
a. Create a Service material in MM01, with material type DIEN
b. Create a General Task list master (Tcode - IA05).
c. Attach this Task list with the Service material using OISD Tcode (set the reference object Equipment - if your equipment and serial number are same) -->(Service Product)
2.Attach the Technical objects (Equipment Number or Material number + Serial Number) to the line item service product.Maintain the contract data like price, start and end date.
3. Create a Sales order VA01, with reference to the Contract document
a. Configure this sales document type, material type to determine the Item category TAD
b. Let this Item category has the Requirement type SERA (maintain Service order type in requirement class(230 as default)
4. System will ask you the equipment number to create a Service order.
5. Enter the Equipment number,
System will ask you to select the Operations from the task list that has been attached with the Service product in step 1.c
6. Save the sales order and open in Change mode.
7. In Scheduled lines tab, you can find a "Service order button". Click on the button, will show the service order for the given Equipment number in display mode.
You can edit the Service order IW32, and confirm the operations and issue materials to capture the actual cost and settle to the Sales order.
Hope this would help.
Regards,
Babu.K -
How to get Serial Number value which is under T-CODE IW33
Hi Experts,
During my developing, I dont know how to catch the Serial Number value (SERNR) which is under T-CODE IW33, Please help me? Thnks a bunch~
QuentinThank u two for ur so quickly replies,
After my check from frontend, i found the field AFPO-SERNR is not the one i said, because the length is diffirent and frontend has value but AFPO-SERNR has no value
Gautham,
I found the value serial number in EQUI is my need, but i dont know equipment number, what i know is only Repair Service Order Number, do u have any further advice?
Thanks~
Quen -
How to get Serial Number Registered to Re-install "iWork" ???
I cleaned installed Mountain Lion & I tried to re-install "iWork" that I already registered online with Apple. I do not have the box anymore as I left it in another province, so is there any way that I could get my serial number that I have already registered in my apple account ?
You only need a serial number for iWork if you purchased a license from within the trial. If that was less than 18 months ago, you will find the serial number in your account in the online Apple Store. If it has been more than 18 months, you will either need to find the e-mail you received with the serial number or call the Apple Store at the number at the bottom of this web page.
If it was installed from a retail disk, you need that disk or an image of it to reinstall. Again, the online Apple Store might be able to help.
Last, but not least, you could purchase the needed apps from the Mac App Store. -
How to get serial number registered to APPLE
Hello!
There is a way to see the software I registered with apple (using my apple ID)
I want to upgrade to FC Studio latest version (I have Final cut pro 5) but I can't find my serial number card. I know I registered the software when we bought it.
I have all the original Manuals.
Benbut I can't find my serial number card
I don't think the serial number was on a card. In most markets it is/was on two stickers affixed to the front of the booklet titled "Installing Your Software" that was packaged with the software.
-DH -
How to get serial number of prepaid membership card
I BOUGHT A 12- MONTH PREPAID MEMBERSHIP TWO DAYS AGO, BUT I CAN'T GET MY SERIAL NUMBER
Cloud programs do not use serial numbers... where did you buy, and do you have a redemption code?
Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html -
HT4061 I'm stolen my iPhone 4 how I will get serial number
Please help me to get serial number of my iPhone 4
This should also apply to iPhones.
If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
How to Find Your iPad Serial Number
http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
Cheers, Tom
You posted in the iPad forum instead of the iPhone forum. I'll request that Apple move your post. -
How can i get serial number on my photoshop from creative cloud
how can I get serial number on my photoshop from creative cloud
Creative Cloud applications aren’t licensed with a serial number, they are licensed by logging into CC.
-
My phone is lost or stolen, how can I get serial number
my wife's iphone is lost or stolen. How do i get serial number to report to police. It is an 4S. Thanks,
The following gives a variety of methods Find the serial number and other information for your iPhone, iPad, and iPod touch - Apple Support
-
How do i get serial number for my element12 i have the redemption code
how do i get serial number for my element12 i have the redemption code
Hi ylee0y0te,
Please follow the steps here.
1. http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
2.http://helpx.adobe.com/x-productkb/global/find-serial-number-student-teacher.html
3.http://helpx.adobe.com/x-productkb/global/find-serial-number.html
Hope it helps you.
Regards,
Rajshree -
How do i get serial number of iphone 3g from itunes
how do i get serial number of iphone 3g from itunes- i am unable to retrieve it from any other source
Finding serial number for a device - https://discussions.apple.com/message/18246553 - from box or backup file, not from Apple.
http://support.apple.com/kb/HT2526 - You can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
My Support Profile - https://supportprofile.apple.com/MySupportProfile.do -
How do I unlock my iPad? Unable to get serial number since I can't open iPad to get serial number to get help fixing problem.
What do you need the serial number for to unlock the iPad? If the iPad is locked because you forgot the Passcode, you have to restore the device.
What are you trying to unlock?
Your serial number is written on the back of the iPad and on the box that the iPad came in.
Maybe you are looking for
-
Security error accessing ur unable to load wsdl
HI I am using a webservice(.net webservice) that is on my localhost and using it in flex application that is also on my system. Means both the webservice and flex application are on the same system. But when i gives the reference of the webservice us
-
Call a transaction in a new session within a program
Hi Friends, I have a requierment to call a custom Z Tcode within a module pool program. When I click on a particular pushbutton the custom transaction should get called in such a way that user should be able to be in the called transaction as well as
-
Firefox will not open ANY site. Wont work AT ALL. Nothing seems to be working.
Firefox will not open ANY site. It worked last night, but not today. I uninstalled it many times, didn't worked. It displays the screen that says "unable to connect" yet chrome and explorer both work. I have disconnected and reconnected a few times,
-
How do I get more memory for my Macbook Pro spring 2010 13-inch with 2.66GHz Intel Core 2 Duo. Apple says no memory currently available for that model. I have 4 GB memory and 3.99 used. Help!
-
How to turn an old laptop into a jukebox
hi all! because this is my first post, i just want to say that i really like the arch community. didn't need to post anything until now, but since i switched to arch (2-3 years ago), this forum & wiki always helped me. so thanks! ok - i want to turn